[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.

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
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.



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

Bài đăng phổ biến từ blog này

Tại sao lại chụp ảnh theo bố cục 1/3 ?

[sapui5] Best Practice in sapui5 development

Implement Search field with case-INSENSITIVE by SAP UI5