cancel
Showing results for 
Search instead for 
Did you mean: 

BAS (licensed) command "Fiori: Migrate Web IDE Project for use in Fiori tools" not working

ankurbabu1
Explorer
0 Kudos
1,025

Hello BAS Experts,

We have created several projects on WebIDE platform and recently subscribed to licensed SAP Business Application Studio (BAS) account. We would like to migrate our projects developed in WebIDE to BAS using the command "Fiori: Migrate Web IDE Project for use in Fiori tools" for further development. However, this option is not working in our BAS account. We have already tried after deleting Dev Space several times and with many projects but the issue is same in each case.

To reproduce the issue:

1. Login to SAP BAS

2. Create and start Dev Space

3. Select "Clone from Git" option in Welcome screen and clone the repository.

4. Open project in Workspace

5. From toolbar Menu options: View -> Find Command -> Fiori: Migrate Web IDE Project for use in Fiori tools. In ideal situation, a pop-up should appear to choose the project to be migrated. But no pop-up appeared after this step and hence we are unable to proceed.

The issue is also occurring if we download the project to desktop and import in BAS.

The issue is happening with all projects and due to this reason we are unable to work with BAS.

Looking forward for a solution to start working with BAS.

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Thanks @ankurbabu. I found the support ticket and will investigate the source of the problem.

ankurbabu1
Explorer
0 Kudos

That's great. Thank you. Looking forward for the resolution.

0 Kudos

@ankurbabu,

Can you provide more information about the type of project you are trying to migrate?

To use "Fiori: Migrate Web IDE Project for use in Fiori tools" (renamed to "Fiori: Migrate Project for use in Fiori tools" in the most recent release.)

There are various checks performed on projects in the workspace to determine if they can be migrated:

For example:

Contains: package.json or pom.xml or neo-app.json

Also contains a manifest.json in the webapp of the application.

You can also log a support ticket at https://launchpad.support.sap.com/#/incident/create for the component CA-UX-IDE

ankurbabu1
Explorer
0 Kudos

@austin.devine2 ,

It is happening with all kind of projects. Most of our projects are created from the Templates (Worklist, Master-Detail etc.) and have package.json, neo-app.json and manifest.json in the project structure. As mentioned in my above comments "Just to add, I am working with two licensed BAS accounts and this issue is appearing only on one account and working fine with the other account. I tried with the same project in both accounts and the issue is only in one account.".

I also showed this issue live in UI5Con Meet the Experts session and also send an email to SAP experts from that session but still no updates. An OSS is already raised in component CA-BAS-EDT-HTML5 since 08.06.2021 but no update there also. I have requested to change component to CA-UX-IDE in OSS and hoping now that someone will look into the issue.

priteshpatel65
Active Participant
0 Kudos

Hi,

follow the below step for web ide project run in BAS

1. import your project from GIT or desktop.

2. delete packege.json or ui5.yaml

3. create the xs-app.json file and add this code.

{
    "welcomeFile":"/index.html",
"authenticationMethod": "none",
"routes":
[
{
"source": "^(.*)$",
"target": "$1",
"service": "html5-apps-repo-rt"
}
]
}

4. right-click on the project name and open a new terminal,

apply npm init for new packege.json

apply npm init for ui5.YAML,

if npm init not worked then first install npm using npm install command.

5.after all processes done, you need to create a new configuration.


ankurbabu
Explorer

Thank Pritesh but we don't want to do this manually (manually it worked) because we have several projects and it would be very time-consuming to do it manually for each project. I think it would be better to have a solution at root cause rather than having workarounds.

WouterLemaire
Active Contributor
0 Kudos

You can try to do this manually by following the steps from the blog post of yuval.morad : https://blogs.sap.com/2020/07/08/migrating-fiori-application-from-sap-web-ide-to-sap-business-applic...

ankurbabu
Explorer
0 Kudos

Thanks, Wouter. I tried it to do manually and was successful with the manual approach. However, this is not the best option when have several projects. In my opinion, if the option is available we should not migrate all projects manually and use the command. And if the command is not working, somebody should help in solving the issue.

Just to add, I am working with two licensed BAS accounts and this issue is appearing only on one account and working fine with the other account. I tried with the same project in both accounts and the issue is only in one account.