Skip to Content
avatar image
Former Member

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

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 30, 2015 at 05:06 AM

    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

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


    Sarbjeet Singh

    1.PNG (12.5 kB)
    2.png (11.0 kB)
    3.PNG (13.5 kB)
    5.png (18.4 kB)
    4.PNG (27.1 kB)
    6.PNG (29.4 kB)
    7.PNG (17.9 kB)
    8.PNG (84.2 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.