SAP Note 156883 - IDoc WMMBXY: Units with ISO codes

Component : IDocs IM -

Solution : https://service.sap.com/sap/support/notes/156883 (SAP Service marketplace login required)

Summary :
SAP Note addresses the issue where IDoc processing terminates with error MM107, indicating that the specified alternative unit of measure is not defined. This problem specifically occurs in IDocs of type WMMBXY that are processed through function module L_IDOC_INPUT_WMMBXY, which requires units of measure in SAP internal format. To resolve this issue, for IDocs needing ISO code units, the SAP enhancement MWMIDO08 should be activated using Transaction CMOD. This involves implementing a modification in the exit function module EXIT_SAPLLMDE_002, inserting the call to function module UNIT_OF_MEASURE_ISO_TO_SAP for each quantity field used.

Key words :
additional key words wmmbid01, function module l_idoc_input_wmmbxy expect, exit function module exit_sapllmde_002, function module unit_of_measure_iso_to_sap, message type wmmbxy, sap internal format, sap enhancement mwmido08, idoc terminates, error mm107, alternative unit

Related Notes :

747422Replace internal units with ISO codes - modification
521427FAQ: IDocs for goods movements
318976Transferring values to IDoc WMMBXY
166547LSR/MOB interface IDocs and ISO codes