SAP Knowledge Base Article - Public

2925359 - Error thrown when performing Deep Insert on extended object: 'Create not possible; source object does not exist'

Symptom

You have extended the standard Object Lead through custom Development and you have added the extension to standard Odata Service 'lead'. When you try to perform deep insert on the standard lead to include the related extension, an error is thrown: 'Create not possible; source object does not exist'.

Environment

SAP Cloud for Customer

SAP Business ByDesign

Reproducing the Issue

  1. Using a tool such as Postman to consume the Odata API:
  2. Perform a GET Operation on the OData Query to be used, to get the token.
  3. Now perform a POST on the same query, using the fetched token.
  4. Ensure to include the Deep Insert Payload in the body of the POST request.
  5. The error is thrown stating that 'Create not possible; source object does not exist'.

Cause

Currently the standard Object does not have those extension nodes and thus a generic mapping from Odata runtime is not possible.

Resolution

Please proceed to create the parent records for Leads in one call first, then create the sub-records with a separate call thereafter.

See Also

2325562 - Frequently Asked Questions on OData Services

Keywords

Deep Insert, OData, SDK, OData Extension , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Problem

Product

SAP Cloud for Customer core applications 2002