cancel
Showing results for 
Search instead for 
Did you mean: 

RAP Managed - Show/Hide standard buttons

dev_logan
Explorer
0 Kudos
2,470

In RAP Managed scenario,  is it possible to control CREATE, EDIT and DELETE buttons based on User Authorizations?

Depending on the User authorization, the standard buttons should be visible or hidden.

View Entire Topic
0 Kudos
READ ENTITIES OF zre_determination IN LOCAL MODE
ENTITY deter
ALL FIELDS
WITH CORRESPONDING #( keys )
RESULT DATA(entities).

result = VALUE #( FOR entity IN entities
( %tky = entity-%tky
%update = COND #( WHEN entity-Description IS INITIAL
THEN if_abap_behv=>fc-o-disabled
ELSE if_abap_behv=>fc-o-enabled ) ) ).