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 QUERY

Former Member
0 Likes
700

Gurus,

I have created LSWM program & then done the field mapping using  auto mapping.All fields have been mapped.Then in source

fields i have deleted some fields.Now for doing auto mapping i have to select CODE & make them initial & then  do the auto mapping.Now when i have mapped few fields it is possible to make initial ,but what  happens when for example i have mapped 100 fields & deleted few fields in source fields,It becomes a tedious task.


How to make all fields initial with one go?

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
665

I don't think it's possible directly in the field mapping step. As a workaround, you can temporarily assign a different conversion object type in step 1, change it back to the original one, then go through all steps again until the field mapping,

All previously definded source structures and fields should still be there, so it's just a matter of saving it again.

To be save, you should try this first with a copy of your LSMW object.

Thomas

Gurus,

I have created LSWM program & then done the field mapping using  auto mapping.All fields have been mapped.Then in source

fields i have deleted some fields.Now for doing auto mapping i have to select CODE & make them initial & then  do the auto mapping.Now when i have mapped few fields it is possible to make initial ,but what  happens when for example i have mapped 100 fields & deleted few fields in source fields,It becomes a tedious task.


How to make all fields initial with one go?

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
666

I don't think it's possible directly in the field mapping step. As a workaround, you can temporarily assign a different conversion object type in step 1, change it back to the original one, then go through all steps again until the field mapping,

All previously definded source structures and fields should still be there, so it's just a matter of saving it again.

To be save, you should try this first with a copy of your LSMW object.

Thomas

Read only

0 Likes
665

What i did is

I went to Maintain object attributes  deleted the unwanted fields,then deleted the fields in source

field.Then i did the auto field mapping without making all the fields initial .Now the unwanted fields were

removed once i deleted them in object attributes & Source field.