---
parser: v2
auto_validation: true
primary_tag: software-product-function>sap-s-4hana-cloud--abap-environment
tags:  [ tutorial>beginner, software-product-function>sap-s-4hana-cloud--abap-environment, programming-tool>abap-development, programming-tool>abap-extensibility]
time: 25
author_name: Merve Temel
author_profile: https://github.com/mervey45
slug: abap-s4hanacloud-login
canonical_url: https://developers.sap.com/tutorials/abap-s4hanacloud-login
---

# Log into SAP S/4HANA Cloud, ABAP Environment or SAP S/4HANA On-Premise 
<!-- description --> Learn how to log into an SAP S/4HANA Cloud, ABAP Environment or SAP S/4HANA on-premise system.

 
## Prerequisites  
- You have installed the latest [Eclipse with ADT](abap-install-adt). For the installation process, please follow [this tutorial](abap-install-adt).


## You will learn  
- How to log into SAP S/4HANA Cloud, ABAP Environment
- How to log into SAP S/4HANA on-premise


---

### Log into your system

Choose between the tabs **SAP S/4HANA Cloud, ABAP Environment** and **SAP S/4HANA on-premise** and follow the login process.

  [OPTION BEGIN [SAP S/4HANA Cloud, ABAP Environment]] 


  1. Open Eclipse, select **File** > **New** > **Other**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon.png)

  2. Search **ABAP Cloud Project**, select it and click **Next >**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon2.png)

  3. Select **SAP S/4HANA Cloud, ABAP Environment**, enter the ABAP service instance URL and click **Next >**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon3.png)

  4. Click **Open Logon Page in Browser** to log in.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon4.png)

      **HINT**: The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing `/ui` you can log into the SAP S/4HANA Cloud, ABAP Environment system. Further information can be found [here](https://help.sap.com/docs/SAP_S4HANA_CLOUD/6aa39f1ac05441e5a23f484f31e477e7/4b962c243a3342189f8af460cc444883.html?locale=en-US&state=DRAFT).

  5. Click **Next >**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon5.png)

  6. Check your ABAP service instance connection and click **Finish**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon6.png)

  7. Now your project will be available in the project explorer.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/logon7.png)

  [OPTION END]

  [OPTION BEGIN [SAP S/4HANA on-premise]] 

  **For S/4HANA on premise:**
   - Remark that SAP S/4HANA 2022 `(FPS01)` [Fully-Activated Appliance](https://blogs.sap.com/2018/12/12/sap-s4hana-fully-activated-appliance-create-your-sap-s4hana-1809-system-in-a-fraction-of-the-usual-setup-time/) can be used.
   - The steps for fully-Qualified Domain Name & SSL Certificates can be found [here](https://www.sap.com/documents/2020/06/109b1be0-9e7d-0010-87a3-c30de2ffd8ff.html).

  **Hint:** Remark for Set Up Developer Extensibility, if CAL instance is not used but bare-minimum [S/4HANA on-premise](https://help.sap.com/docs/ABAP_PLATFORM_NEW/ed0e11412f9841e7ac5cd9a6799368d4/31367ef6c3e947059e0d7c1cbfcaae93.html?state=DRAFT&version=202210.latest). Please follow these steps, if you don't use a CAL instance.
   - For SAP S/4HANA on-premise, create developer user with full development authorization.


  1. Open Eclipse, select **File** > **New** and **ABAP Project**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative.png)

  2. In the System Connection dialogue click on the link **new system connection**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative2.png)

  3. In the Connection Settings dialogue choose the connection type Custom Application Server. Then enter the following connection information:

      - System ID: `S4H`
      - Application Server: `xxx.xxx.xxx.xxx`
      - Instance Number: 00
      - and **deactivate** the check box **Activate Secure Network Communication (SNC)**

      Click **Next >**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative3.png)

  4. Enter your credentials:
    
      - Client: `xxx`
      - User: `XXX`
      - Password: `xxxxxxxx`
      - Language: `xx`
      
      Click **Next >**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative5.png)

  5. You can change the ABAP project name if you want. Click **Finish**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative6.png)

  6. Add `ZLOCAL` to your favorites packages. Right click on **Favorite Packages** in your newly created ABAP project.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative7.png)

  7. Search for `ZLOCAL`. Select the entry and press **OK**.

      ![logon](https://raw.githubusercontent.com/sap-tutorials/abap-core-development/main/tutorials/abap-s4hanacloud-login/alternative8.png)

  [OPTION END]

### Test yourself
 
