cancel
Showing results for 
Search instead for 
Did you mean: 

How to exten Fiori OData with custom fields without BADI?

Former Member
0 Kudos

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?

Thanks

Jayson

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Nobody can help?