Skip to Content
-1

Run downloaded standard Fiori app on WebIde

Apr 19, 2017 at 11:39 AM

61

avatar image

Hi Experts.

I have downloaded standard Fiori app using /ui5/ui5_repository_load transaction. I made an archive from this and import to WebIde.
I tried to run it but unsucessfuly.

I can't import application directly from abap repository.
Can you help me with this?

1st way of trying.
1.1. Component.js -> Run -> Run Configurations fiori1.jpg
1.2. Component.js -> Run -> Run as -> Sap Fiori Launchpad Sandbox
1.3. Result: HTTP Status 404 - Not Found
1.4. Console: fiori2.jpg

2nd way of trying.

2.1. Create new catalogue in WebIde. E.g. "Sandbox"
2.2. Create new file inside: FLPSandbox.html
2.3. Code of new file:

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8">
<title>FLP Sandbox</title>
<script>
window["sap-ushell-config"] ={
defaultRenderer :"fiori2",
renderers: {
fiori2: {
componentData: {
config: {
search: "hidden"
}
}
}
},
applications: {
"ZSM_CM_SYSREC": {
additionalInformation: "SAPUI5.Component=sm.sysrec.mynotes",
applicationType: "URL",
url: "./ZSM_CM_SYSREC/webapp",
title: "ZSM_CM_SYSREC"
}
}
};
</script>
<script src="../test-resources/sap/ushell/bootstrap/sandbox.js" id=
"sap-ushell-bootstrap"></script>
<!-- BootstraptheUI5corelibrary-->
<script id="sap-ui-bootstrap"
src="../../resources/sap-ui-core.js"
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-compatVersion="edge">
</script>
<script>
sap.ui.getCore().attachInit(function() {
// initializetheushellsandboxcomponent
sap.ushell.Container.createRenderer().placeAt("content");
});
</script>
</head>
<body id="content">
</body>
</html>

2.4. Data in node applications are the same as in 1.1
2.5. Insert application to "Sandbox" catalogue fiori4.jpg
2.6. Result: HTTP Status 404 - Not Found
2.7. Console: fiori3.jpg (line 39 is this:

sap.ui.getCore().attachInit(function() { 

)

fiori1.jpg (137.3 kB)
fiori3.jpg (60.5 kB)
fiori2.jpg (35.1 kB)
fiori4.jpg (23.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ransome Mathias Mar 16 at 03:08 AM
0

Hi Michal,

Were you able to fix this issue? Please let me know if this was solved? or if you have any links to the tutorial.

Thanks for your response.

Share
10 |10000 characters needed characters left characters exceeded