

Note: There are multiple operations under this folder. Right-click on GetEntitySet(Query) and choose Map to Data source. So far we have created schema/structure for the service in the above steps, now we are going to specify the data source for the web service.ġ. In fact, this column is used when you perform a read operation on a single row of the resultant table and click Finish, as shown in the below image In our example, there is no key but we can select any column to be treated as a key column. On the next screen you have to specify a key column as in OData service created by net weaver gateway. On the next screen select all and click nextĥ. The Entity Type Name could be anything, whereas the Type must be Remote Functional Call (we are using RFC based) and Name is the name of the BAPI, and click next.Ĥ. Click on the Data Model folder under the newly created project and choose RFC/BOR interface inside the Import Menu as shown below.ģ. We will import the structure of our data model from the bapi as this will be used for data display How to Develop OData REST API - SAP ERPĢ. How to define Structure / Data Model for your web serviceġ. The next step is to define the Structure/ Data Model for your web service.

DEVK938428 click on the continue button to proceed further as given below Enter a description and click on the save button a new number will be generated automatically and note that number for future transport purposesĨ. This will as for the transport request number, click on create new button as shown belowħ. CLICK ON SAVE How to Develop OData REST API - SAP ERPĦ. Provide the following properties for the projectĬlick Continue, green tick button. Steps to create O data service in SAP ECCĤ.

Whereas a frequent application is the connection of the REST interface. The passed parameters can change the stated of the object in REST access. However, REST transfers pure easily readable data by humans in XML or JSON it can quickly call from other platforms faster, thus saving resources.Īn object is accessed via REST but it is not is a method.

They both are function call via HTTP protocol. REST has additional functionality as compared to SOAP, although they have similar technology. It's been a few years since the SAP Gateway was enabled to provide RFC interfaces and ABAP functions in REST API. In this blog, our focus will be that how we can pass data from SAP to non-SAP Systems. Using REST API you can pass SAP Data to Non SAP Systems as well Push non-SAP Systems data to SAP as well. It provides you seamless connectivity and it’s a low-cost solution, which is why preferred by the majority of SAP users. The most popular way to establish SAP Connectivity with Non SAP System is via OData REST API.
