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: 

Using Lsmw how to select the select-view during running time

Former Member
0 Kudos

Hi Experts,

I need a small clarification LSMW, While uploading the material using MM01, for the select view option i want to give the condition.

Bze i have 2 set of materials, if 1st type of material comes it will select the select view of 3 in the list, otherwise 4th in the list.

The syntax is

if MARA-PSTAT = 'C'

KZSEL_03 = "X"

else.

KZSEL_04 = "X"

Where can i give this condition in LSMW.. how it will work??

Its urgent, any plz guide this.

Point will be sure.

Thnx,

Mohana

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Mohana,

Why asking the same question twice?.

Instead of using BDC like MM01, you could use IDoc MATMAS. Using the IDoc has the advantage that you don't have to worry about selecting views as this is done automatically.

Regards,

John.

1 REPLY 1

Former Member
0 Kudos

Hi Mohana,

Why asking the same question twice?.

Instead of using BDC like MM01, you could use IDoc MATMAS. Using the IDoc has the advantage that you don't have to worry about selecting views as this is done automatically.

Regards,

John.