HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
Step by-step guide to build an o data service based on rfcs – part 1 - sap blogs
1. 3/13/2017 Stepbystep guide to build an OData Service based on RFCs – Part 1 | SAP Blogs
https://blogs.sap.com/2012/10/26/stepbystepguidetobuildanodataservicebasedonrfcspart1/ 1/23
Community / Blogs
Get Started
Solutions Support Training Community Developer Partner
About
Volker Drees
more by this author
Follow
Stepbystep guide to build an
OData Service based on RFCs –
Part 1
October 26, 2012 | 29,670 Views |
Retagging required
Mobile | SAP Gateway | gateway | Mobile | netweaver gateway | odata | sap netweaver
gateway | service builder | volker drees
share
0 share
0 tweet
share
4
Hello fellow OData Service developers out there.
When it comes to OData Service development with SAP NetWeaver
Gateway a very typical use case is to build a service that is based on an
RFC module (or a set of RFC modules) – e.g. for a List / Detail
application. For such a scenario there are dozens of RFC modules
2. 3/13/2017 Stepbystep guide to build an OData Service based on RFCs – Part 1 | SAP Blogs
https://blogs.sap.com/2012/10/26/stepbystepguidetobuildanodataservicebasedonrfcspart1/ 2/23
(BAPIs) available in the SAP standard that can be used. And of course
you can also build and consume your own (Z)RFC modules if the
existing modules don’t satisfy your needs…
For additional information regarding the Service Builder please also see
Thomas Meigens Blog: The new SAP NetWeaver Gateway Service
Builder: Build new OData Services in 3 Quick Steps
In this Stepbystep Guide we will build an OData Service that
consumes two RFC modules from the EPM (Enterprise Procurement
Model) demo content. From this EPM demo content we pick two BAPIs
that retrieve the list and detail of Sales Orders / Line Items. The data
model is pretty simple. We have one entity for the Sales Order header
data, and one entity for the Sales Order Line Item.
The two BAPIs that we will use in our service are:
BAPI_EPM_SO_GET_LIST and BAPI_EPM_SO_GET_DETAIL
This guide is based on SAP NetWeaver Gateway 2.0 SP5. We will be
mainly using the SAP NetWeaver Gateway Service Builder for the
service creation. The Service Builder allows us to build our service
without writing a single line of code (although you still can do coding – if
you want…).
In this first part (1) we will build a Meta Model of the service. In the
second part (2) we will perform the service implementation.
So let’s get started.
1. Create a new project ZGW100_XX_SO (SO stands for Sales Order).
XX is just a placeholder for a group number and GW100 indicates the
course number – as the screen shots were taken from the GW100
training course material that I have created.