Skip to Content
Jul 17, 2015 at 01:36 PM

GET_ENTITY method calling even GET_EXPANDED_ENTITY is implemented


Hello Everyone,

I have implemented GET_EXPANDED_ENTITY method to makes use of Data Provider expand framework. I have defined relations, associations, navigation as well. My problem is that when I am using the URI /sap/opu/odata/SAP/ZPUR_HEA_ITE_SRV/PHeaderSet('4500004837')?$expand=HeadtoItem, GET_EXPANDED_ENTITY is called successfully and in turn GET_ENTITY is called as well.

But I am not getting the complete response . I am getting blank header and no expanded items are present in the output. I can see only header with blank values. Please suggest me on how to get rid of this. Awaiting your thoughts