on 01-11-2015 4:29 PM
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:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
This blog may help you.
http://scn.sap.com/community/mobile/blog/2015/01/14/create-copy-of-standard-fiori-applications
Thanks,
Parth Jhalani
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!
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.