Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW-Material Master

Former Member
0 Kudos

Hai all,

I am uploading Material master through LSMW direct input method.And i am having thing error in the last step.

<b>E MG 171: You have not fully maintained the descriptions</b>

If i am not wrong its a config(spro) error, can anyone help me in locating this error.

Any kind of input will be greatly appreciated,

Thanks in advance

Satheesh.

12 REPLIES 12

Former Member
0 Kudos

Hi Satheesh,

In which step you are getting this error? If you are getting this after execute then it may be possible that thre are some required fields for material creation which you are not passing. just check that.

Regards,

Komal.

Former Member
0 Kudos

Thank you for the response,

No Komal,

i got this error, after execution.

But i am sure i didn't miss any field(which is mandatory).

I can see all the date which is mapped , its fine in the conversion also.

Its a new implementation server.

Don't you think something missing in config.

regards

Satheesh

Former Member
0 Kudos

Hi Satheesh,

You will get this message when you are entering the text but not the language key or you are entering the language key but not the text.

Please check your input data for the BMMH5 structure fields SPRAS and MAKTX. If a record is there for this structure, both should be filled in. Give particular attention to the language key's internal vs. external representation('E' vs 'EN'). This requires the language key to be in internal format.

If this helps, let me know.

Regards,

Srinivas

0 Kudos

Hi Srinivas,

I wish i could have seen your INPUT before i start the task with recording method. Unfortunately i have not waited for the answer,i finished up as the situation demanded.

Nevertheless, you are right, it worked for me. i have taken out the structure relation for BMMH5 and tried in test mode.

Thanks for Input,

Regards

Satheesh

0 Kudos

Thanks,

i Forgot to choose the Radio button,

Regards

Satheesh

0 Kudos

Hi Satheesh,

I am also trying to upload Material Master using LSMW. Can help me in how to map flat legacy files to hierarchical structrues of Material Master object. I assume there are header records and line items. In one case both header records and line items are in one flat file and in other case header records are in separate file and list items are in separate file.

Your help is highly appreciated.

Thanks

Navdeep

0 Kudos

Hi Navdeep,

I guess , it will not make a problem when you have the header data and item date in one file.

But for the other, you need to declare another structure intially, it should not be declared at the "SAME LEVEL".

you will find this option only when you are about to declare more than one structure.

In the same way identify the fields in this flat file, to which structure does it belong to actually , and asign during the option "ASSIGN RELATIONS".

This flat file has to have a common field of the header flat file. Obviously its the Material Number in your case.

Let me know.

Regards

Satheesh.

0 Kudos

Hi Sathish,

Iam doing the material master data uploading through LSMW by Direct input method . Can U help me.

1. Mainly what is the format of flat file..

2. How we will put header data and item data..is there any other code we have to write for getting header data and iteam data selection for upload..

3.So many pop boxes and we will chooseparticular option..

please help me... i know the procedure for creation.. I done for CO trnsactions..But less number fields only..

kattasampath@rediffmail.com

is mail id..please send some documents..mainly where the issues will come...

regards,

sampath

0 Kudos

sampath,

check the below lsmw code for MM01

Check the Step by step process for LSMW

Using Tcode MM01 -- Maintain the source fields are

1) mara-amtnr char(18)

2) mara-mbrsh char(1)

3) mara-mtart char(4)

4) makt-maktx char(40)

5) mara-meins char(3)

the flate file format is like this as follows

MAT991,C,COUP,Srinivas material01,Kg

MAT992,C,COUP,Srinivas material02,Kg

AMT993,C,COUP,Srinivas material03,Kg

MAT994,C,COUP,Srinivas material04,Kg

MAT995,C,COUP,Srinivas material05,Kg

goto Tcode LSMW

give Project Name

Subproject Name

object Name

Press Enter -


Press Execute Button

It gives 13 radio-Button Options

do the following 13 steps as follows

1) select radio-Button 1 and execute

