Skip to Content

When GET_EXPANDED_ENTITYSET method invoked

Hi Experts,

I want to expand (NavItem/NavSchedule) for each Ponumer. I did the associations of the header(entity 1) and item(entity 2) and Schedule(entity 3). I also provided the required navigation property.


So i  redefined the /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_EXPANDED_ENTITYSET but when i am tested from the gw_client with below URL


/sap/opu/odata/sap/ZPROJ_982_SRV/HeaderSet?$filter=PoNumber = ''&$expand=NavItem,NavSchedule


I have placed the external break-point at above method but it's not triggering getting error says "In the context of Data Services an unknown internal server error occured"



Can you please give your ideas on the above method when will be trigger .



Thanks,

Syam


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 23, 2014 at 11:25 AM

    Hello Syam,

    Also please check if u have made properties as date or time as nullable in the model if u have anything.

    Please make nullable.

    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2014 at 10:38 AM

    Hello Syam,

    Can you please try putting ' eq ' in the place of ' = ' as below?

    /sap/opu/odata/sap/ZPROJ_982_SRV/HeaderSet?$filter=PoNumber eq ''&$expand=NavItem,NavSchedule


    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded