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: 

lsmw Extra fields in recording which cause problem

Former Member
0 Kudos

Hi..

I made a recording in LSMW to change the cost centre for equipment master using t-code ie02. The problem is when i made the recording i only need two fileds i.e equipment number at start screen and then cost centre field but in recording you will get more fields automatically like equipment description and it shows the description of the equipement. But i don't want to use this field so i leave it blank and only map cost centre and equipment number. Now problem is when i upload the cost centres in the batch system blanks the original equipment description and does not allow the batch to run forward unless i put something in it (Although equipment master has already description but in batch the recording it leaves blank). when i try to put in with default value option of equipment for which i made recording and then run the batch the upload programme fill all the equipment description with the same name for all of them. Can anybody help me how can i avoid this although i only wanted to use only two fields and not other and they still come up in recording which i can't avoid??.

Thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If you made the recording in LSMW, simply click the undesirable field and delete it. You can do that in LSMW.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Since Description is mandatory field, you have to pass its value from the file,

or you can write a select statement to get the value of STXT from ITOB for that equipment number. Use this value in the rule for the field Description of Technical Object.

Regards,

Sachin

Former Member
0 Kudos

Hi,

You can convert the recording into an ABAP program en remove all fields you do not want to use, Succes

Former Member
0 Kudos

If you made the recording in LSMW, simply click the undesirable field and delete it. You can do that in LSMW.