Application Development 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: 

Classes for RESTful Webservices without connectors

siva_subramanian2
Participant
0 Kudos

Hi Experts,

We are trying to integrate SAP with a 3rd party system. They are only capable of handling REST webservices and that too without any connectors or middleware in between. For example the scenario would like below

Creation/Change of material via MM01/MM02 the webservices would trigger and the data has to be sent to 3rd party system as XML.

I have the below questions:

1) How can i trigger the rest webservice automatically when we change/create any material in SAP.

2) Do we have any class similar to CL_TREX_JSON_SERIALIZER which is used to deal with JSON and SAP?

Awaiting your response.

Thanks,

Siva.A

1 ACCEPTED SOLUTION

siva_subramanian2
Participant
0 Kudos

Hello Experts,

We could not find any and we managed to do it using the interface if_http_client and methods Set_method,Set_cdata,Get_cdata and with Method IF_HTTP_EXTENSION~HANDLE_REQUEST.

Thanks for your support,

Siva.A

1 REPLY 1

siva_subramanian2
Participant
0 Kudos

Hello Experts,

We could not find any and we managed to do it using the interface if_http_client and methods Set_method,Set_cdata,Get_cdata and with Method IF_HTTP_EXTENSION~HANDLE_REQUEST.

Thanks for your support,

Siva.A