cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hide standard Create /Delete button on loading RAP application

Rachel96
Explorer
0 Likes
1,698

How to hide these standard buttons on loading RAP application

Rachel96_0-1746441963324.png

 

Accepted Solutions (0)

Answers (2)

Answers (2)

jaroslav_hrbacek
Participant
0 Likes

Hello

the next options is based on the authorization. It deepends on your needs/ requirements....

authorization how to can be found here:

https://community.sap.com/t5/technology-blogs-by-members/abap-rap-instance-authorization/ba-p/135708... 

https://community.sap.com/t5/technology-blogs-by-members/abap-rap-global-authorization/ba-p/13558291 

Regards

Jarda

Sijin_Chandran
Active Contributor
0 Likes

Hello ,

By default you don't want these Buttons ?

If Yes, then just removing them from the Behavior Definition(BDEF) on top of Projection View should work, but if you want based on some runtime Context then "features : instance" addition should help here.

Check the above points with respect to Behavior Definition.

Thanks,

Sijin

Rachel96
Explorer
0 Likes

Hi Sijin,

thank you for the response, however it didnt help

Rachel96_0-1746447688041.png

 



Sijin_Chandran
Active Contributor
0 Likes
All right, then it seems we need to work from the UI Annotation level, can you try "@ui.createHidden: true" annotation ? There is also a solution mentioned over the below Thread where they are asking to make use of "features : Global" just like we have "features : Instance" for getting this requirement done. https://community.sap.com/t5/technology-q-a/rap-create-button-still-enabled-after-disabling-the-feat...