Problem solve Get help with specific problems with your technologies, process and projects.

BAPIs in xApps; RFCs

A reader wonders whether BAPIs are a good fit for composite applications and how RFCs differ from other functional modules. Expert Andre Truong answers.

Can we use BAPIs in xApps? How are RFCs different from normal functional modules?
Sure you can use BAPIs in composite applications. And as a matter of fact you should use them as much as possible. Whether you can use the existing ones or you have to develop wrapper functions to them or create brand new ones, do it. And the beauty of BAPIs is that they can also be consumed via the Web service protocol in case the external program or system cannot communicate via RFC. No additional development effort is required to make a Web service enable the BAPI. SAP provides as of 4.7 or Basis 6.30 a generic Web service interface to all BAPIs or RFC enabled function modules.

RFCs are just function modules with the attribute "Remote function enabled." A function module without such attributes could not be consumed by external programs or systems using the RFC protocols. It would only be available within the system where it exists.

Dig Deeper on SAP APIs

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.