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.
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.