SAP Knowledge Base Article - Public

3484382 - Error message "ParentObjectID is not provided for" raised when importing custom object via DWB

Symptom

Error message below shows up when importing a custom object:

  • ParentObjectID is not provided for|Invalid ParentObjectID value supplied
  • ParentObjectID is not provided for

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Data Workbench > Import.
  2. Select the options: Individual Object, Insert, Custom Object.
  3. Select the custom object.
  4. Download and fill in the template file, and then upload it.
  5. The below error message raised:
    ParentObjectID is not provided for|Invalid ParentObjectID value supplied
    ParentObjectID is not provided for
  6. The error persists even after providing parent object IDs in the template file.

Cause

The custom object is a PDI object. The parent object of the custom object in SDK differs from the parent object in the metadata of the custom OData service. Please refer to the steps below to confirm this.

  1. Log in to SAP Cloud Applications Studio.
  2. Check the parent object of the custom object.
  3. Log in to C4C system.
  4. Go to Administrator > OData Service Explorer > Custom OData Services.
  5. Select the custom OData service and click on edit button to open it.
  6. Access the metadata of the custom OData service. The link looks like https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/cust/v1/<custom object name>/$metadata
  7. The parent object of the custom object in the metadata differs from that in SDK.

*Note: If your case has no PDI scripts/objects involved, please do not refer to the current KBA.

Resolution

Please ensure the custom object's parent object is the same in both SDK and metadata.

See Also

  • 3287028 - ParentObjectID Is Not Provided For ABC
  • 2833554 - Error Message "Parent Object Id is not provided for Account Visiting Hours Weekly Recurrence"
  • 2859966 - Error: 'ParentObjectID is not provided for Product Category Description' when Importing Product Category Descriptions
  • 2852436 - Error: “ParentObjectID is not provided for Internal Price List Scale Lines” While Importing Internal Price List Scale Lines Using Data Workbench Work Center

Keywords

Data Workbench, Import, Parent Object, Custom Object, Custom OData , KBA , LOD-CRM-INT-DWB , Data Workbench , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , Problem

Product

SAP Cloud for Customer core applications all versions