SAP Knowledge Base Article - Public

2752214 - Material number too long for client setting in material mapping

Symptom

- Posting a Material Document via SOAP service MATERIALDOCUMENTCREATEREQUEST1 (communication arrangement SAP_COM_0108) fails
- The Message Dashboard displays error M_007: 'Material number too long for client setting in material mapping'

Environment

  •  SAP S/4HANA Cloud Public Edition All versions 

Reproducing the Issue

1. Configure communication arrangement SAP_COM_0108 and select SOAP service MATERIALDOCUMENTCREATEREQUEST1 as the Material Document Integration method.
2. Post a Material Document via the SOAP interface with reference to a Purchase Order, including a Material Number in the XML payload.
3. Navigate to the Message Dashboard.
4. Observe error M_007: 'Material number too long for client setting in material mapping'.

Cause

The XML content incorrectly includes a Material Number when posting with reference to a Purchase Order. When a Purchase Order reference is provided, material master data is derived from the Purchase Order item and must not be specified in the XML payload.

Resolution

1. When posting a Material Document with reference to a Purchase Order via SOAP service MATERIALDOCUMENTCREATEREQUEST1, do not include the Material Number field in the XML payload.
2. The material master data is automatically derived from the referenced Purchase Order item. No manual specification is required or permitted in the XML content.

Keywords

M_007, MMIM_SOA_MATDOC_AIFMAP_REQ, MATERIAL,  /AIF/FILE_XI_PROCESS, SAP_COM_0108, Material Document Integration, MaterialDocumentCreateRequest_Async_In, BAPI_GOODSMVT_CREATE. , KBA , MM-IM-GF-2CL , Basic Functions (Public Cloud) , MM-IM-GF , Basic Functions , Problem

Product

SAP S/4HANA Cloud Public Edition all versions