cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hello all, I am new to the Fiori world and trying to figure out how to deploy the My TimeSheet fiori app on our system.

The company does not use the standard CAT2 transaction. instead they use ZCAT2.

My thoughts are that I need to modify the oData service in order to access the proper transaction and tables.

Am I on the right track?

I have setup an Eclipse IDE with HANA add-ons etc. and have connected it to the SAP Backend HANA Db. my connection works fine, but I cannot for the life of me find the code for the Fiori Apps or the oData services.

The documentation says to connect to the HANA Db, so back-end is where I am going. but Is that correct? or should I be doing so on the Front-End?

I have browsed through tons of documentation and blogs without success.

Any help would be appreciated!

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

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

Right click on data model and redefine Odata Service

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

After import, generate runtime by right clicking on the project

ZCL_Z_HCM_TIMESHEET_MA_DPC_EXT is the class generated which will have the methods

More you can read in the below links

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

Regards,

Sarbjeet Singh

Former Member
0 Kudos

Thanks Sarbjeet! I will look into this today and attempt it.

Will reply here with an update.

Former Member
0 Kudos

Hi Sarbjeet, I was able to access and see the oData service. But I am still unclear on what to modify.

(I am new at this..)

My requirement is to use My TimeSheet fiori app with the ZCAT2 transaction in the back-end. Is there a specific element or table I need to modify in the oData service?

How can I identify what needs to be modified compared to the original?

I don't want to modify any UI elements or functionality on the Fiori app either.

Answers (0)