cancel
Showing results for 
Search instead for 
Did you mean: 

can we do RFC to Web service Asynchronous scenario in PI

Bhargavakrishna
Active Contributor
0 Kudos

Hi Experts,

We have a requirement where we need to send the data through RFC's and the receiver is the Web service.

it should be asynchronous Scenario from RFC to SOAP?

How to proceed and let me know what are the prerequisites for this scenario?

What is the ABAP role in this scenario. i mean do we need to write any reports in ABAP?

Accepted Solutions (0)

Answers (5)

Answers (5)

Bhargavakrishna
Active Contributor
0 Kudos

Thank you all for your valuable inputs.. it helps a lot.

smavachee
Active Contributor
0 Kudos

Simple steps to remember..

> Create RFC Destination in ECC of type TCP/IP with Program ID.

> Develop RFC in ECC with required parameters

> Import RFC into ESR

> Get the Target WSDL with External Defination

> Complete the Message & Interface Mapping

> Compelte the ID with RFC Sender and SOAP Receiver Adapter with required details

> Execute RFC with SE37 from ECC

*. It really doesn't matter whether it's synch or asynch scenario, above steps are going to be the same with minor changes into Message Interface and respective mappings.

Hope it helps.!

Regards,

Sunil

gagandeep_batra
Active Contributor
0 Kudos

Hi Bhargava,

Plz check the below link that may help you to create the RF

C to webservice scenario.

http://saptechnical.com/Tutorials/XI/RFCtoSOAP/page1.htm

Regards

Gagan

iaki_vila
Active Contributor
0 Kudos

Hi Bhargava,

it should be asynchronous Scenario from RFC to SOAP?

It depends if the webservice has a response  and you want to map this response to the ECC system, in that case you should use a synchronous scenario.

How to proceed and let me know what are the prerequisites for this scenario?

You need to develop you service interfaces (message interfaces) like asynchrounous interfaces. For better understanding of RFC-SOAP scenario ceck this  Shabarish Vijayakumar's wiki http://wiki.sdn.sap.com/wiki/display/XI/RFC+to+SOAP

What is the ABAP role in this scenario. i mean do we need to write any reports in ABAP?

If the connection begins inside ABAP system, it is obvius that you need to develop in that system. You can have a report, module pool and so on that will throw the RFC in this scenario.

Regards.

udo_martens
Active Contributor
0 Kudos

Hi,

an asynchronous approach is the best.

You nearly need no ABAP code. Just call the FM like

CALL FUNCTION Z_MYRFC

DESTINATION MYDEST

IN BACKGROUND TASK

Finish with COMMIT WORK.

Thats all.

Regards,

Udo