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

LSMW Problem

Former Member
0 Likes
690

Hi All,

I am trying LSMW for transaction MM02.

1. I enter a material.

2. Click select views & popup appears for views.

3. then storage location popup appears I select the plant & location.

4. Do the necessary entries.

At tne end lsmw fails when the popup window appears it does not select the accounting1 tab automatically.

But I am unable to recognize the two popup windows?

Regards,

Dilip

4 REPLIES 4
Read only

sergey_korolev
Active Contributor
0 Likes
498

You should better use direct input program with LSMW for materials. The name of the program is RMDATIND. Sorry, do not remember exactly direct input object number.

Read only

Former Member
0 Likes
498

The views, and their placement in the views pop-up, vary depending on which views exist for the material.

When performing MM02, I alwayus select the basic view for material, then click on Goto(1) or Goto(2) and place the mouse pointer over the view you wish to use (MRP 1 for example). Press F1 and the function for the view will be displayed (It's SP08 for MRP 1). Enter that code in the transaction window and you will be taken to the view.

Hope this helps.

Read only

0 Likes
498

Moss,

This is really a gud explanation.

I tried working on the logic you provided.

I recorded as suggested by you, but when I run the

session, the basic view is not selected (I passed the value "X" for view selection in my program). What might be the problem.

Regards,

Usha

Read only

Former Member
0 Likes
498

Hello,

Use DI 0020/0000/RMDATIND in your LSMW.

Please do not forget to set the required views in the structure BMM00.

Hope this helps you.

Best Regards, Murugesh AS