Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Send XML data using SM59 HTTP connection

dhanudjro
Participant
0 Likes
944

Hi Experts,

Can we send internal table data converted to XML and send to other systems using HTTP RFC connections in SM59.

We just have a url with HTTPS:// to send the data. No Odata, NO PI/XI. Can you share sample code/program if you have came across such requirement and specify the steps.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
762

There is a hundred of questions and answers in the forum.

To convert an internal table to XML, the most simple way is to use CALL TRANSFORMATION ID ...

To send an HTTP request via a HTTP destination, use CL_HTTP_CLIENT=>CREATE_BY_DESTINATION.

Search the Web to get snippets.