Set up user accounts and permissions required for SAP BW/4HANA metadata extraction in Atlan.
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 method | Traffic comes from | What to configure |
|---|---|---|
| Direct connection | Your Atlan tenant's outbound IP addresses | Inbound on the SAP ports below, from those IP addresses only. See Direct connection. |
| Private link | Atlan's private endpoint, through your load balancer | Gateway 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 Runtime | The runtime inside your network | Outbound on the SAP ports below from the runtime, plus outbound HTTPS (443) to Atlan. |
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:
| Port | SAP service | When it's needed |
|---|---|---|
33NN | Gateway | Always. With Message Server, open it to every application server in the logon group. |
36NN | Message server | Only when Connection Type is Message Server. Use the port your message server listens on if it isn't the default. |
3299 | SAProuter | With 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.
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.
- 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.
- On every firewall between the internet and your SAP system, permit inbound TCP from those addresses on the SAP ports you need.
- When you crawl, choose the Direct extraction method.
Create communication user for metadata extraction
- In the SAP GUI command field, enter
SU01and press Enter to open User Maintenance. - In the User field, enter a name for the new service user and click Create.
- On the Address tab, provide the required contact information.
- Open the Logon Data tab and:
- Set an initial password (enter it twice).
- Set User Type to C (Communications Data).
- 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
- 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.
- Click Save to confirm the changes.
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.