Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Santhosh_Mathi
Discoverer
687



With the end of SAP Web IDE (Neo) coming soon, it's crucial to move your development projects to SAP Business Application Studio (CF). This guide will help you migrate your Fiori project quickly and easily, ensuring you can continue developing without any hiccups.

Prerequisites:

Ensure that the required destination is created in Cloud Foundry within your BAS subaccount.

Step 1: Exporting and Extracting the Project

  • Export your project from SAP Web IDE.
  • Extract the downloaded project file.

Santhosh_Mathi_0-1739262219480.png

 

 Step 2:Setting Up the Development Space

  • In SAP BAS, create a new development space or use an existing one.

Santhosh_Mathi_1-1739262247975.png

 

Step 3:Importing the Project

  • Drag and drop the extracted project file into the project pane in SAP BAS.
  • A popup will automatically appear to open the migration tool.

Santhosh_Mathi_2-1739262263797.png

Santhosh_Mathi_3-1739262302336.png

Manually Opening the Migration Tool

  • If needed, press Ctrl + Shift + P and search for "Fiori migration tool" to open it manually.

 

Step 4:Starting the Migration

  • Select the appropriate system, destination, and SAPUI5 version.
  • Click on "Start Migration".

Santhosh_Mathi_4-1739262342151.png

 

Step 5:Installing Dependencies

  • Ensure that all dependencies listed in the package.json file are installed.
  • If there are any errors in the package.json, install the missing dependencies to resolve them.

Santhosh_Mathi_5-1739262360463.png

 

Step 6:Previewing & Deploying the Application

  • Run ‘npm run start’ in the terminal to preview the application.
  • To deploy the application, you must create a deployment configuration from the application information section.

Common Issues:

 Resolving Theme/CSS Issues

  • If there are theme/CSS issues, search for the theme (e.g., sap_fiori_3) in the migrated project and replace it with a compatible theme for your SAP S/4HANA system.
  • Refresh the preview page to see the changes.

Data Flow Issues:

  • If the metadata isn't being called correctly, Follow the below steps
  1. Open Application Info.
  2. Navigate to Manage Service Models.
  3. Select the appropriate destination.
  4. Click Refresh & Save.
  5. You must stop and restart the preview to see the service changes.

Inode Issues:

  • During the migration of multiple applications, you might encounter the error "no space left on device" even if there is sufficient disk space. This is usually due to running out of inodes, which are used to track files and directories on your disk.

    1. Check Inode Usage: Open the terminal in SAP BAS and run the command df -i to check inode usage.

    2. Identify Files Consuming Inodes: Use the command find /home/user/projects -type f -size -1M to list small files.

    3. Remove Unnecessary Files: Delete log files, temporary files, and other small files that are no longer needed.

    bash
    find /home/user/projects -type f -name "*.log" -mtime +30 -exec rm -f {} \;find /home/user/projects -type f -name "tmp_*" -deletefind /home/user/projects -type f -name "*.bak" -delete

           4.Optimize Projects: Archive old projects or consolidate small files into larger files to reduce inode usage.

  • bash
    tar -czvf archived_project.tar.gz /home/user/projects/your_projectrm -rf /home/user/projects/your_project

                 5.Monitor Inode Usage: Regularly monitor inode usage to prevent this issue from recurring.

Note: Ensure all dependencies are installed as per the package.json file. If there are any errors, install the missing dependencies to fix them.

1 Comment
Labels in this area