on 10-29-2015 8:45 PM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.