How to Extend an SAP OData Service in Gateway|Fiori Extension Scenario| contact@anubhavtrainings.com
Вставка
- Опубліковано 8 вер 2024
- How to Extend an SAP OData Service in Gateway was the main question asked by many of you in ODATA corporate training. Here we will learn How to identify and extend an SAP OData Service
Mail us on contact@anubhavtrainings.com
Website: www.anubhavtrainings.com
Our forum: www.anubhavtra...
Join Our Telegram Channel : t.me/Anubhavle...
Linkedin: / anubhav-oberoy-3a216957
Pinterest: / anubhavtrainings
Twitter Page: / anubhavoberoy
Facebook : / anubhavtrainings
Instagram : / anubhavtrainings
Linkedin: / anubhavtrainings
Feel free to call us on +91 8448454549, Or mail us on contact@anubhavtrainings.com
You can download the ppt of this session from below
anubhavtrainin...
Steps are as below:
Go to Fiori App Reference library to standard fiori app and find the relevant odata for the same.
Once we find the service in the configuration, check if the service is active or not
What is the GW project for this service, add the standard project to our SEGW
Check the Entity Types, Find the DDIC structure relevant for entity, open in SE11 (e.g. Expense)
Append a new structure to the DDIC for custom fields (Z fields to be added)
Right Click on data model - Redefine - GW OData
Go to entity Type and right click - Properties - select properties to get them added
Just refresh swgw in case you find field issue
Generate - ZCL_ZPAOC_TRV_DPC_EXT, ZCL_ZPAOC_TRV_MPC_EXT and ZPAOC_TRV_SRV
Checked the metadata for custom fields
Go to Fiori App reference library again, in extensibility section, we will find the BADI
SE18 and check BADI
SE19 for implementing the BADI
Create a new implementing class by copy from sample implementation
Activate all the objects now
Go to the custom class, and add the logic to return data of custom fields
Thank you!
Hey super video. But I have a question.
I can select and test with different URI options. But when I click at the EntitySet button, I get the following error: status code 400 with error ' invalid filter. Provide filter for property x,x,x and x....'
standard gui tcode called in sap will not be able to perform crudq on des custom fields added ? right ?
how this new service will be add in fiori ? pls explain
So SEGW is not obsolete?