There are two checks you can do: Are my component IDs unique and valid? Does my app have the necessary SAPUI5 ICF node or are there unnecessary ICF nodes?
There are two checks integrated into the ABAP Test Cockpit (ATC) to make sure that your SAPUI5 application is built correctly.
The following checks are available:
-
ATC Check ICF Nodes for SAPUI5 Applications (in on-premise systems only)
In on-premise systems, you need to activate both checks in the back-end system:
- Start transaction
SCI(Code Inspector). - Choose Code Inspector > Management of > Checks.
- Make sure that the following check classes are activated:
CL_CI_TEST_UI5_COMPCL_CI_TEST_UI5_ICF
It's recommended that you add both checks to a check variant. You can then execute both checks at the same time in a dedicated variant or together with other checks that you perform regularly:
-
In transaction
SCI(Code Inspector) under Check Variant, either create a new check variant or edit an existing one. -
Go to Locally available checks > User Interfaces and activate the following checks:
- UI5: Consistency check for SAPUI5 components
- UI5: ICF nodes consistency check
-
Save the variant.
For more information about check variants, see Creating and Processing a Check Variant.
Now you can execute the check variant for your SAPUI5 apps or packages:
- Start transaction
SE80(Object Navigator). - In the Repository Browser, select BSP Application or Package from the dropdown list.
- Select the entry you want to check.
- Right-click on the entry and choose Check > ABAP Test Cockpit (ATC) with....
- On the Options tab, select the Code Inspector check variant that contains the two check classes.
- Choose Execute Checks.
The check is executed and you can react to the results as necessary. For more information, see Choosing a Check Variant for a Local ATC Check.