I'm uploading the material master thru LSMW using the BAPI BAPI_MATERIAL_SAVEDATA (BUS1001006) and I'm facing the following problem:
The input data is provided in the tab delimited file .
While uploading if the sales unit is left blank in the input file (when Base unit of measure = sales unit) I'm getting the error " The value is not allowed for the field NARM-MEINH/BAPI_MARM-ALT_UNIT".
As per requirement in the input file if the base unit of measure and sales unit are same then sales unit field is left blank.
In my case diff values /same values are provided in the input file it is working fine .
Please help its required urgently.
Hi,
If u entring the values for the table MARM(Unit of Measure) of BAPI_MATERIAL_SAVEDATA, u also need to put 'X' in the corresponding field of table MARMX(Unit of MeasureX). I think this would solve ur problem.
Thanks,
Vishnu
i m also facing the same issue. even i have set the respected 'X' in the corresponding field of table MARMX(Unit of MeasureX). Then also it is giving me the same error.
Can anybody help me on that.
If base unit = sales unit and alternative unit is blank in the file, you are not supposed to populate UNITSOFMEASURE table for the BAPI.
You can check alternative unit in the file and if it is blank, don't enter record for the UNITSOFMEASURE.
In which file we need to see ? i m new to SAP so can you please tell me the steps to see this from SAP GUI screen.
Also i m getting this error of other material when i try to update the MOVING_PR of the material in VALUATION DATA structure.
Error : CURRENCY initial v., currency amount in MOVING_PR was not transferred without a currency
And if i try to update the GROSS_WT of the material in the UNITSOFMEASURE structure then i m getting the below error.
Error : EM3 578 Specify the units of measure.
I have no idea why i m getting these errors. and how can i resolve this. so need help.
I think you need to give value to E1BP_MBEW-PRICE_UNIT for E1BP_MBEW-MOVING_PR.
And you have to give a value to E1BP_MARM-UNIT_OF_WT for E1BP_MARM-GROSS_WT.