cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Application Copy - Launchpad Error?

Former Member
0 Kudos

I realize this is an odd question -but I really need help getting this resolved.  I am trying to conduct training and need to copy a standard Fiori application into a Z application that can be launched from the Fiori launchpad.

I used the ABAP team provider in Eclipse to pull in HCM_TS_APV and pushed it back to ECC into a Z BSP.  Then, I followed these instructions to create a tile for a custom UI5 application:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80af9b19-9cde-3110-83b0-f450f2b20...

Now, after all of these steps I am getting this error when trying to launch the application from the Fiori Launchpad:

Any ideas? Points will be awarded.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sarah,

I recommend that you use SAP Web IDE and Fiori Reference Apps for the training.

Regards,

Masa

Former Member
0 Kudos

Hi Masa/Parth,

Thank you for your replies.  This training is to replicate a real-world Fiori scenario using particular apps from CRM.  Therefore we cannot use the demo apps in the Web IDE.

Parth - can you expand on using the right namespace please? I'm using the ui5_ui5 namespace in SICF. I've also changed component.js to use my custom oData service.

Any help would be appreciated, I still cannot get this copied app to launch.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sarah,

Customers won't copy standard apps. "Extending App" is the real-world best practice.

Please take a look Extensibility with SAP Web IDE.

Regards,

Masa

former_member193023
Participant
0 Kudos

Hi Sarah,

I second to Masa that you should not copy it.

However, for some reasons if you do, follow below steps:-

Change the namespace eg. hcm.emp.mytimesheet to zhcm.emp.mytimesheet.custom.

Make changes to app Navigation path.

Configure your Launchpad(especially ui5 component) and Launchpad tiles accordingly.

This should get your app to work.

Thanks,

Parth

former_member193023
Participant
Former Member
0 Kudos

Thank you Parth!

Obviously extending a Fiori app would be great training. But we are trying to accomplish and end-to-end activation for standard SAP fiori.  Unfortunately we are limited to one system, so the only option we have is to copy SAP's apps and oData services.

Thanks again for the info - much appreciated!

Answers (1)

Answers (1)

Former Member
0 Kudos

Update: I recreated LPD_CUST and this particular issue is resolved.  Now, when I try to launch the copied app I get: index.html is not found.  I tried creating an index.html under the BSP and added the following code:

<!DOCTYPE HTML>

<html>

   <head>

     <meta http-equiv="X-UA-Compatible" content="IE=edge">

     <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>

     <script src="resources/sap-ui-core.js"

         id="sap-ui-bootstrap"

         data-sap-ui-libs="sap.m"

         data-sap-ui-theme="sap_bluecrystal">

     </script>

     <!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme -->

     <script>

         var page = sap.ui.view({id:"main", viewName:"ztsapv1.main"});

         app.addPage(page);

         app.placeAt("content");

     </script>

   </head>

   <body class="sapUiBody" role="application">

     <div id="content"></div>

   </body>

</html>

Now I am getting a blank page - the app will not launch.

Any ideas on the right approach?

former_member193023
Participant
0 Kudos

Hi Sarah,

Please check the namespace you are following for you z application.

Thanks,

Parth