cancel
Showing results for 
Search instead for 
Did you mean: 

List Uibb Disable Delete Button for Certain Lines

benjamin_allsopp
Active Participant
0 Kudos

Hi.

MDG-M on the description list UIBB. EN is defaulted as a description. We do NOT want the user to be able to delete the English language description but should be able to add and delete any other language description as appropriate.

How can I disable the button for just one line of the List?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

michael_theis
Active Contributor

Hi Benjamin,

this can be done with some custom code in a custom feeder class. Check your class, usually there are methods name "IS_ROW_ACTION_VISIBLE" and "IS_ROW_ACTION_ENABLED". Those are called during the UI roundtrip by FPM for each record in the list. As part of the IMPORTING parameter you get something like "IO_ACCESS" or "IO_ENTITY" which actually represents the current line of the list. Now you could as the entity for its specific property value to decide if disabling the button is needed.

Best regards

Michael

Answers (0)