简体   繁体   English

使用 SAP 表连接器将 BSEG 表增量加载到 AZure

[英]Delta Load on BSEG table into AZure using SAP table conenctor

We are using SAP ABAP oracle environment.I'm trying to implement Change Data capture for the SAP BSEG table in Azure datafactory using SAP table connector.我们正在使用 SAP ABAP oracle 环境。我正在尝试使用 SAP 表连接器为 Azure 数据工厂中的 SAP BSEG 表实施变更数据捕获。 In SAP table connector, I don't see an option to pass any join conditions.在 SAP 表连接器中,我没有看到传递任何连接条件的选项。 Based on what fields we can capture the CDC on BSEG table.基于哪些字段我们可以捕获 BSEG 表上的 CDC。

BSEG is a cluster table. BSEG 是一个簇表。 It dates back to R2 days on Mainframes.它可以追溯到大型机的 R2 时代。 See Se11 BSEG --> Menu option Database Object --> Database utility.请参阅 Se11 BSEG --> 菜单选项数据库 Object --> 数据库实用程序。 Run Check.运行检查。 It will most likely say NOT ON DATABASE.它很可能会说 NOT ON DATABASE。

If you want to access the data via views see one of the numerous index tables.如果您想通过视图访问数据,请参阅众多索引表之一。
BSxx description Accounting: Secondary Index for xxxxx BSxx说明会计:xxxxx 的二级索引

These so called Index tables are separate tables that behave like indexes on bseg but arent true indexes as cluster tables can not have indexes.这些所谓的索引表是独立的表,它们的行为类似于 bseg 上的索引,但不是真正的索引,因为聚簇表不能有索引。

The index tables are real tables you can access with joins/views.索引表是您可以使用连接/视图访问的真实表。 The document number can be used read BSEG later should that still be necessary.如果仍然需要,可以稍后使用文档编号阅读 BSEG。 You may find FI_DOCUMENT_READ and BKPF useful too.您可能会发现 FI_DOCUMENT_READ 和 BKPF 也很有用。

In theory the Index tables should be enough.理论上索引表应该足够了。

From the SAP Table connector help :SAP 表连接器帮助

Currently SAP Table connector only supports one single table with the default function module.目前 SAP 表连接器仅支持一个具有默认 function 模块的单个表 To get the joined data of multiple tables, you can leverage the customRfcReadTableFunctionModule property in the SAP Table connector following steps below要获取多个表的连接数据,您可以按照以下步骤利用 SAP 表连接器中的 customRfcReadTableFunctionModule 属性
... ...

So no, table joins are not supported by default, you need to write in SAP backend a custom FM with the predefined interface.所以不,默认情况下不支持表连接,您需要在 SAP 后端编写一个具有预定义接口的自定义 FM。 The interface to do is described in the help.要做的界面在帮助中有描述。

If you use Azure Data factory to Azure Data Explorer doing big tables like BSEG can be done with a work around.如果您使用 Azure 数据工厂到 Azure 数据资源管理器,则可以通过解决方法来完成像 BSEG 这样的大表。

Although BSEG is a cluster of tables in SAP, from the SAP Connector point of view it is a table with rows and columns which can be partitioned.尽管 BSEG 是 SAP 中的表集群,但从 SAP Connector 的角度来看,它是一个包含行和列的可以分区的表。

Here is an example for MSEG which is similar.这是一个类似的 MSEG 示例。

MSEG_Partitioned MSEG_Partitioned

Kind Regards Gauchet亲切的问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Databricks Delta 实时表 - Azure Databricks Delta live table Azure Databricks 增量表与 Azure Synapse Lake 数据库表 - Azure Databricks Delta Table vs Azure Synapse Lake Database Table 对 Delta 表的表注释 - Table Comment on Delta Table 如何使用 Azure 数据工厂中的 SAP_CDC 连接器重复增量 - How to repeat a delta using SAP_CDC connector from Azure Data Factory Azure 数据工厂:摄取 - 从 Delta 表到 Postgres - Azure Data Factory: Ingest - from Delta table to Postgres 使用数据工厂将表从 SAP BW 提取到 Azure Data Lake Gen2 - Extract table from SAP BW to Azure Data Lake Gen2 using data factory 是否可以在 Azure 数据块中使用基于镶木地板文件名的增量表跟踪器? - Is it ok to use a delta table tracker based on parquet file name in Azure databricks? 无法将表加载到Azure Blob中存在的配置单元中 - Could not load table into hive present in Azure blob 使用天蓝色表存储的ETL - ETL using azure table storage 如何从 Azure ADLS Gen 1 在 Azure 机器学习工作室中注册特定版本的增量表? - How can I register a specific version of a Delta Table in Azure Machine Learning Studio from Azure ADLS Gen 1?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM