2019 Jan 28 10:22 PM
Hi,
I am trying to use LSMW to create material master by using BAPI import method: BUS1001006, method SAVEREPLICA and Basic type MATMAS_MASS_BAPI03
there is an error message:
The field MARA-MEINS/BAPI_MARA-BASE_UOM(_ISO) is defined as a required field; it does not contain an entry
So I don't understand why do I get this error. Please help.
Thanks,
RAT
2019 Jan 29 5:23 AM
Hi Ratana
You need to convert the UOM into internal UOM. If its PC its equal to ST. Use this FM
CONVERSION_EXIT_CUNIT_INPUT to convert into internal format. Then it should work.
Thanks
Vijay
2019 Jan 29 3:06 PM
i have no experience on ABAP. the question is how to implement this FM in LSMW?
2019 Jan 29 7:24 AM
The message is clear: you MUST provide required field with correct values so either SAP uom, ISO uom or both. Check your values of BASE_UOM[_ISO] in parameter (CLIENTDATA) or in segment (E2BPE1MARA003)
First search and read some documentation (BAPI internal external format) then check in BAPI parameter the domain associated to unit of measurement (CUNIT) and convert (CONVERSION_EXIT_CUNIT_INPUT) every external format to internal format when required.
2019 Feb 04 5:43 AM
Hi Ratana
As its already suggested that UOM is mandatory. Please check your display converted data step in LSMW. If there is no UOM its purly the data problem. Check your excle or txt file. First check this step then if data is there but unable to do the conversion. Then double the MEINS and please follow the steps in the screenshot.
Thanks and Regards
Vijay