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: 

How can I restrict certain rows from being completely uneditable in maintenance view?

mimanchi
Explorer
0 Kudos
420

When generating a maintenance view, is there a way to restrict the rows under certain conditions from being editable. For example, a table has a date format field, and when its value is less than the day, this record cannot be edited.

3 REPLIES 3

RaymondGiuseppi
Active Contributor
373

Which event(s) did you already try?

0 Kudos
323
I'm not sure if this requirement can be achieved through events, but I have basically implemented this function through PBO, although it is not perfect.
mimanchi_0-1732758868711.png

 

0 Kudos
304

There are events to handle the selection/read of record to display, considering if it may be possible to add some where criteria when in update mode (e.g. date > today) so only allowed records are displayed.

Changing the logic of the dynpro is possible, but if somebody unaware of this in the future someway regenerate the dialog, then your modification will be lost 😥