cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Save Button (BTP, RAP)

sebastian_wilhelm1
Participant
0 Kudos

Hi experts! 

is it possible to Hide the Save Button on the right bottom corner on the object page?

I'm using RAP on BTP. A change in the manifest.json or so would also be fine.

Thanks, Sebastian

Accepted Solutions (1)

Accepted Solutions (1)

MioYasutake
Active Contributor

@sebastian_wilhelm1 
In that case, I would use Unmanaged Save.

https://help.sap.com/docs/abap-cloud/abap-rap/defining-unmanaged-save-in-behavior-definition

With this, you can write your own save logic without the need of a persistent table. Also, you can overwrite the button text in the Fiori elements project by creating an extension i18 file.

https://sapui5.hana.ondemand.com/sdk/#/topic/b8cb649973534f08a6047692f8c6830d.html

 

sebastian_wilhelm1
Participant

@MioYasutake! Thanks, this solved my problem. 

Answers (1)

Answers (1)

MioYasutake
Active Contributor
0 Kudos

@sebastian_wilhelm1 

Could you tell me why you want to hide the save button? If it's for a read-only scenario, you can achieve it simply by not creating a Behavior Definition.

sebastian_wilhelm1
Participant
0 Kudos

Hi @MioYasutake! Thanks for you reply.

In my App, a user can maintain article data (ad-hoc) and by pressing a button "Post Goods Movement" an OData Servie on an on-premise system triggers the Post Goods Movement Process. So, I don't want to save any data on the DB. Therefore there must no "Save" Button. Or is there another way, to create a transactional app without the need of saving data?

I'm working with a managed Scenario with OData V4).