We have a requirement to create a Fiori app which is reasonably similar to a standard Fiori app (but enhancing the standard app will not do). So I first started with a new SAPUI5 application in Eclipse and used the team plugin to get the code of the standard Fiori app. I have made some first changes and used the Team plugin again to upload the source code to a new BSP. I have created a new tile and target mapping, created a new entry in LPD_CUST and the new tile is shown in the launchpad. However, when clicking on the tile an error was shown in the Chrome debugger: component.js not found. After debugging in R3 I found out that SAP assumes that all files reside in the Webcontent folder if this folder exists (......). As the standard app doesn't have a Webcontent folder (all files stored in the root) I first tried to move all files to the Webcontent folder, but that didn't help.
Then I tried to create a general Eclipse project (so the default Webcontent folder isn't created), imported the original code, made some changes and uploaded the code again to a new BSP. When I click the tile now an error is shown that there isn't an index.html file. This is very strange to me, as the original app didn't have an index.html file and there is no need for an index.html file as the app resides in the launchpad.
Can I anyone tell what is the clue?
Kind regards,
John.