Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LSMW The field MARA-MEINS/BAPI_MARA-BASE_UOM(_ISO)

ratana_pouy
Participant
0 Kudos
3,137

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

4 REPLIES 4
Read only

vijy_mukunthan
Active Contributor
1,656

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

Read only

0 Kudos
1,656

i have no experience on ABAP. the question is how to implement this FM in LSMW?

Read only

RaymondGiuseppi
Active Contributor
0 Kudos
1,656

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.

Read only

vijy_mukunthan
Active Contributor
0 Kudos
1,656

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