Skip to Content
avatar image
Former Member

How to exten Fiori OData with custom fields without BADI?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    Nobody can help?

    Add comment
    10|10000 characters needed characters exceeded