cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW Sales unit ****** 1 is not defined for item 000000 2

Former Member
0 Kudos

Hi, all,

I am trying to create order using LSMW with

Object 0090 Sales documents

Method 0000

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

V1 384

Sales unit ****** 1 is not defined for item 000000 2

      • Data from this document has not been saved ***

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Koffer,

It seems, there is some with the item no, POSNR?

Also check the material no?

Plz check and let us know.

Rgds,

Raghu.

Former Member
0 Kudos

Raghu,

I didn't assgin the item number manually and I think the program can assign it auto.

After assign the item number, the error becomes to.

It is still with the sales unit.

V1 384

Sales unit ****** 1 is not defined for item 000010 2

      • Data from this document has not been saved ***

Former Member
0 Kudos

Alright Koffer,

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.

Rgds,

Raghu.

Former Member
0 Kudos

Hi, Raghu

The issue is resolved. The problem is that I didn't define the Sales unit EA for this material in MM01.

After giving the value EA, and 1 PC = 1 EA.

The order is created successfully.

Thanks

Koffer

Do you know why the following two can't be the same in MM01?

Base Unit of Measure PC

Sales unit EA

Former Member
0 Kudos

Well Koffer, The base unit of Measure is defined while creating the material. Maybe, I'll give U an example:

Say, I sell beer, and the basic unit of measure is BO( bottleassume a custom UoM). However, I sell only in cratons, where each craton may contain hundred bottles of beerthis is Sales Unit.

This conversion has to be maintained in Material Master, in additional tab, tab: UoM...this is what U did and this solved ur problem..

I hope this helps.

Rgds,

Raghu.

Answers (0)