on 12-13-2023 11:09 PM
Hello Experts,
i want to hide action buttons based on the content displayed in the list. If possible via ABAP CDS. We are not yet using RAP.
I want to hide these two buttons in case the UEP column is true.
The buttons could also be placed in the list rows directly as seperate columns if it helps to hide them based on the row value.
The buttons were added via Metadata extension in the CDS.
Is this possible?
Thanks,
Peter
Hi Peter,
If you are using RAP, here is how it can be acheived.
In the behaviour definition, bind the action to the instance features.
action ( features: instance )
Submit result[1] $self
To control this action, in the behaviour implementation class , in the method GET_INSTANCE_FEATURES.
in the result table, you can fill the action with either enabled or disabled.
Regards,
Arun K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
11 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.