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

走远了吗. 提交于 2019-12-11 19:39:02

问题


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.


回答1:


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).




回答2:


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.



来源:https://stackoverflow.com/questions/11461008/how-to-enable-a-sap-fm-or-bapi-for-xml-rpc-or-soap-access

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!