2016 Aug 11 7:07 AM
Hi all,
Is there any Remote function module available to pass data from R/3 system to external system via web services? or is please suggest how to so.
Thanks in advance.
Regards,
Muthu
2016 Aug 12 5:53 PM
Hi muthukumaran subramanian.
You can pass data from R/3 to external system using web services.
First of all, you have to create a Function Module, in the properties tab, mark the "Remote-Enabled Module" option.
Then, complete the code that you need to pass the data to the external system. For example, if you want to pass a internal table to the external system, you have to create the parameter in the "Tables Tab".
When you finish your source code, go to Utilities(M) > More Utilities - Create Web Service > From the Function Module.
Complete the Wizard, it will create a Enterprise Service. Save and activate it. You could see the WSDL in the respective tab.
At the end, you have to create the proxy client in the SOAMANAGER tcode.
Regards,
Luis Esteban
2016 Aug 11 7:24 AM
2016 Aug 11 7:34 AM
Hi Williams,
Thanks for the reply.
I need to pass a message from R/3 system to external system by web services.
Regards,
Muthu
2016 Aug 11 7:47 AM
Hi Muthu,
As i know, you need PI.
1, create a RFC destination(TCP/IP) to PI in ECC.
2, importing the RFC in PI.
3, maintain the sender(ECC) and receiver(external system), mapping etc..
BRs,
Archer.
2016 Aug 11 8:16 AM
As Archer said you need to create RFC and if PI is configured in the system then it can be achived through PI
2016 Aug 11 2:26 PM
Archer,
Thanks for your reply.
I am looking for a code snippet.
Regards,
Muthu
2016 Aug 12 4:12 AM
Hi Muthu,
You absolutely do not need code snippet. In that RFC, source code should be blank! You only need maintain the 'IMPORT' and 'TABLE' parameters correct. Then in your report or something else, call this RFC, to send data out to PI.
BRs,
Archer
2016 Aug 11 2:34 PM
If the external system is within your business domain you can call the webservice from ABAP by creating a client with wsdl from the web service. Is that not an option for you ?
2016 Aug 12 5:53 PM
Hi muthukumaran subramanian.
You can pass data from R/3 to external system using web services.
First of all, you have to create a Function Module, in the properties tab, mark the "Remote-Enabled Module" option.
Then, complete the code that you need to pass the data to the external system. For example, if you want to pass a internal table to the external system, you have to create the parameter in the "Tables Tab".
When you finish your source code, go to Utilities(M) > More Utilities - Create Web Service > From the Function Module.
Complete the Wizard, it will create a Enterprise Service. Save and activate it. You could see the WSDL in the respective tab.
At the end, you have to create the proxy client in the SOAMANAGER tcode.
Regards,
Luis Esteban
2016 Aug 15 9:28 AM
2016 Aug 16 4:27 PM