Skip to main content
Save my spot
TL;DR

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

Your AI can read this via Docs MCPcurl -fsSL "https://docs.atlan.com/install-docs-mcp" | bashConnect

Set up SAP BW/4HANA Public Preview

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.
  • A connectivity method: a direct connection, a private link, or Self-Deployed Runtime. See How Atlan connects to SAP BW/4HANA to choose one. If you use Self-Deployed Runtime, deploy it first. See Install Self-Deployed Runtime.
  • SAP system details, including:
    • Host
    • System number
    • Client number

SAP Java Connector (JCo)​

Atlan reads metadata from SAP BW/4HANA over RFC using the SAP Java Connector (JCo) 3.1 SDK.

You need SAP JCo 3.1 whether or not you use Self-Deployed Runtime. Download it from the SAP Java Connector page. You need an SAP S-user to download it. Work with your Atlan implementation team to put the JCo library in the right place for your deployment.

Network requirements​

Atlan reaches SAP BW/4HANA over RFC. Which firewall you open, and in which direction, depends on how Atlan connects:

Connectivity methodTraffic comes fromWhat to configure
Direct connectionYour Atlan tenant's outbound IP addressesInbound on the SAP ports below, from those IP addresses only. See Direct connection.
Private linkAtlan's private endpoint, through your load balancerGateway port 33NN on the load balancer and application server. See Set up AWS private network link to SAP BW/4HANA or Set up Azure private network link to SAP BW/4HANA.
Self-Deployed RuntimeThe runtime inside your networkOutbound on the SAP ports below from the runtime, plus outbound HTTPS (443) to Atlan.
Supported connection options

A direct connection supports the Application Server and Message Server connection types. A private link supports the Application Server connection type. Self-Deployed Runtime supports both connection types and SAProuter. See Supported connection options.

SAP ports​

Open these ports, where NN is your SAP system number from 00 to 99:

PortSAP serviceWhen it's needed
33NNGatewayAlways. With Message Server, open it to every application server in the logon group.
36NNMessage serverOnly when Connection Type is Message Server. Use the port your message server listens on if it isn't the default.
3299SAProuterWith Self-Deployed Runtime, when Use SAP Router is Yes. The runtime connects to the SAProuter host instead of the SAP system directly. 3299 is the SAProuter default; if your SAProuter listens on a different port, open that port instead.

For example, for system number 00, open port 3300, plus 3600 if you connect through a message server.

Direct connection​

With a direct connection, Atlan connects from a fixed set of outbound IP addresses that belong to your tenant. Permit only those addresses.

note

Most SAP security teams don't permit direct connections into SAP from outside the network. Check with your security team before you choose this method. If it isn't permitted, use a private link or Self-Deployed Runtime.

  1. Raise a support request with your tenant URL and ask for your tenant's outbound IP addresses for SAP RFC allowlisting, and to be notified if they change. Each tenant has its own addresses, so values from another tenant, including your own sandbox, won't work. See Atlan Network Details.
  2. On every firewall between the internet and your SAP system, permit inbound TCP from those addresses on the SAP ports you need.
  3. When you crawl, choose the Direct extraction method.

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: Follow the instructions to extract metadata using the configured service user.