跳转至

Folder-based SAP pipelines(基于文件夹的 SAP 管道)

HyperAuto V2 also supports creating pipelines from SAP data without needing a direct SAP connection. This provides flexibility, enabling support for a large variety of architecture, including source mirrors, static data extracts and pre-filtered data.

Set up a HyperAuto V2 pipeline for SAP static data

To create a HyperAuto V2 pipeline on top of SAP datasets, set up a single Foundry folder containing:

  • Input table datasets (one dataset per SAP table you want to process)
  • Data dictionary tables

Keep all datasets directly within the same folder to ensure auto-detection works and to minimize the pipeline creation steps. Calling the input table datasets by their SAP table name (for example, MARA) will facilitate the auto-mapping process and reduce the number of manual steps required.

The data needs to be an untransformed extract of raw SAP tables, with their technical column names.

Data dictionary tables

Data dictionary tables contain the necessary metadata from SAP with which HyperAuto generates a pipeline, including table and column descriptions, and descriptions of the relationships between tables.

The data dictionary tables required to create a folder-based SAP HyperAuto pipeline are:

  • DD02L (Details of tables in the SAP system)
  • DD02T (Descriptive text and labels for tables in different languages)
  • DD03L (Field definitions, data types, and lengths)
  • DD04T (Descriptions and labels for data elements in multiple languages)
  • DD05S (Details of foreign key relationships, including the parent and child table fields)
  • DD08L (Metadata about the foreign key relationships between tables in the SAP system)

Data dictionary tables must be in their raw format and unfiltered for HyperAuto to function properly.

Example

To create a basic HyperAuto pipeline on top of an SAP system's MARA and MAKT tables, create a folder containing the following datasets:

Folder based input example

Create a folder-based pipeline

  1. Once you have your input folder set up, navigate to the HyperAuto homepage to create the new pipeline. This can be found via the Applications browser in the left-hand sidebar of Foundry.

HyperAuto app homepage

  1. Click + Create Pipeline to open the create pipeline dialogue.

Create pipeline

  1. Here you are provided the choice to create a typical pipeline (which will require a live SAP connection) or a folder-based SAP pipeline. Select "Folder (SAP only)" and choose your input folder by clicking Browse.

Click Create Pipeline to be taken to the HyperAuto pipeline creation wizard.

Create new folder based pipeline

Setup wizard

  1. Now, you will define the basic pipeline configuration similarly to source-based pipelines.

First, choose a valid name and location for the pipeline.

Create new folder based pipeline

  1. The source configuration step ensures HyperAuto is aware of the data dictionary tables such that it can read the necessary metadata to build the pipeline.

If the input is set up correctly these will be automatically mapped. Otherwise, manually map each metadata table before progressing.

Source configuration

  1. The next step is to choose the inputs to be processed. By default, only discoverable inputs (those which have datasets matching by name directly within the input folder) are shown in the input selection interface.

Discovered input configuration

To show all available tables (based on the data dictionary tables) click Show undiscovered tables.

Adding an undiscovered table will require you to manually map the input to an appropriate Foundry dataset for it to be usable as an input.

Discovered input configuration

:::callout{theme="warning"} Creating a pipeline with an unmapped input will cause that input to be ignored. :::

  1. Select the pipeline configuration as desired and click Create HyperAuto Pipeline to complete the wizard and trigger pipeline creation.

Pipeline configuration


中文翻译

基于文件夹的 SAP 管道

HyperAuto V2 还支持从 SAP 数据创建管道,无需直接连接 SAP。这提供了灵活性,能够支持多种架构,包括源镜像、静态数据提取和预过滤数据。

为 SAP 静态数据设置 HyperAuto V2 管道

要在 SAP 数据集之上创建 HyperAuto V2 管道,请设置一个包含以下内容的 Foundry 文件夹:

  • 输入表数据集(每个要处理的 SAP 表对应一个数据集)
  • 数据字典表

将所有数据集直接放在同一文件夹中,以确保自动检测功能正常工作,并尽量减少管道创建步骤。按照 SAP 表名(例如 MARA)命名输入表数据集,将有助于自动映射过程,并减少所需的手动步骤数量。

数据必须是未经转换的原始 SAP 表提取,并保留其技术列名。

数据字典表

数据字典表包含 HyperAuto 生成管道所需的 SAP 元数据,包括表和列描述,以及表之间关系的描述。

创建基于文件夹的 SAP HyperAuto 管道所需的数据字典表包括:

  • DD02L(SAP 系统中的表详情)
  • DD02T(不同语言中表的描述性文本和标签)
  • DD03L(字段定义、数据类型和长度)
  • DD04T(多种语言中数据元素的描述和标签)
  • DD05S(外键关系详情,包括父表和子表字段)
  • DD08L(SAP 系统中表之间外键关系的元数据)

数据字典表必须保持原始格式且未经过滤,HyperAuto 才能正常运行。

示例

要在 SAP 系统的 MARAMAKT 表之上创建基本的 HyperAuto 管道,请创建一个包含以下数据集的文件夹:

基于文件夹的输入示例

创建基于文件夹的管道

  1. 设置好输入文件夹后,导航到 HyperAuto 主页以创建新管道。可以通过 Foundry 左侧边栏中的"应用程序"浏览器找到该主页。

HyperAuto 应用主页

  1. 点击 + 创建管道 打开创建管道对话框。

创建管道

  1. 在此处,您可以选择创建典型管道(需要实时 SAP 连接)或基于文件夹的 SAP 管道。选择"文件夹(仅限 SAP)",然后点击浏览选择您的输入文件夹

点击创建管道进入 HyperAuto 管道创建向导。

创建新的基于文件夹的管道

设置向导

  1. 现在,您将像基于源的管道一样定义基本管道配置。

首先,为管道选择一个有效的名称和位置。

创建新的基于文件夹的管道

  1. 源配置步骤确保 HyperAuto 能够识别数据字典表,从而读取构建管道所需的必要元数据。

如果输入设置正确,这些表将自动映射。否则,请手动映射每个元数据表,然后再继续。

源配置

  1. 下一步是选择要处理的输入。默认情况下,输入选择界面中仅显示可发现的输入(即在输入文件夹内具有名称匹配数据集的输入)。

已发现的输入配置

要显示所有可用表(基于数据字典表),请点击显示未发现的表

添加未发现的表需要您手动将输入映射到相应的 Foundry 数据集,才能将其用作输入。

已发现的输入配置

:::callout{theme="warning"} 创建包含未映射输入的管道将导致该输入被忽略。 :::

  1. 根据需要选择管道配置,然后点击创建 HyperAuto 管道以完成向导并触发管道创建。

管道配置