How to enable a SAP FM or BAPI for XML-RPC or SOAP

2019-09-13 04:55发布

I just created a Function Module, made it Remote-Enabled, and now I want to invoke it via XML-RPC over HTTP. I'm on SAP NetWeaver App Server ABAP v7. What other configuration is required in order to expose my FM over XML-RPC? How do I configure the end-point URL and all that?

Many thanks.

2条回答
放荡不羁爱自由
2楼-- · 2019-09-13 05:08

There are several explanations on the subject in on SDN, as here and here which describe the generation of a webservice from a function module, and here, which describe the basic webservice configuration (ie SICF).

查看更多
够拽才男人
3楼-- · 2019-09-13 05:29

What concerns XML-RPC

No, this is not possible to directly call SAP FM in XML-RPC style. You have two workarounds:

  1. Use SAP SOAP adapter for calling SOAP-enabled FMs
  2. Make a SOAP wrapper for your XML-RPC call in whatever programming environment you have. It is rather simple

What concerns SOAP

It is natively supported, there are plenty of manuals how to do it.

查看更多
登录 后发表回答