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: 

Enable disabled fields when a user clicks on new entries button in TMG SAP ABAP

Former Member
0 Kudos

Hi Experts,

I have a requirement where all the fields in the Table Maintenance should be disable initially. However, when a user clicks on new entries tab the fields should get enabled so that the user can create new rows in the table. The idea is to restrict users from changing any old entries in the table.

Thanks in advance.

Regards

Nipesh

1 REPLY 1

Former Member
0 Kudos

Well, the only way I know is to modify the generated Dynpro flow logic. I would call an own module in the LOOP over extract. Inside the module you can check the entry, if it is an old one and make it read only by LOOP AT SCREEN.

The big disadvantage is, ever you regenerate the maintenance view you have to implement the call of the module again. The module itself should be save if you don't regenerate the top include and the function group main program (expert mode).