Skip to Content
0

could not able to open the tile in fiori launchpad

Apr 05 at 09:58 AM

132

avatar image

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

issue.png (67.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Sharath M G Apr 05 at 10:05 AM
0

"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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
Mathew Davis Apr 05 at 10:36 AM
0

Hi

Have you given same intent of your existing app or gave a new one?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Dear Mathew,

I have given a new one.

Thanks,

Mushin

0
Drushya S Apr 05 at 10:40 AM
0

i think you missed somewhere in the code to give new component name.try running in abap server.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Dear Drusya,

The app is working from webide, so it seems theres no missing the component name.

Thanks,

Muhsin

0
Muhsin Panakkal
0
Sreehari V Pillai Apr 05 at 11:16 AM
0

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>
Show 3 Share
10 |10000 characters needed characters left characters exceeded

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

0

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

scn.jpg (13.4 kB)
0

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

0
Mathew Davis Apr 08 at 04:05 AM
0

Hi

Can you please share screenshots of lpd_cust and target mapping.

Thank you

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Dear Mathew,

Still my issue is not resolved, kindly find the lpd_cust and target mapping.

lpd-cust.png

targetmapping.png

Please help me to resolve the issue.

Thanks,

Muhsin

lpd-cust.png (35.0 kB)
targetmapping.png (13.1 kB)
0