Skip to Content
Technical Articles
Author's profile photo Daiana Feiten

Extensibility on SAP GUI applications – rearrange custom fields on the UI screen – SAP S/4HANA Cloud

You must have already experienced the need to change the order of custom fields on the screen of some SAP S/4HANA Cloud applications.

Most of the SAP S/4HANA Cloud applications are Fiori apps based using SAPUI5 flexibility services and for those apps you can use the Adapt UI option to manage the custom fields on the screen. For more information you can check this great blog: https://blogs.sap.com/2017/05/28/key-user-extensibility-on-sap-s4hana-cloud-ui-adaptions-for-key-user/

This blog will focus on SAP S/4HANA Cloud SAP GUI applications and the Display Contract app will be used for a demo.

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps(‘VA43’)/S26

Display%20Contract%20app

Display Contract app

Let’s check the scenario for this demo:

You have created many custom fields through Custom Fields app in the order you want them displayed in the Display Contract app, however, after saving and publishing all of them, you’ve found that you want to change the order in which the fields are displayed on the screen.

This is the current order of the custom fields at Display Contract – Header level:

However, the expectation is to have the following order:

In order to reorganize the custom fields on the screen, some steps need to be followed:

  1. All the related custom fields on this scenario need to be disabled through Custom Fields app.

1.1. Select one field.

         1.2. Go to UIs and Reports tab and click on Disable Usage button for usage in SD_SALESDOC_GUI.

         1.3. Click Save and Publish on the bottom.

Note: All the steps above must be performed for all the other custom fields.

  1. As soon as all the relevant custom fields are disabled and published, the next step is enabling the fields in order expected to have them on the screen.

           2.1. According to the screen above, the first field should be Test Cust 1.

           2.2. Go to UIs and Reports tab and click on Enable Usage button for usage in SD_SALESDOC_GUI.

           2.3. Click Save and Publish on the bottom.

Note: All the steps above must be performed in that order the custom fields should be available on the screen.

Once done the enablement in the desired order, the result will be the custom fields in the order expected:

Note: This feature can be applied to other business contexts and for the SAP GUI applications.

This feature might be helpful in case you are struggling with the order of the custom fields.

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.