Skip to Content

Create an Output Type to call APIs

Dec 13, 2017 at 11:56 AM


avatar image


We have REST APIs that we want to be called each time a sales order and delivery is created or saved. One of the option we were interested in was to automate this with output types instead of writing multiple user exits.

Question is can an output type call a REST API?

10 |10000 characters needed characters left characters exceeded

Please search before posting. Patrick already provided an answer but there is no reason you couldn't have just found it on your own simply by checking what options exist in the output configuration.

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Patrick Weber Dec 13, 2017 at 01:36 PM

Hi Pise,

You could use transmission medium "8 - Special Function" for your output and and point it to code that will call your REST API using the standard SAP HTTP classes. Another possibility (if you want better traceability and visibility into the data that is sent) would be to generate an IDoc that you send to an ABAP port where you can again call the REST API. If you go for the latter and have a PI system, you might be better off sending the IDoc to PI and have PI deal with the REST API.



Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you. I will try these options out.