LSMW Sales unit ****** 1 is not defined for item 000000 2
I am trying to create order using LSMW with
Object 0090 Sales documents
Program Name RVINVB10
Program Type D Direct Input
The issue is at the Sales Unit.
I prepared the unit as PC in the folloiwng 3 fields
ZIEME Target quantity UoM
VRKME Sales unit
MEINS Base Unit of Measure
But get the following error, any thoughts?
Start of processing
Sales unit ****** 1 is not defined for item 000000 2
Data from this document has not been saved ***
I'll give U the place, from where this error can occur, check which is applicable to you:
1) In FV45PF0M_MARM_SELECT, after calling the FM MATERIAL_READ.
2) In Include, FV45PF0V_VBAP-UMVKZ_ERMITTELN, after calling the FM : MATERIAL_UNIT_CONVERSION.
3) In Include FV45PF0V_VBAP-VRKME_PRUEFEN, after material unit conversion.
4) In Incl. FV45PFAP_VBAP_FUELLEN_MAAPV, after call to the FM : F4_ALLOWED_QUANTITY_UNIT.
If U understand German( Ich Keine Deutsch lernen ), U might go to these programs and check the description.
However, all these point to the Sales Unit as U already know.. check all the data related to the Sales Unit and whether this unit is allowed for the material being used.