[英]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.