Application Development and Automation 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: 
Read only

Material Master Load Problem

Former Member
0 Likes
1,544

Hi,

I am using LSMW to load the material master and using the standard program RMDATIND.

I am able to create the material but it does not fill the storage location even there is a storage location in the input file.

It does not give any error. It says material created successfully. But when i go to MM03 and check the material it don't have the storage location associated with that material.

Please help. Let me know if I am missing some thing. Appreciate you guys help.

Rohit

11 REPLIES 11
Read only

Former Member
0 Likes
1,341

Hi,

I think in Mapping fields u may have missed the Storage Location. Check the mapping / allocation details .

Darhan

Read only

0 Likes
1,341

Hi Darhan ,

I checked the mapping. It is fine and able to get the storage location from the file. I found out that I have to check the field XE1L1 for storage location view. I checked that field it created the material for that storage location. But now problem is it does not created the other view if I set this field. It creates the warning with message "The data for the maintenance statuses BG cannot be transferred"

Please suggest.

Thanks

Read only

0 Likes
1,341

Use tcode MMSC to extend to storage location level.

You need to have Material,plant and Storage location as input.

Award if useful.

Regards

Praveen

Read only

0 Likes
1,341

check all the views that are relavant to your requirement and run it.

Read only

Former Member
0 Likes
1,341

I am using Standard program in LSMW to load the material master and it uses transaction mm01.

Any other tips.

Rohit

Read only

0 Likes
1,341

Rohit,

We create basic data, extend to plant using the standard code RMDATIND

and extend it by recording MMSC tcode to storage location level.

regards

Praveen

Read only

0 Likes
1,341

Hi Praveen,

When you say that extend the program using recording MMSC. Do you mean that load the material master using standard program then change the material master using recording of MMSC. Means it is going to be two step load.

Please explain me as I am new to LSMW.

Appreicate your help.

Rohit

Read only

0 Likes
1,341

Yes you are right!

Actually we do it in three steps to avoid confusions!

1- We create Materials basic data using Standard program RMDATIND.

2- Extend same to plant level using standard program RMDATIND ,Now it includes all views data .

3- We extend to storage location level byusing MMSC t-code.

there may be other ways but we foollow this procedure and it works great!

Regards

Praveen

Read only

Former Member
0 Likes
1,341

hi,

Why don't you try Bapi to load Material Master.

try this 'BAPI_MATERIAL_SAVEDATA'.

You have all views in it.

regards

sarath

Read only

0 Likes
1,341

Hi Guys,

Thanks all for their inputs. Just want to share what I have found out that we have to set the indicators for all the views for which we want to load data for. So just setting those indicators have solved my problem.

Rohit

Read only

Former Member
0 Likes
1,341

Set all the required view indicators for which data has to be loaded