Skip to main content
Community Hub
TL;DR

Extract and catalog metadata from your SAP S/4HANA system including tables, fields, CDS views, Fiori apps, and modules in Atlan.

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

Crawl SAP S/4HANA

Extract and catalog metadata from your SAP S/4HANA system including tables, fields, CDS views, Fiori apps, and modules in Atlan. Once configured, the crawler connects to your SAP S/4HANA system through Self-Deployed Runtime and automatically discovers your SAP assets.

Prerequisites​

Before you begin, make sure you have:

Create crawler workflow​

To create and configure the SAP S/4HANA crawler workflow, complete the following steps.

  1. In your Atlan workspace, click Connectors in the left sidebar.

    • If you are using the Old UI (Classic), click New Workflow in the top navigation.
  2. Click Marketplace.

  3. Search for SAP S/4HANA Assets and select it.

  4. Click Install.

  5. Once installation completes, click Setup Workflow on the same tile.

Configure metadata extraction​

Atlan supports using Self-Deployed Runtime for fetching metadata from SAP S/4HANA.

  1. Install Self-Deployed Runtime if you haven't already:

  2. Select the Agent tab.

  3. Add secret keys for your SAP S/4HANA credentials in the linked secret store.

  4. Provide the following SAP S/4HANA connection parameters:

    • SAP Host Name: The hostname or IP address of your SAP S/4HANA system
    • SAP User Name: The dedicated user account for metadata extraction
    • SAP Password: The password for the user account
    • Connection Type: Choose between Application Server or Message Server. If you choose Message Server, provide:
      • Port: Port number (required if using Message Server)
      • Group: Group number (required if using Message Server)
    • SAP System Number: Two-digit system identifier (00-99)
    • SAP Client Number: Three-digit client identifier (001-999)
    • SAP Router String: Optional. The SAProuter route string, such as /H/saprouter.example.com/S/3299. Leave empty if the runtime reaches your SAP S/4HANA system directly.
    • Use SNC: Choose Yes to protect the connection with SNC. Complete Set up SNC first. If you choose Yes, provide:
      • SNC Partner Name: The SNC name of your SAP S/4HANA system, such as p:CN=sap.example.com, O=Example, C=DE
      • SNC Quality of Protection: Defaults to 3 - Privacy (encryption). Choose 9 - Maximum available to request the strongest protection your SAP S/4HANA system supports.
      • SNC My Name: Optional. The connector's SNC name. Leave empty to use the identity stored in the client PSE.
      • Client PSE File (SAPSNCS.pse) and PSE Credentials File (cred_v2): The connector's client PSE and the file that opens it without a PIN. For each, enter the secret store key that holds the base64-encoded file, or an objectstore:// path in your deployment bucket.
  5. Click Next after completing the configuration.

Configure connection​

To complete the SAP S/4HANA connection configuration:

  1. Provide a connection name that represents your source environment, such as production, development, gold, or analytics.

  2. To change the users able to manage this connection, change the users or groups listed under Connection Admins. If you don't specify any user or group, nobody can manage the connection - not even admins.

  3. Click Next to proceed.

Configure crawler​

Configure which SAP S/4HANA components to include or exclude and set advanced crawler options.

To configure component filters:

  • Include Components: Enter, as JSON, the components to crawl. Atlan crawls each component you list and everything under it. See Component filter examples.
  • Exclude Components: Enter, as JSON, the components to leave out of the crawl. See Component filter examples.
  • Asset types: Select the asset types to crawl. Leave this empty to crawl all supported asset types. Available options are Table, View, ABAP Program, Transaction Codes, Function Modules, CDS View, Fiori App, Classes & Characteristics, and Data Source.
  • Enable glossary ingestion: Choose whether Atlan builds a business glossary from your SAP F1 field help and links its terms to the columns it crawls. Off by default. See Glossary ingestion before you turn it on.
  • To configure advanced crawler settings:
    • SAP Language: Language code (default: EN)
    • SAP Codepage: Character encoding (default: 0)
    • SAP Unicode System: Choose Yes to use unicode
    • Unicode Support: Choose Yes to enable Unicode support
    • SAP Trace: Choose Yes to enable trace logging for debugging
    • Connection Pool Size: Maximum number of connections (default: 5)

Component filters apply to tables, views, CDS views, and columns, and to the glossary when you enable glossary ingestion. SAP stores classification classes as customizing data rather than repository objects, so component filters have no effect on classes and characteristics. Selecting a narrow set of components still returns every class. To exclude them, deselect Classes & Characteristics in Asset types.

Component filters also have no effect on which DataSources Atlan crawls: Atlan crawls every DataSource that a receiving system is using. Component filters do decide which source tables Atlan crawls, and Atlan only creates DataSource lineage to tables it has crawled in the same run. To see lineage from DataSources to their source tables, select Table alongside Data Source, and ABAP Program to link each DataSource to its extractor program. For details, see DataSource lineage.

Component filter examples​

Enter Include Components and Exclude Components as JSON. Both filters take SAP application component codes, such as FI, SD, or BC-CCM, from the component hierarchy of your SAP S/4HANA system. The following examples help you write the JSON for common scenarios.

