Skip to Content

How to exten Fiori OData with custom fields without BADI?

Aug 15, 2017 at 03:38 PM


avatar image
Former Member

I know there are lots of documents available for this topic and I've read many of them, still can't get it work.

Anyway, I'd need to extend Leave Request Create app with custom data. Based on my research, SAP doesn't provide BADI for this OData service. So based on my reading, the only option would be put custom logic in the custom DPC_EXT class in the appropriate method. However during my debug I can see the method LEAVEREQUESTCOLL_GET_ENTITYSET of the custom class ZCL_ZHCM_LEAVE_REQ_CRE_DPC_EXT is not called, whereas the same method of the super SAP class CL_HCM_LEAVE_REQ_CREAT_DPC_EXT is called instead. So where can I put the custom logic then?

BTW, i'm using SAP standard Leave Request app to test, my assumption is that once the ODATA is extended, the extended version would be called, not the SAP standard one.

Please let me know what else to do?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Aug 16, 2017 at 12:20 PM

Nobody can help?

10 |10000 characters needed characters left characters exceeded