Do you have any question about this error?
Message type: E = Error
Message class: /UI5/APP_API -
Message number: 021
Message text: SAPUI5 library/component &1 used in application &2 does not exist
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
/UI5/APP_API021
- SAPUI5 library/component &1 used in application &2 does not exist ?The SAP error message
/UI5/APP_API021
indicates that a specific SAPUI5 library or component that is referenced in an application does not exist or cannot be found. This error typically arises during the development or execution of an SAPUI5 application when the framework is unable to locate the specified library or component.Cause:
- Incorrect Library/Component Name: The name of the library or component specified in the application might be misspelled or incorrectly referenced.
- Library Not Loaded: The required library or component may not be included in the application’s configuration or manifest file.
- Version Mismatch: The application may be trying to use a library or component that is not available in the version of SAPUI5 being used.
- Deployment Issues: If the application is deployed on a server, the necessary libraries may not have been deployed correctly.
- Network Issues: If the application is trying to load libraries from a remote source, network issues may prevent access to those libraries.
Solution:
- Check Library/Component Name: Verify that the library or component name is correctly spelled and matches the expected naming conventions.
- Update Manifest File: Ensure that the required libraries are included in the
manifest.json
file of your application. For example:"sap.ui5": { "dependencies": { "libs": { "sap.m": {}, "sap.ui.core": {} } } }
- Check SAPUI5 Version: Make sure that the version of SAPUI5 being used supports the library or component you are trying to access. You can check the version in the
index.html
or themanifest.json
file.- Deployment Verification: If the application is deployed, check the deployment logs and ensure that all necessary libraries are included in the deployment package.
- Network Configuration: If the application relies on external libraries, ensure that the network configuration allows access to those resources.
Related Information:
By following these steps, you should be able to identify and resolve the issue causing the /UI5/APP_API021
error in your SAPUI5 application.
Get instant SAP help. Start your 7-day free trial now.
/UI5/APP_API020
SAPUI5 app. index-specific log message does not exist for subobject &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/UI5/APP_API019
SAPUI5 component ID &1 in SAPUI5 repository &2 is potentially invalid
What causes this issue? The SAPUI5 component ID might be invalid.System Response SAPUI5 component IDs should fulfill the following rules: Consist on...
/UI5/APP_API022
Enter a valid expiry period
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/UI5/APP_API023
Begin of recalculation at &1 &2 (UTC)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.