当前位置:网站首页>The locally developed SAP ui5 application is deployed to the ABAP server to perform error analysis

The locally developed SAP ui5 application is deployed to the ABAP server to perform error analysis

2022-06-25 05:44:00 JerryWang_ WangZiXi

I use SAP UI5 Tools Of CLI Tools , Run the command npm run deploy take Visual Studio Code Developed in SAP UI5 application , Deploy to ABAP After the server , Successfully generated url:

https://er9.sap:44300/sap/bc/...

But the browser won't open :

Error message :ICF Node NOT found!

Log in to the background and execute the transaction code sicf, There is really no path ui5_ui5 It is found that zjerrypureui5 This node .

Below url It's my previous article Locally developed SAP Fiori Elements application , How to deploy to ABAP Server ? Successfully deployed to ER9 Generated after the system url:

https://er9:44300/sap/bc/bsp/...

Some common mistakes

HTTP Status 504 - An internal application error occurred

If the application contains a fairly large file , also HTML5 dispatcher( Located from SAP Web IDE To SAP Systematic route On ) Trying to dispatch Timeout occurred while , This may happen .

Sometimes ,HTML5 dispatcher Timeout for (30s) Than ABAP The system itself (5m) shorter . When this happens ,ABAP The system can actually handle the upload of large files , but HTML5 The scheduler will trigger a timeout during this process .

The solution is to increase HTML5 Dispatcher Timeout for . So , Please follow visit REST service Operate according to the description under the target attribute in , And increase the timeout to the maximum 300 second .

If you still encounter this error after increasing the timeout , You may need to perform ICM Hard shutdown . ICM (Internet Communication Manager) Deal with all inbound HTTP/HTTPS/SMTP Connect .

Use SMICM Transactions view the status of these connections . If you come from SAP Web IDE Push application , A hard shutdown may be required , Because the connection may remain open for some reason . By choice Administration ICM Trigger this action from the menu .

If the problem still exists , Please find the large file and pass SE80 Transaction manual upload .

Namespace Errors

info builder:custom deploy-to-abap Creating new SAPUI5 ABAP repository ZJERRYPUREUI5
ERR! builder:custom deploy-to-abap Remote creation in customer namespace not possible in SAP systems
ERR! builder:custom deploy-to-abap Upload canceled: SAPUI5 ABAP repository has not been created (successfully).

After encountering the error message , If it comes to ABAP The system background manually creates a SAP BSP application , You will encounter the error mentioned at the beginning of this article :ICF Node NOT found!

These errors are the namespace provided by us Z Caused by the .

The target system is SAP Or run in customer mode .

If it's in SAP Run in mode , Then only... In the given application name can be used SAP Namespace , Can't use Z start .

Solution

take ui5-deploy.yaml in SAP UI5 Deploy to ABAP The application generated by the system is in front of Z Remove it .

Deployment success :

more Jerry The original article of , All in :" Wang Zixi ":

原网站

版权声明
本文为[JerryWang_ WangZiXi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202202148313111.html