SAP® on Linux Installation and Launch Guide

website·Indexed 31 days ago

https://saponlinux.gamersi.at

Guides for the proper installation and launching of SAP® on Linux, including instructions for creating launch scripts.

Tokens
572
Snippets
8
Records
9
Agent score
0%

What's inside SAP on Linux

  1. Install Wine and Winetricks on Arch Linux

    Install the Wine and Winetricks packages using pacman. If the installation fails, ensure the Multilib repository is enabled in your system configuration.
    sudo pacman -Sy wine winetricks --needed
  2. Configure Wine dependencies and Windows version for SAP GUI

    Install the required DLLs and components via winetricks to ensure SAP GUI functionality. After installing the dependencies, set the Wine version to Windows 10 (it defaults to Windows 7).
    # Install required DLLs
    winetricks -q urlmon vcrun2013 vb6run wsh57 ie8 mfc40 mfc42 dotnet40 gdiplus corefonts
    
    # Set Windows version to Windows 10
    winetricks -q win10
  3. Install SAP GUI on Linux using Wine

    To install the Windows version of SAP GUI on Linux (supported on Arch, Debian/Ubuntu, and Fedora), follow these steps to set up a 32-bit Wine environment, install necessary dependencies, and configure the software.
  4. Install SAPTUNNEL and SAP GUI via Wine

    Run the respective setup executables using Wine. When installing SAPTUNNEL, you will be prompted for your name, email, and Zeebedee Key.
    # Install SAPTUNNEL
    wine saptunnel-setup.exe
    
    # Install SAP GUI
    wine sapgui-setup.exe
  5. Create and use a launch script for SAP on Linux

    To launch SAP on Linux, create a bash script named startsap that handles the Wine environment and executes the SAP GUI. If you are using a custom wineprefix, you must adjust the paths in the script to match your configuration. After creating the file, make it executable using chmod +x startsap.
    #!/bin/bash
    cd ~/.wine/drive_c/users/$USER/AppData/Roaming/Zebedee/wine zebedee.exe -f client.zbd -d &PID=$!wine ~/.wine/drive_c/Program\ Files/SAP/FrontEnd/SAPGUI/saplogon.exekill -9 $PID
  6. Install the SAP launch script globally

    To launch SAP from any directory without specifying the path to the script, move the startsap file to /usr/local/bin/ using sudo.
    sudo cp ./startsap /usr/local/bin/startsap
  7. Change SAP GUI default theme via Wine registry

    To change the SAP GUI default theme to the most usable version, modify the Windows registry key for Appearance using the wine reg command.
    wine reg add "HKEY_CURRENT_USER\Software\SAP\General\Appearance" -v "SelectedTheme" -t REG_DWORD -d "0x00000100" -f