
## Set up SAP BW/4HANA

URL: https://docs.atlan.com/apps/connectors/erp/sap-bw4hana/how-tos/set-up-sap-bw4hana

> Set up user accounts and permissions required for SAP BW/4HANA metadata extraction in Atlan.

# Set up SAP BW/4HANA 

Create a dedicated service user in SAP BW/4HANA and assign the required RFC permissions so Atlan can extract metadata from your system.

## Prerequisites

Before you begin, make sure you have:

- Administrative access to SAP BW/4HANA.
- Self-Deployed Runtime deployed that meets the system requirements. For installation, see [Install Self-Deployed Runtime](https://docs.atlan.com/llms/platform/self-deployed-runtime/install-runtime/llms.txt).
- Reviewed [how Atlan connects to SAP BW/4HANA](https://docs.atlan.com/llms/connectors/sap-bw4hana/how-atlan-connects-to-sap-bw4hana/llms.txt) to understand the connection model before configuring access.
- SAP system details, including:
 - Host
 - System number
 - Client number

## Create communication user for metadata extraction

1. In the SAP GUI command field, enter `SU01` and press **Enter** to open **User Maintenance**.
2. In the **User** field, enter a name for the new service user and click **Create**.
3. On the **Address** tab, provide the required contact information.
4. Open the **Logon Data** tab and:
 - Set an initial password (enter it twice).
 - Set **User Type** to **C (Communications Data)**.
5. Switch to the **Roles** tab and assign roles that enable:
 - Remote function call (RFC) execution
 - Table-level read access for metadata tables
 - Access to system-level information
6. Verify that the assigned roles enable execution of these RFC modules:
 - `STFC_CONNECTION`: Verifies connectivity between Atlan and SAP BW/4HANA.
 - `RFC_SYSTEM_INFO`: Retrieves system metadata such as SYSID, operating system, and release version.
 - `RFC_READ_TABLE`: Enables table-level reads for metadata extraction.
7. Click **Save** to confirm the changes.

:::note
The user must change the password on first login.
:::

## Next steps

- [Crawl SAP BW/4HANA](https://docs.atlan.com/llms/connectors/sap-bw4hana/crawl-sap-bw4hana/llms.txt): Follow the instructions to extract metadata using the configured service user.

---
