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.
Showing results for 
Search instead for 
Did you mean: 

Creation and change customer master in same LSMW

Former Member
0 Kudos

Hi Experts,

I have a created customer master uploading using batch input recording in lsmw.

Now i have scenario like if the customer already exists i need to change that customer accordingly.

I hope most of u would have come across such issue,for time being i tried makin 2 recordings for creation(XD01) and change(XD02)

after assigning 2 structures for each creation and change, but i don know where to check whether the customer already exists and how to skip respective recordings....

Pl suggest steps after this, if this one correct........

Or if there any alter method pl do suggest me..

Pts will rewarded immly.




Former Member
0 Kudos


In the begin of record, you can check whether a cust already exist in the system. Based upon the result you can change the Tab Name and Tcode.

Just give this a try.



0 Kudos

Hi lalit,

Where do u exactly mean de begin of record is it in field mapping ,if so how to skip tcode where to write de code jus don know where n how to differentiate between 2 recordings

Pl help me solve this issue

Thanks in advance