[sapui5][abap] Use Eclipse to push code to ABAP repository (temporary)
Hi,
For now, local SAP Web IDE cannot be used to push code to ABAP repository.
So we have to use Eclipse as a workaround.
This post we will make a tutorial to do that.
- If your company use firewall, you may have an error connecting to the Internet when "Install new software...". In that case, please use network proxy to access the internet (should ask your IT department the proxy server information):
You can check whether the software gets installed or not by checking in Help/About:
- Open SAP GUI.
- Check if your connection is working, if not; create a new connection to your server:
NOTE: in case your eclipse still cannot see the connection (eg. C46), you need to make an additional change to sap logon setting:
1/ Follow screenshots to get the path of the saplogon.ini:
2/ Edit the saplogon.ini file to add a line of your connection.
- If you select an existing project, the code from the server will be pulled and overwrite your local code. So be careful with this option.
- If it's new project, create a new one on the server.
Done,
---V---
For now, local SAP Web IDE cannot be used to push code to ABAP repository.
So we have to use Eclipse as a workaround.
This post we will make a tutorial to do that.
1. Setup Eclipse environment:
- Get Eclipse as described in this link.- If your company use firewall, you may have an error connecting to the Internet when "Install new software...". In that case, please use network proxy to access the internet (should ask your IT department the proxy server information):
You can check whether the software gets installed or not by checking in Help/About:
2. Connect to ABAP repository using SAP GUI:
Make sure that the connection is ready & on so that you can connect easily using Eclipse.- Open SAP GUI.
- Check if your connection is working, if not; create a new connection to your server:
Create new connection |
Input server information to connect to |
1/ Follow screenshots to get the path of the saplogon.ini:
2/ Edit the saplogon.ini file to add a line of your connection.
There are 3 lines for each connection |
3. Share your project to connect Eclipse to ABAP repository:
- Connect to ABAP repository:
- If you select an existing project, the code from the server will be pulled and overwrite your local code. So be careful with this option.
- If it's new project, create a new one on the server.
4. Push changes to server
One you get changes done; push the code to server:Done,
---V---
Nhận xét
Đăng nhận xét