05-10-2016 3:49 PM
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
05-10-2016 4:01 PM
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).