Migrating SAP Fiori Apps From SAP Web IDE To SAP BAS
Migrating SAP Fiori Apps From SAP Web IDE To SAP BAS
2. For trial account, Make sure that your subaccount has an SAP Business Application Studio
entitlement. If the entitlement is missing, add it from Entitlements menu.
3. Navigate to the Subscriptions menu and search for SAP Business Application Studio. Click on the
tile and click Subscribe.
• Click File > Open Workspace and create a workspace in the projects folder
• Export your project from SAP Web IDE Full Stack to your PC
• Unzip the project on your PC.
• Drag and drop the project to the SAP Business Application Studio
Here “UI5BasicControls” is my project done in SAP WebIDE. I have exported from SAP WebIDE, extracted and
dragged into my WorkSpace.
1. Create an ‘xs-app.json’ file under the project’s root folder and paste the below code to enable the
local run. This file replaces the ‘neo-app.json’ file.
•
• {
• "authenticationMethod": "none",
• "routes":
• [
• {
• "authenticationType": "none",
• "csrfProtection": false,
• "source": "^/sap/opu/odata/",
• "destination": "<YourDestination>"
• },
• {
• "source": "^(.*)$",
• "target": "$1",
• "service": "html5-apps-repo-rt"
• }
• ]
• }
Note:
In my case I have not added any backend connection routes as I have not any backend implementation for this
application. You must add the backend connection info if needed as per the syntax given above.
2. Install al dependencies
> cd <your_project_name> //to go inside your project directory
> npm install
That’s it. You have successfully built the project. Now this is ready for deployment.