Hello everyone,
I will explain how to adapt a REST service called with the PATCH method for use in SAP PO.
In an integration scenario triggered from SAP, if we have a REST link on the receiver side and this link is called with the PATCH method in Postman, we can easily adapt it in PO. This is because not all methods may be available in every PO system. If the PATCH method is not available in your PO system, you can follow the steps below.
1- When configuring, first, we create a Rest receiver adapter.
If there is no authorization in our Rest link, we do not select Basic Authentication. However, if our service authenticates with a username and password, we must specify it in this section.
2- We use our link in the Target URL section in the REST URL tab.
3- We should select POST as the Static Value for our Rest Operation.
To send a service from SAP using the PATCH method through the adapter, we need to add two module configurations in the Module section of the adapter.
4- Module Configuration:
overrideHttpMethod - PATCH
useSAPHttpLibrary - apache
After adding these modules, we can complete the Integrated Configuration steps of the service and trigger it from SAP.
We can easily adapt a REST service triggered as PATCH in Postman to be used in the adapter with the POST method in SAP PO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |