Dular SharmaDular SharmaDular Sharma
(Monday - Saturday)
sharmadular7392@gmail.com
Himatnagar
Dular SharmaDular SharmaDular Sharma

SAP OData

12. RFC – Using OData.

5 ViewsIn this blog we will fetch data using RFC. Create RFC using transaction code SE37. ZTEST_RFC_ODATA. Tables. Source Code. Select RFC in attribute. After creating RFC go to Transaction code SEGW. Create Project. There will be four folders like displayed below. Click on Data Model . Import -> RFC/BOR Interface. Give Entity name and […]
Read more

11.DDIC – Delete Record.

3 ViewsPut cursor on DELETE_ENTITY method and press redefine method. You will able to see below screen. Write Below code for delete. Save and activate class. Go execute transaction code /IWFND/MAINT_SERVICE ,find technical service name ,Activate using ICF nodes and click on SAP Gateway Client. Click on EntitySet and pass url (/sap/opu/odata/sap/ZTEST_ODATA2_SRV/EmployeeSet(EmpId=’00000001′).
Read more

10.DDIC – Update Record.

4 ViewsPut cursor on UPDATE_ENTITY and click on redefine method. Below screen will appear. Write below code. Save and Activate Method. Now execute transaction code /IWFND/MAINT_SERVICE find service. Activate ICF node again and click on SAP Gateway Client. Below screen will appear. Click on EntitySets. Get Entity ,Which you need to UPDATE (/sap/opu/odata/sap/ZTEST_ODATA1_SRV/EmployeeSet(EmpId=’00000001′). Reason is […]
Read more

9.DDIC – Create Record.

3 ViewsGo to DPC_EXT class in it FIND CREATE_ENTITY method and redefine method. Below Screen will appear. Write below code. Save and Activate. Go to Transaction Code /IWFND/MAINT_SERVICE. Execute it by clicking on SAP Gateway Client. Below screen will appear. Click on EntitySets and select EntitySet Name. First Get Entity Set by using url: /sap/opu/odata/sap/ZTEST_ODATA2_SRV/EmployeeSet(EmpId=’00000001′) […]
Read more

8. DDIC Get Data – Single Record

5 ViewsFor this operation we will use method GET_ENTITY of class *DPC_EXT. Edit class put cursor on GET_ENTITY method and press Redefine Method. Below screen will appear. Remove each commented thing in method and write code. Save and activate class. Execute Transaction Code /IWFND/MAINT_SERVICE Select service and activate it. Information message will be displayed like […]
Read more

7.DDIC Get Data – Multiple records.

7 ViewsIn this blog we will fetch all the data from table in OData service. Prerequisite – We should have created table with field Emp_ID(Numc , 8) and Name(Char,30). Right click on Data Model put cursor on import and select DDIC Structure. Below screen will appear, provide Entity name according your choice and give table […]
Read more

6.Create Project – SEGW.

6 ViewsSAP NetWeaver Gateway Service Builder tools is SAP GUI based modeler to create and publish Odata services using transaction SEGW. SEGW (Service Builder) is the starting transaction which can handle several projects in parallel. Steps to create Project: 3. Describe project name  , description and package. 4.Once you click on local object below screen […]
Read more

4.SAP Gateway Architecture

4 ViewsFor Business Users, ease of access has become critical with the advent of various mobile devices that support end-to-end scenarios and also provides a rich user experience. There is a need to better integrate data, reduce complexity and improve productivity. This has been a challenge for the Developer community to be able to support […]
Read more

3.Why OData?

5 ViewsThere is a lot of data on the web today but lot of it is locked up in different specific applications or formats and different to access from outside. Many Organizations have now started exposing data using REST based services however, it is difficult to write applications which works with multiple data sources as […]
Read more
Need Help?