Look up component codes in your system

If you're unsure which components your SAP S/4HANA system has or what they're called, open transaction SE16 (or SE16N) in the SAP GUI and browse these tables:

  • DF14L: the application component hierarchy. The PS_POSID field holds the component code, such as LO-MD-MM.
  • DF14T: the component descriptions. Filter on LANGU = E for English names.

DF14L and DF14T share the FCTR_ID field, so you can match each code to its description.

  • Use component codes, not display names. A display name such as Sales and Distribution matches nothing.
  • A component covers everything under it. Selecting LO-MD also selects LO-MD-MM, LO-MD-BP, and every other component under LO-MD.
  • Exclude wins. If a component is in both filters, Atlan excludes it.
  • An empty include filter means everything. If you leave Include Components empty, Atlan crawls every component except the ones in Exclude Components.
  • Unknown codes are skipped. Atlan skips codes that don't exist in your SAP S/4HANA system without raising an error. After the first run, check that the tables you expect are in Atlan.

Each filter is a JSON object with SAP as its only top-level key. Put each component code directly under SAP, with {} as its value:

{"SAP":{"FI":{},"CO":{}}}

To combine examples, merge their components into one SAP object.

  • Finance: Include AC and FIN alongside FI and CO to crawl the Universal Journal and other SAP S/4HANA finance components.
  • Customers and suppliers: SAP S/4HANA manages customers and suppliers as business partners. Include BC-SRV-BP to crawl business partner tables such as BUT000.
  • Warehouse: Include SCM-EWM if you run SAP Extended Warehouse Management embedded in SAP S/4HANA.
ModuleSAP S/4HANA
Finance{"SAP":{"AC":{},"FI":{},"FIN":{},"CO":{}}}
Sales{"SAP":{"SD":{},"LO-MD":{},"BC-SRV-BP":{}}}
Procurement{"SAP":{"MM":{},"LO-MD":{},"BC-SRV-BP":{}}}
Material master{"SAP":{"LO-MD":{},"CA-CL":{}}}
Production planning{"SAP":{"PP":{},"LO-MD":{}}}
Plant maintenance{"SAP":{"PM":{}}}
Quality management{"SAP":{"QM":{}}}
Warehouse{"SAP":{"LE":{},"SCM-EWM":{}}}
Batch and handling units{"SAP":{"LO-BM":{},"LO-HU":{}}}
Project System{"SAP":{"PS":{}}}

For example, to crawl finance, sales, procurement, and material master in SAP S/4HANA:

{"SAP":{"AC":{},"FI":{},"FIN":{},"CO":{},"SD":{},"MM":{},"LO-MD":{},"BC-SRV-BP":{},"CA-CL":{}}}

Exclude examples​

Every SAP S/4HANA system ships with technical components and industry solutions you may never use. Their tables add noise to search, lineage, and the glossary, and make each crawl longer. To crawl everything except these components, leave Include Components empty and add the components you don't need to Exclude Components.

Basis components​

Basis (BC) is the technical layer that runs the SAP S/4HANA system. Its tables describe how the system operates, such as background jobs, transport requests, ABAP development objects, and user authorizations, rather than your business data. They rarely appear in reporting or lineage, and some hold user and security data you may not want visible in a catalog.

ComponentNameWhat its tables hold
BC-CCMComputing Center ManagementBackground jobs, system logs, and monitoring
BC-CTSChange and Transport SystemTransport requests and logs
BC-DWBABAP WorkbenchABAP development objects and repository metadata
BC-ABAABAP Runtime EnvironmentABAP language and runtime internals
BC-CSTClient/Server TechnologyKernel, work processes, and memory management
BC-DBDatabase InterfaceDatabase administration tables
BC-SECSecurityUser master and authorization data, which you may not want visible in a catalog
BC-UPGUpgradeUpgrade and conversion tools
BC-I18InternationalizationCode pages and language settings
BC-FESFront-End ServicesSAP GUI settings
BC-MIDMiddlewareRFC and ALE/IDoc processing. Keep it if you want IDoc tables in Atlan.
BC-SRV-COMCommunication ServicesSAPconnect send requests and mail logs
BC-SRV-KPRKnowledge ProviderDocument storage internals
SVSAP ServiceService and support tools
{"SAP":{"BC-CCM":{},"BC-CTS":{},"BC-DWB":{},"BC-ABA":{},"BC-CST":{},"BC-DB":{},"BC-SEC":{},"BC-UPG":{},"BC-I18":{},"BC-FES":{},"BC-MID":{},"BC-SRV-COM":{},"BC-SRV-KPR":{},"SV":{}}}
warning

Don't exclude all of BC or BC-SRV. Business partner tables such as BUT000 belong to BC-SRV-BP, and address tables such as ADRC belong to BC-SRV-ADR. Customer, supplier, and address data depends on them.

Industry solutions you don't run​

SAP installs its industry solution components in every system, whether or not you license or use them. Their tables exist but stay empty, so crawling them only adds clutter. Exclude every industry solution that doesn't apply to your business, and keep the ones you run.

