Symptom
During the execution of the standard post-upgrade test for Core Inventory Management, the test plan finishes with error status.
When checking the logs for the execution, a step fails with the error message:
"No alternative unit of measure found: List found but no data"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Test Your Processes app.
- Switch to the Post-Upgrade Tests tab.
- Search for and open the relevant post-upgrade test plan.
- Click on the Logs option.
- Open the most recent execution from the list.
- The system shows the test processes, as well as the steps and actions performed. By expanding the nodes with error, it is possible to see the error message in the Reason column.
Cause
The post-upgrade test utilizes a standard Test Data Container, which has the values used during the test process.
In this scenario, the test process step tries to select a unit of measure, however the unit is not available in the search.
Resolution
A possible approach to solve this issue is to modify the standard Test Data Container used in the test plan.
It is possible to modify the Test Data Container of the test process so it uses a unit of measure that is available.
To perform this change, please follow the below steps:
- Open the Test Your Processes app.
- Switch to the Post-Upgrade Tests tab.
- Search for and open the relevant post-upgrade test plan.
- Click on the TDCs option.
- Click on the test data container name. This will open the Test Data Containers app.
- Select the variant in the Variant Information section .
- Click on the Edit button.
- The system will display the list of values used in the post-upgrade test. Here, update the value for the Unit of Measure.
- Click on the Save button.
After either of these approaches, the post-upgrade test can be re-executed.
See Also
Keywords
post-upgrade test, Test Your Processes, value help, unit of measure, No alternative unit of measure found, List found but no data, TDC, Test Data Container, standard TDC, UoM, regression testing, automation testing, execution logs, inventory management, S/4HANA Cloud , KBA , CA-CTT-S4C-TDC , Test Automation Tool Component for Test Data Cont. , Problem
SAP Knowledge Base Article - Public