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.
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:
- 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.
- 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.