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

Deactivating the field for input

Madanshinde
Explorer
0 Likes
302

Hi friends,

I want to deactivate ( to make it read only) a field in standard Tcode for specific company codes.

( For example I want to deactivate company code field in ME22n -> Org data tab )

We have around 20 company codes and this change should be done for only one company code.

Using transaction variant we can deactivate it but change applies for all company codes.

Plz suggest how can we do this. Also suggest whther we can use field exits for same.

Thanks,

Madan Shinde

1 REPLY 1
Read only

asik_shameem
Active Contributor
0 Likes
281

Hi

You can achieve this by using an implicit enhancement

in the class CL_BASIC_MODEL_VIEW_MM,

Method MODIFY_SCREEN.

There LOOP AT SCREEN and modify the SCREEN.