简体   繁体   English

如何通过在 azure 数据工厂中查找的 sap 表连接器获取最大数据?

[英]How to get max data via sap table connector look up in azure data factory?

I need to implement an incremental load for sap tables via the sap table connector in azure data factory within a copy activity.我需要在复制活动中通过 azure 数据工厂中的 sap 表连接器为 sap 表实现增量加载。

Currently, I am trying to set the watermark of the sap table (eg MAX(ERDAT)) through a lookup activity.目前,我正在尝试通过查找活动设置 sap 表的水印(例如 MAX(ERDAT)) Unfortunately, I cannot create a custom query, because the sap table connector is very limited and only supports basic filtering options ( link ).不幸的是,我无法创建自定义查询,因为 sap 表连接器非常有限,仅支持基本过滤选项( 链接)。

Does someone know how to set a watermark via the sap table connector?有人知道如何通过 sap 表连接器设置水印吗?

Thanks in advance!提前致谢!

https://docs.microsoft.com/en-us/azure/data-factory/load-sap-bw-data https://docs.microsoft.com/en-us/azure/data-factory/load-sap-bw-data

This document providing the information regarding the watermark in SAP table connector.本文档提供有关 SAP 表连接器中的水印的信息。 Check it out for the implementation.检查它的实施。

Personally, I'd prefer loading the delta eg"ERDAT = today" to an OpenHub, then loading that regularly to Azure.就个人而言,我更喜欢将增量(例如“ERDAT = today”)加载到 OpenHub,然后定期将其加载到 Azure。

If that option does not work, using the link you provided, you can create a custom function module on SAP, and filter out records based on date.如果该选项不起作用,使用您提供的链接,您可以在 SAP 上创建自定义 function 模块,并根据日期过滤掉记录。

Use this link for more info https://www.cdata.com/kb/entries/sap-custom-read-table-function.rst使用此链接了解更多信息https://www.cdata.com/kb/entries/sap-custom-read-table-function.rst

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM