cancel
Showing results for 
Search instead for 
Did you mean: 

Send Odata response to an external server endpoint ( RFC Destination)

former_member420959
Participant
0 Kudos

Hello All,

Is there any way we can send the GET response of a odata service in SAP system to an external server endpoint. ( using REST or SOAP ). I have a service which take purchase order number an gives purchase order details. The GET response ( in JSON or XML ...Preffered Json ) should be sent to an external server as it is. This response will then be sent to underlying system for processing .

Thanks in advance

Ujwal

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

If one of the answers you have received has solved your problem please press Accept and upvote those that were helpful.

Accepted Solutions (0)

Answers (2)

Answers (2)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

Check out the following blog:

https://blogs.sap.com/2016/03/16/consume-odata-service-in-abap-clhttpclient-createbydestination/

which explains how to perform a http GET request programmatically.

You then have to take this response and send it programmatically to your REST or SOAP endpoint.

Regards,

Andre

gregorw
Active Contributor
0 Kudos

Do I understand you right that the SAP system should call the other system? Have you thought about what happens when this system isn't reachable? Maybe you check out Configurations on the SAP Backend System for Pull Oriented Scenarios or also the Push scenario as one possible approach.