Skip to Content

Entity by ID 'XXXXXXXXX' not found. occur when use $expand with include Odata service

Hi Experts,

I create a odata project with one entity and include another odata service, create association between my own entity and include model reference's entity, create association set and navigation properties.as picture below

this link works fine:

/sap/opu/odata/SAP/ZDMS_002_SRV/HeaderSet(Dokar='ZSR',Doknr='10000000902')/versions

however, with this link, I get error "Entity by ID 'N2B8F050322926B2CA65BA5A590DE8B14' not found"

/sap/opu/odata/SAP/ZDMS_002_SRV/HeaderSet(Dokar='ZSR',Doknr='10000000902')?$expand=versions

how to fix it?

Or include Odata service doesn't support $expand parameter?

best regards,

felix

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 15 at 02:59 PM

    Hi Felix,

    it is not supported.

    Best Regards,

    Andre

    Add comment
    10|10000 characters needed characters exceeded

    • Maybe you can look at developing OData V4 services. I understand this limitation goes away with the creation of service groups which allow component services to have cross service navigations much like the microservice architecture concept.