Skip to Content
0

LSMW MM01 Error Message M3189 The base unit of measure cannot be changed

Dec 05, 2016 at 12:13 PM

300

avatar image
Former Member

I create a Sales view of an existing material, the material already exists for sales organization = X, DC = 1, I want to create the same material for sales organization = Y, DC = 2. The material has also a Basic view.

I use direct input object 0020, Method 0000, program RMDATIND. I use a 1 level structure, because the material tax classification of 2 countries are already defined in the existing sales org X, DC = 1, as we know the tax classification is only country dependent and not sales org. dependent, so this is correct.

The transaction within the LSMW is MM01, besides the key fields VKORG, VTWEG, WERKS and MATNR just a few sales fields do have a value, e.g. the product hierarchy, the account assignment group etcetera.

When I run the LSMW (foreground) I got 2 warnings and one error message. The error is

M3189 Base Unit of measure can't be changed. This is strange because I have no input in my text file for the base unit of measure (MEINS) nor is it assigned to an input structure field.

When I run MM01 manually then the Base unit of measure is grey and can't be changed, the material can be extended with the same data, no error message.

Any ideas suggestions why the message occurs when I extend an existing material.

Regards Kees

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

17 Answers

Jürgen L
Dec 05, 2016 at 12:31 PM
0

Direct input is quite different to MM01, direct input does not go through a dialog process.

Just try again by filling the base unit with a value.

Share
10 |10000 characters needed characters left characters exceeded
Roberto Bevacqua Dec 05, 2016 at 12:51 PM
0

Hello,

you can try to add a unit field in your file as Jürgen suggested, otherwise, by adding material master data, I always use a batch input recording on transaction MM01. Only for material text I utilize direct input.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2016 at 12:39 PM
0

Hi Jurgen,

Thanks for the fast response.

I know, but besides the error message there is no option to see what is going on. I have made many LSMW with direct input including the one you described in a blog of Long text, but I can't explain this one.

My other LSMW creating a new material with 2 tax records (2 level structure) did create the material without a problem.

Any suggestions where to look?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2016 at 01:23 PM
0

Sorry I didn't read that.

I added MEINS in the input file, source structure and assigned it to BMMH1. With the same unit of measure and Blank, the error is still there.

The first warning message is: MG161 The data for the maintenance statuses K cannot be transferred. K means the Basic view. I checked the views possible of the material type (copy of HAWA) but all the views including the basic and Sales view are possible. It looks that for some reason it doesn't see the basic view which is alreay available.

Another strange thing is that the log mentioned 2 transactions although I have just one input line with data, I think this might be because of the 2 tax classifications neede per material.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

In the 2 transactions, the warning messages and error message are repeated.

0
Jürgen L
Dec 05, 2016 at 01:49 PM
0

It does see the existing basic view, otherwise you would not have the error. But direct input means you are directly updating tables, you are not going through a user interface, SAP does not take defaults from existing data like it is in a MM01 view. In direct inputs you have to provide the needed data and have to instruct SAP what to do with certain fields and also might need to add the one or other check yourself.

If you don't want to overwrite the base unit with "blank" then you have to have a NODATA sign "/"

Please check the docu

For more detailed guidance please post a screenshot from your source file

and screenshots from LSMW step 10 display converted data , from the over view, as well as from the detail of each structure of one transaction.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2016 at 02:57 PM
0

Blank Input file = "/" after conversion.

I have removed all fields of MARA, because that might cause to update the Basic view acc. to note 67616. The fields are from MVKE and MARC. I also removed the MBRSH & MTART after the test with the input data below, but unf. the same error.

Transaction 1 & 2 have the same errors, so only the second is displayed.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2016 at 03:01 PM
0

Here are the settings:


input-file.jpg (15.2 kB)
conv-struct.jpg (31.1 kB)
detail-0.jpg (44.1 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2016 at 03:03 PM
0

The last 2 lrecords

structure BMMH1


detail-1.jpg (49.5 kB)
detail-2.jpg (63.2 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2016 at 03:06 PM
0

The error

Field MARA-LABOR has a value.


the-error.jpg (33.4 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Dec 05, 2016 at 04:18 PM
0

Which views do you actually want to maintain?

Your BMM00 structure has only slashes "/" in the fields for the views, e.g. XEIV1 and XEIV2 should have a X if you want to maintain sales view 1 and 2

Share
10 |10000 characters needed characters left characters exceeded