SAP Knowledge Base Article - Public

3287076 - DeepInsert Function Is Not Working For Survey Collection

Symptom

You face error "The Data Services Request could not be understood due to malformed syntax" or "Unknown error. Please check the metadata and try again!" when performing a DeepInsert for Survey Odata Collection.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Navigate to Administration Work center.
  2. Enter Odata Service Explorer view.
  3. Search for Service c4codataapi and click on Test.
  4. Select a Survey Entity, for example “SurveyResponseItemCollection”, and go to Test tab.
  5. Change the function to “DEEPINSERT” and pass the payload.
  6. Click on Execute.

Cause

Deep insert is not supported for survey entities.

Resolution

As a workaround, it can be used POST method for each entity step by step.

Keywords

Survey, DeepInsert, Deep, Insert, Malformed, Unknown error, Odata , KBA , LOD-LE-SUR-DEF , Survey definition = design time , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications 2211