Hai Experts,
I have developed one SAPUI5 application and its working fine. now I need to roll out the same app with minor changes in diffrent client for same server. so to do this, I have imported the application, changed the component name, deployed the same with diffrent bsp and configured it with tile. now when i am trying to access the new tile its showing the below error..issue.png
I have activated the SICF node and cleared all the cache. still the issue is not resolved.
The issue is very critical for me, Please help me to resolve the above issue.
Thanks,
Muhsin
"I need to roll out the same app with minor changes in different client for same server" - I presume it could be cross -client apps i.e. same app irrespective of clients and could be the cause of error.
When you create a copy, check for the data in manifest.json and ensure they are unqiue.
Regards.
Dear Sharath,
Thanks for your reply.. I am not using manifest.json. I am writing the router code inside the component.js itself.FYKI, the applications is perfectly working from webide.
Thanks,
Muhsin
Hi
Have you given same intent of your existing app or gave a new one?
Dear Mathew,
I have given a new one.
Thanks,
Mushin
i think you missed somewhere in the code to give new component name.try running in abap server.
Dear Drusya,
The app is working from webide, so it seems theres no missing the component name.
Thanks,
Muhsin
Try - SMICM to clear HTTP cache.
Also, in the index.html, load the component directly and test - this is to make sure , that the app is not properly laoded using the componenet id.
<script src="resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-libs="sap.m" data-sap-ui-theme="sap_belize" data-sap-ui-xx-bindingSyntax="complex" data-sap-ui-resourceroots='{ "newcomponent.leave" : "./" }'> </script> <script> new sap.m.Shell({ app : new sap.ui.core.ComponentContainer({ name : "newcomponent.leave" }) }).placeAt("content"); </script>
Dear SreeHari,
Here is my index.html, and its working fine from webide.
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8"> <title>TRAVEL REQUEST</title> <script id="sap-ui-bootstrap" src="resources/sap-ui-core.js" data-sap-ui-libs="sap.m,sap.suite.ui.commons" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-xx-bindingSyntax="complex" data-sap-ui-appCacheBuster="./" data-sap-ui-resourceroots='{"travel": "./"}'> </script> <link rel="stylesheet" type="text/css" href="css/style.css"> <script> sap.ui.getCore().attachInitEvent(function () { var oComponentContainer = new sap.ui.core.ComponentContainer({ height : "100%", name:"travel" }); oComponentContainer.placeAt("content"); }); </script> </head> <body class="sapUiBody" id="content"> </body> </html>
Thanks,
Muhsin
error says : travelReqNk.
What about the tile configuration ? Are you using LPD_CUST based config or direct URL ?
Also , can you execute the below URL without cache entries and see if ts hitting ?
that is ; /sap/bc/ui5_ui5/sap/***/Component.js
Also, have you tried executing SMICM to clear the cache ?
Sreehari
Dear SreeHari,
the component name is
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8"> <title>TRAVEL REQUEST</title> <script id="sap-ui-bootstrap" src="resources/sap-ui-core.js" data-sap-ui-libs="sap.m,sap.suite.ui.commons" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-xx-bindingSyntax="complex" data-sap-ui-appCacheBuster="./" data-sap-ui-resourceroots='{"travelReqNk": "./"}'> </script> <link rel="stylesheet" type="text/css" href="css/style.css"> <script> sap.ui.getCore().attachInitEvent(function () { var oComponentContainer = new sap.ui.core.ComponentContainer({ height : "100%", name:"travelReqNk" }); oComponentContainer.placeAt("content"); }); </script> </head> <body class="sapUiBody" id="content"> </body> </html>
I have tried the above URL, but it showing below.
File sap/BSP/Component.js NOT found!.
I am using the LPD_CUST based configuration, and I could not able to clear smicm cache since need to get approval for that.
Thanks,
Muhsin
Hi
Can you please share screenshots of lpd_cust and target mapping.
Thank you
Dear Mathew,
Still my issue is not resolved, kindly find the lpd_cust and target mapping.
Please help me to resolve the issue.
Thanks,
Muhsin