SAP Table Connector - How to querying SAP table using RFC from Azure Synapse

Ro L 0 Reputation points
2023-06-07T18:03:29.6366667+00:00

Where do you actually write your query and is there a specific format? Also, Is possible to join more than two tables FROM sap SYSTEM?

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,640 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-06-08T21:04:57.1966667+00:00

    Hello Ro L,

    Welcome to the MS Q&A platform.

    SAP table as a source in the copy activity:

    You can write your query on the rfcTableOptions field to filter the rows on the SAP table.

    Regarding your other question,

    <copied from documentation page>

    Currently, SAP Table connector only supports one single table with the default function module. To get the joined data of multiple tables, you can leverage the customRfcReadTableFunctionModule property in the SAP Table connector following steps below:

    • Write a custom function module, which can take a query as OPTIONS and apply your own logic to retrieve the data.
    • For the "Custom function module", enter the name of your custom function module.
    • For the "RFC table options", specify the table join statement to feed into your function module as OPTIONS, such as "<TABLE1> INNER JOIN <TABLE2> ON COLUMN0".

    Please see this documentation.

    I hope this helps. Please let me know if you have any further questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.