Maintain Object Attributes

select Standard Batch/Direct Input

give Object -- 0020

Method -- 0000

save & Come Back

2) select radio-Button 2 and execute

Maintain Source Structures

select the source structure and got to click on create button

give source structure name & Description

save & Come Back

3) select radio-Button 3 and execute

Maintain Source Fields

select the source structure and click on create button

give

first field

field name matnr

Field Label material Number

Field Length 18

Field Type C

Second field

field name mbrsh

Field Label Industrial Sector

Field Length 1

Field Type C

Third field

field name mtart

Field Label material type

Field Length 4

Field Type C

fourth field

field name maktx

Field Label material description

Field Length 40

Field Type C

fifth field

field name meins

Field Label base unit of measurement

Field Length 3

Field Type C

save & come back

4) select radio-Button 4 and execute

Maintain Structure Relations

go to blue lines

select first blue line and click on create relationship button

select Second blue line and click on create relationship button

select Third blue line and click on create relationship button

save & come back

5) select radio-Button 5 and execute

Maintain Field Mapping and Conversion Rules

Select the Tcode and click on Rule button there you will select constant

and press continue button

give Transaction Code : MM01 and press Enter

after that

1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter

2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter

3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter

4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter

5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter

finally

save & come back

6) select radio-Button 6 and execute

Maintain Fixed Values, Translations, User-Defined Routines

Create FIXED VALUE Name & Description as MM01

Create Translations Name & Description as MM01

Create User-Defined Routines Name & Description as MM01

after that delete all the above three just created in the 6th step

FIXED VALUE --MM01

Translations --MM01

User-Defined Routines --MM01

come back

7) select radio-Button 7 and execute

Specify Files

select On the PC (Frontend) -- and click on Create button(f5)

give the path of the file like "c:\material_data.txt"

description : -


separators as select comma radiao- button

and press enter save & come back

😎 select radio-Button 8 and execute

Assign Files

Save & come back

9) select radio-Button 9 and execute

Read Files

Execute

come back

come back

10) select radio-Button 10 and execute

Display Imported Data

Execute and press enter

come back

Come back

11) select radio-Button 11 and execute

Convert Data

Execute

come back

Come back

12) select radio-Button 12 and execute

Display Converted Data

Execute & come back

13) select radio-Button 13 and execute

Start Direct Input Program

select the Program

select continue button

go with via physical file

give the lock mode as 'E'

and execute

Check this link for uploading material master in LSMW using RMDATIND direct input program..

http://help.sap.com/bp_blv1500/BL_US/documentation/LSMW_EN_US.doc

If you find it useful mark the points

~~Guduri

Former Member
0 Kudos

Hi Satheesh,

This error is for material extension and not for creation. If you are extending the materials from one plant to other plant or others then you should get this type of errors.

You have to delete all material description from you flat file and upload it. Be note its all material description for different views.

If you are deleting the material description from you flat file then the problem should solve.

Dhiraj.

Mobile --9833651588.

Former Member
0 Kudos

Hi,

I just lookin for the answer for the same question.I found that this thread is not answered.But i just gone through the replys.

One reply mentioned BMMH5 structure....I got a clue..suddenly i removed the BMMH5 relationship from the source mapping..

Wow Success!! Now I dont have any error.

Actually i dont want to upload all descriptions in different languages. So the structure BMMH5 is not required to Relate to the Source structure.If you wanna add the language also you should have to map with Source.

Even this Question is asked very long back.. I would like share this answer so that this will be helpfull to someone else.

So these close this thread as answered.

Thanks to u all.

Roy

Former Member
0 Kudos

Hai all,

I am uploading Material master through LSMW direct input method.And i am having thing error in the last step.

E MG 171: You have not fully maintained the tax classifications

If i am not wrong its a config(spro) error, can anyone help me in locating this error.

Any kind of input will be greatly appreciated,

Thanks

Ganesh