2023 Aug 28 10:03 AM
Hi,
I have installed "ABAP Platform Trial 1909" using the Docker image, following these instructions: https://hub.docker.com/r/sapse/abap-platform-trial
Then I have installed Eclipse and the plugin "ABAP Development Tools" (ADT).
Then in Eclipse I have created a new ABAP project.
I get a first error message:
If I press OK I am able to manage the connection settings as described in above link.
NB: I tried several values for Application Server: "localhost", "127.0.0.1", and "vhcala4hci" after having completed the hosts file with these additional lines:
# SAP System A4H Developer Edition on Docker<br>127.0.0.1 vhcala4hci<br># End of section
Below the next screen for the connection settings:
OK now I am able to create my first ABAP program:
But when I try to execute the program, I get the following error: "Failed to create the part's controls".
And I get this message in the error log: "The SapGuiServer path could not be determined".
I don't know what to do. Any help would be much appreciated.
2023 Aug 28 11:17 AM
Hi jeromeblancsap,
As you are trying to access SAP GUI app, hence it's mandatory that SAP GUI should be installed on your system.
Download it using SAP GUI. Once it's installed and restart your system and check below steps:
Open Eclipse and Navigate to Windows->Preferences->ABAP Development->System Connections and check if it detects file path automatically. Then you can start using SAPGUI apps via Eclipse.
If it does not detect above file paths, then click on Define manually and enter below entries:
C:\Users\<windows_user_name>\AppData\Roaming\SAP\Common\SAPUILandscape.xml
C:\Users\<windows_user_name>\AppData\Roaming\SAP\Common\SAPUILandscapeGlobal.xml
Click on Apply and close it. Restart Eclipse and it should start working.
Reward if it helps you.
Thank you.
BR,
Saif
2023 Aug 28 10:03 AM
Hello,
Thank you for visiting SAP Community to get answers to your questions.
As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement & additional resources to your reference that can really benefit you:
All the best,
Anne
2023 Aug 28 10:17 AM
You're trying to run a GUI application and the GUI is not installed.
(that also explains the first warning that you see)
2023 Aug 28 11:17 AM
Hi jeromeblancsap,
As you are trying to access SAP GUI app, hence it's mandatory that SAP GUI should be installed on your system.
Download it using SAP GUI. Once it's installed and restart your system and check below steps:
Open Eclipse and Navigate to Windows->Preferences->ABAP Development->System Connections and check if it detects file path automatically. Then you can start using SAPGUI apps via Eclipse.
If it does not detect above file paths, then click on Define manually and enter below entries:
C:\Users\<windows_user_name>\AppData\Roaming\SAP\Common\SAPUILandscape.xml
C:\Users\<windows_user_name>\AppData\Roaming\SAP\Common\SAPUILandscapeGlobal.xml
Click on Apply and close it. Restart Eclipse and it should start working.
Reward if it helps you.
Thank you.
BR,
Saif
2023 Aug 28 5:28 PM
Thank you very much Mohammad!
This works perfectly. Just one thing to add : the landscape XML files are available only after having completed the connection parameters in the SAP Logon (before this step, the directory AppData\Roaming\SAP\ doesn't even exist).
2023 Aug 28 6:41 PM
Hi jeromeblancsap,
Actually that's default directory while you install SAP GUI.
Although this directory might not appear if you follow path, but if you search SAPUILandscape in your C drive, it will display.
Hope this will clarify your doubt.
Regards,
Saif