SAP Knowledge Base Article - Public

2565704 - Error “Key for Common node missing in Request Message” for update operation through Webservice

Symptom

You receive an error “Key for Common node missing in Request Message” for the update operation through webservice.

Environment

SAP Cloud Application Studio, SOAP UI

Reproducing the Issue

Below are the steps to perform on SOAP UI to test the update operation :-

  • Login to SOAP UI.
  • Enter system url and credentials.
  • Upload the WSDL.
  • Test the update operation.
  • Click on play.

Error appears -Key for Common node missing in Request Message

 

Cause

This message appears when the common node has no alternative key.

Resolution

A node without an alternative key cannot be updated but only be created.

You can use below workaround for the update operation.

Scenario:When the custom webservice is created on standard BO ex. Employee business object for update operation for the employee created previously.

Workaround :If employee name is unique for each employee, add the extension fields in the Root of the XBO created on Employee( since they are unique for each employee instance).
Include them in the custom generated webservice and then in the Event before save , write an ABSL code to update the actual employee name in the corresponding node based on the values received for the extension fields in the webservice.

Keywords

SDK, Cloud Application Studio, Key for Common node missing in Request Message, Webservice, Update operation, PDI , KBA , common node missing , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem

Product

SAP Hybris Cloud for Customer 1711