When you open the custom SAPUI5 application in standalone mode, it requires you to input the user name and password, but you do not want to input the credentials for this application as it is not user specific. You are also considering to hard code the user name and password in the application. Only in this situation, you can try this solution.
SAP NetWeaver 7.4
password, credentials, login, page, SAPUI5, SICF , KBA , CA-UI5-ABA , ABAP (see SAP Note 2549631) , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.