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: 

hide fields in LSMW

Former Member
0 Kudos

Hi!

I've been working on a LSMW and when I run it with the final data, we realized that the are 2 fields that are on the screens depending on other fields values and I'm calling this fields on the recording.

Does anyone know if it is possible to able and desable a field in the recording of the lsmw depending on values? let's say if it's empty or not?

Thanks.

4 REPLIES 4

Former Member
0 Kudos

hi ina,

i am nt sure but might bw it ll help you.

yes, u can do coding in step5 " Mapping and subroutines step"

during this step

do the coding in the fields like

if <input structure-field> is empty

do the coding for disble

endif.

For any other queries revert me back

thanks

Sachin

0 Kudos

Hi!

Do you have and example of the code to enable the field?

I was thinking of something like this but don't know the way to write this code.

Thanks for you help.

0 Kudos

Couldn't solve it.

Former Member
0 Kudos

Hi;

Probably you have done it by recording.

In that, you should first clear the value of the fields and then start to go ahead else sap understands its as constant having values during the recoding.

Regards

Shashi