How to Extend an SAP OData Service in Gateway|Fiori Extension Scenario| [email protected]
Автор: Anubhav Trainings (official channel)
Загружено: 2021-11-03
Просмотров: 26671
Описание:
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 [email protected]
Website: www.anubhavtrainings.com
Our forum: https://www.anubhavtrainings.com/anub...
Join Our Telegram Channel : https://t.me/Anubhavlearningseries12
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 [email protected]
You can download the ppt of this session from below
https://anubhavtrainings.com/anubhav-...
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
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: