Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
william_xing
Advisor
Advisor
This blog post details how to enable the split save button functionality for your custom business object’s user interface screens.

The save button will be split into “Save and Close”, “Save and New” and “Save and Close”.

By default, the Save button is split into the three save options but only acts as a “Save and Close”


To enable the split save, you would require doing some changes in the UI Designer for the corresponding screen


In our example we will change the properties for the Quick Create user interface component. You would need to select the Save button and go to the Properties tab. In the Menu Information section of the Properties, a value must be set in the Selected Navigation Item ID. This is to set a sub menu item as a default for the save button which in turn will enable the split save functionality. You can either bind it to a data field and set the data field value as the name of the sub menu item or set it as a fallback value.


If you are unsure what the sub menu item names are, you can just open the Collection of the SubMenu under the Menu Information section and retrieve the names from there.

 


Once you have changed the properties Save and Activate your user interface component. After this, you will see that the submenu is now enabled and all the sub menu buttons of the Save act as expected


By adding the value in Selected Navigation ID, you can enable the split save button functionality for your custom business object’s user interface screens with a default action.

 

Good Luck.

Best Regards,

William
1 Comment