Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

Many of you are aware that SAP PI/PO REST Adapter is out in the market for quite sometime, but so many unanswered questions for those who are very new to the SAP Technology or REST/UI5 architecture, the take away from this blog would be

Purpose of REST Adapter.

How to configure REST Sender Adapter in SAP PI/PO (7.31 SP14 / 7.4 SP09)

How to consume the ECC ABAP Web service Proxy and read oData services which are build in ECC.

What are the testing Tools available in the market to test the REST/oData Services.

The reason small SAP customers prefer REST is because if they want to upgrade their old front end applications (Java/.net/Web dynpro Java) with UI5, fast rendering and easy designing front end tool then they can this route configuring the REST Sender Adapter on SAP PI/PO since UI5 reads JSON, rest can convert from JSON to XML and back to JSON and can consume the web proxy in ECC through SOAP adapter.

Application --> REST Adaptor (PI/PO)--> SOAP adapter --> SAP ECC Web Proxy.

SAP recommendation is to use oData and REST because SAP did not released oData Sender Adapter yet. But as said above, some of the small customers don't want to spend time/money to convert existing ECC web services to oData services but still they want to use UI5 to consume ECC Proxies, in that scenario this is the best approach and robust and salable because once they have the budget approved in near future, they can easily unplug web services and plug in oData services.


Here are steps to consume the web services. iflow connector/ NWDS is not required to configure and use REST adapter.


Step1:


All the logic resides on SAP PI/PO ESR objects, focus on that mapping and service interface, it can be achieved easily.


Go to DataType --> download .xsd files for req/res. Create the External Definition req/res with that .xsd files.

Create the MM for same req/res for external definition, and have 1:1 mapping drag from the target to source.

Create OM use MM req for Mapping Program. Save and activate. Please note we are not touching/changing any existing OM/MM/SI.


Here comes the actual REST Sender Adapter configuration in SAP PI/PO ID object.

screen shots 4 and 5 are very important because of the end point URL and custom pattern, they are used to call your service During Testing.


You can download the REST client add on to Firefox and test/ Google Postman/ with any SOAPUI REST



Good Luck....

questions/comments/likes are more welcome  :smile:








3 Comments
Labels in this area