Symptom
Inbound XML message failure for value mapping of region code with the error message "Inbound mapping failed for MDG_FND_REGION_CODE, value xx, list ID MDG_FND_REGION_CODE, agency IS_MDG ".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Replicate a business partner with the region codes within the country.
- The outbound XML is generated successfully with the region code.
- Inbound XML in receiver system failed with error message "Inbound mapping failed for MDG_FND_REGION_CODE, value xx, list ID MDG_FND_REGION_CODE, agency IS_MDG" is displayed.
Cause
Incomplete configuration for the value mapping.
Resolution
Refer below steps for maintaining region codes:
- Go to the 'Maintain Value Mapping' app.
- Navigate to the assign code lists & global data type - MDG_FND_REGION_CODE.
- Assign code lists values.
- After assigning the values, set the flag to 'No Map'.
Note : If the value mapping is already maintained in the source system, the target system can directly use the mapped and processed value. In this case, the mapping flag in the target system should be set to “No Map”, so that the value from the source is taken.
See Also
Refer to the SAP Community post on "How To... Define Value Mapping for Regions (MDG_FN... - SAP Community " for more details on defining value mapping for regions.
Keywords
Inbound XML, Value Mapping, Region Code, SAP S/4HANA Cloud Public Edition, Master Data, Business Partner, SOAP Webservice, Error Message, MDG_FND_REGION_CODE, Maintain Value Mapping App. , KBA , LO-MD-BP-WS , Web Service for Business Partner , Problem
SAP Knowledge Base Article - Public