on 12-13-2017 11:56 AM
Hello,
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?
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.
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.