SAP Knowledge Base Article - Public

3009134 - Error 'Error creating dynamic structure' (SOMU_ERROR 031) when generating output item for Q2C documents - SAP S/4HANA Cloud

Symptom

Under configuration ID 500109 in Manage Your Solution app, a specific partner function needs to be output in a particular Q2C document. In order to achieve that, the partner function is enabled with indicator 'print-relevant' and also, a string is maintained for field 'Print Label'.

However, when trying to generate the output item for the Q2C document, the following errors occur:

  • Error creating dynamic structure
  • Messages have been generated during form rendering.

Environment

  • SAP S/4HANA Cloud

Cause

The print label is maintained with space among it. For example, for function 'ER', the expected format for print label should be 'ResponsibleEmployee', without space inside.

Per the configuration help that the print label must be a valid XML element name.

Resolution

Maintain the XML element name for specific partner function and update the form accordingly.

Keywords

500109, Partner Determination, Set Up Partner Determination for Sales Document Header, 101288, Print Label, Set Up Partner Determination for Delivery, 101287, Set Up Partner Determination for Billing Header, 101216, SD, Q2C, SOMU_ERROR, 031 , KBA , SD-BF-PD , Partner Determination , Problem

Product

SAP S/4HANA Cloud all versions