Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3530

Re: Extending an existing Fiori App / oData service, where to find the code?

$
0
0

Hi Hadi;

 

You need to go to SEGW tcode in the backend system. and create a new project then redefine the odata service "HCM_TIMESHEET_MAN_SRV" for timesheet and implement/redefine the methods there to fetch the data according to your requirement.

Following are the steps screenshots to reach there.

 

SEGW tcode create new project

1.PNG

Right click on data model and redefine Odata Service

2.png

 

Enter the technical service name. In this case odata service for tiemsheet app

3.PNG

4.PNG

After import, generate runtime by right clicking on the project

5.png

 

6.PNG

 

 

 

 

 

7.PNG

 

ZCL_Z_HCM_TIMESHEET_MA_DPC_EXT is the class generated which will have the methods

 

8.PNG

 

More you can read in the below links

 

Extending an OData Service Using Service Builder - SAP NetWeaver Gateway - SAP Library

 

How to Guide: SAP Fiori Extensibility - Adding Custom Felds in OData

 

Regards,

Sarbjeet Singh


Viewing all articles
Browse latest Browse all 3530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>