ComponentIndustry solution
IS-UUtilities
IS-OILOil and Gas
IS-HHealthcare
IS-MMedia
IS-PSPublic Sector
IS-AAutomotive
IS-RRetail
IS-ADECAerospace and Defense
IS-DFSDefense and Security
IS-MPMill Products
IS-TTelecommunications
IS-HERHigher Education and Research
IS-BBanking
FSFinancial Services and Insurance
FI-CAContract Accounting, used mostly by utilities, telecommunications, and insurance
{"SAP":{"IS-U":{},"IS-OIL":{},"IS-H":{},"IS-M":{},"IS-PS":{},"IS-A":{},"IS-R":{},"IS-ADEC":{},"IS-DFS":{},"IS-MP":{},"IS-T":{},"IS-HER":{},"IS-B":{},"FS":{},"FI-CA":{}}}

Industry solution components vary by release, and some don't exist in SAP S/4HANA. Atlan skips codes your system doesn't have.

Modules you don't use​

Many SAP S/4HANA systems have modules installed that the business never adopted. Confirm with your SAP functional team before you exclude any of these.

ComponentModule
PSProject System
QMQuality Management
PMPlant Maintenance
CSCustomer Service
PP-PIProduction Planning for Process Industries. Discrete manufacturers rarely use it.
LE-WMWarehouse Management. SAP Extended Warehouse Management replaces it in SAP S/4HANA.
SCM-EWMSAP Extended Warehouse Management, if you don't run it embedded in SAP S/4HANA
LO-ABAgency Business
LO-VCVariant Configuration
RE-FXFlexible Real Estate Management
EHSEnvironment, Health, and Safety
FIN-FSCM-TRMTreasury and Risk Management
PA, PY, PTPersonnel Administration, Payroll, and Time Management, if HR runs in a separate system or you don't want HR data in Atlan
BWEmbedded SAP Business Warehouse
{"SAP":{"PS":{},"QM":{},"PM":{},"CS":{},"PP-PI":{},"LE-WM":{},"SCM-EWM":{},"LO-AB":{},"LO-VC":{},"RE-FX":{},"EHS":{},"FIN-FSCM-TRM":{},"PA":{},"PY":{},"PT":{},"BW":{}}}
Combine exclusions​

This example excludes the Basis components and industry solutions in the preceding tables:

{"SAP":{"BC-CCM":{},"BC-CTS":{},"BC-DWB":{},"BC-ABA":{},"BC-CST":{},"BC-DB":{},"BC-SEC":{},"BC-UPG":{},"BC-I18":{},"BC-FES":{},"BC-MID":{},"BC-SRV-COM":{},"BC-SRV-KPR":{},"SV":{},"IS-U":{},"IS-OIL":{},"IS-H":{},"IS-M":{},"IS-PS":{},"IS-A":{},"IS-R":{},"IS-ADEC":{},"IS-DFS":{},"IS-MP":{},"IS-T":{},"IS-HER":{},"IS-B":{},"FS":{},"FI-CA":{}}}
Components to keep​

Don't exclude these components unless you're sure you don't need their data:

  • BC-SRV-BP: business partners, which hold customers and suppliers in SAP S/4HANA
  • BC-SRV-ADR: central address management
  • LO-MD: logistics master data, including the material master
  • CA-CL: classification

Glossary ingestion​

SAP ships documentation for each data element. It's the text a user sees after pressing F1 on a field in the SAP GUI. Turn on Enable glossary ingestion to have the crawler read that documentation and build a business glossary from it in the same run that crawls your tables and columns.

When the toggle is on, Atlan:

  • Creates one glossary for the connection, named SAP S/4HANA (<connection name>).
  • Creates one term per data element, named after the data element's description and technical name, for example Base Unit of Measure (MEINS). The term description is the F1 long text, converted to Markdown.
  • Organizes terms into categories that mirror the SAP application component hierarchy, such as LO > LO-MD > LO-MD-MM.
  • Links each term to the crawled columns that use its data element, so the business definition shows up on the column and the column shows up under the term.

Keep the following in mind before you turn it on:

  • Additional table access: Glossary ingestion reads two SAP documentation tables that the crawler doesn't otherwise touch. If you authorized table reads by name pattern, table group, or exact table name, ask your Atlan team for the updated list and grant the additions before you enable the toggle. The preflight check probes these tables only when the toggle is on.
  • Longer runs: The F1 documentation table holds millions of rows on a typical SAP S/4HANA system, so a run with glossary ingestion on takes longer than a run without it.
  • Component filters apply: Atlan builds terms only for data elements used by tables in the components you include, so a narrow component selection produces a narrow glossary.
  • English only: Atlan reads the English version of the documentation.

For how Atlan names, categorizes, and links terms, see Glossary.

Run crawler​

Choose how and when to run the crawler to extract metadata from your SAP S/4HANA system.

  1. You can either:
    • To run the crawler once immediately, click Run
    • To schedule the crawler to run hourly, daily, weekly, or monthly, click Schedule Run

Once the crawler completes, you can view the discovered SAP S/4HANA assets in Atlan's asset page.

See also​