How do we adapt the PATCH method in SAP PO - SAP Community
Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
DenizZilyas
Participant

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.

1.png

 

2- We use our link in the Target URL section in the REST URL tab.

DenizZilyas_0-1715597364975.png

 

3- We should select POST as the Static Value for our Rest Operation.

DenizZilyas_1-1715597403696.png

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

DenizZilyas_2-1715597466085.png

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.

 

Labels in this area