A license for the integration. Without a license,SAP S/4HANA (RFC) is not displayed in theSAP S/4HANA (RFC) drop-down list.Source system A running SEA instance that executes the integrationSAP S/4HANA (RFC) The Lucanet SAP RFC transport, installed in the SAP system, and a technical SAP user with the Lucanet RFC role Network connectivity from the SEA instance to the SAP system, for example through a VPN for an on-premises SAP system Confirmation from the customer that the required source tables, for example BKPF and BSEG, exist in the SAP system and can be read. The correct configuration depends on the tables and fields that are actually available in the SAP system, not on the name of the SAP product.



sap.example.com | |||
00 | |||
100 | |||
LUCANET_RFC | |||
![]()
namespace.table_name


bseg_2017 | |||
10000 | |||
10000 |
: Calls a customer-specific RFC function module and loads its result table. Use this method when the data cannot be read directly and the customer provides their own function module that returns the data.Custom RFC : Executes a filtered, SQL-style query against the SAP system, including joins between normal tables and a cascade mode for cluster tables such as BSEG. Use this method for filtered or delta-style loads, for example for VAT.EXECUTE_SELECT query
Z_GTC_TEST_IMPORT | |||
ET_DATA | |||
I_YEARString2017 |
Z_GTC_TEST_IMPORT | |
ET_DATA | |
rfc_import | |
I_UNITString1710I_YEARString2017I_PERIODString01 |
*AS | BUKRS, BELNR, GJAHR | ||
BKPF | |||
? | BUKRS = '1710' AND GJAHR = '2017' | ||
BUKRS | |||
BELNR |
?
The placeholders are replaced in the order in which they appear in the query fields ,SELECT (Fields) ,FROM (Source) ,WHERE (Where) , andGROUP BY (GROUP_BY) . Each placeholder receives the value of the next row of theORDER BY (ORDER_BY) .Input parameter table The data type is orString . AInteger value is inserted in quotation marks, anString value is inserted as it is.Integer If the number of rows does not match the number of placeholders, the import fails with an error.
{{PERIOD}}
BKPF | |
BUKRS, BELNR, GJAHR, BUDAT | |
BUKRS = ? AND GJAHR = ? | |
String1710String2017 | |
bkpf_1710_2017 |
The query in is executed first against the header table, for example BKPF, with the period filter inFROM (Source) .WHERE (Where) For each header row that passes the filter, a second query is executed against the cluster table in . The condition inCASCADE FROM (CASC_SOURCE) links the two tables.CASCADE WHERE (CASC_WHERE) The output contains one row per matching row of the cluster table. A header with several line items therefore produces several output rows. A header row without a matching row in the cluster table is not included in the output (inner-join behavior). The order of the rows is not guaranteed. If the order matters, sort the data later in the Data Lake.
DATA- | BUZEI, HKONT, DMBTR, WRBTR | ||
BSEG | |||
data- | bukrs = data-bukrs and belnr = data-belnr and gjahr = data-gjahr |
The cascade is only available on the tab, and theEXECUTE_SELECT query field must be filled in.FROM (Source) Fill in all three cascade options or none of them. must contain one of the tables BSEG, BSET, or BSEC.CASCADE FROM (CASC_SOURCE) When you use the cascade, must contain a single header table, not a join.FROM (Source) cannot be combined with the cascade.GROUP BY (GROUP_BY) can only contain native fields of the cluster table, no header fields.CASCADE SELECT (CASC_FIELDS)
BKPF | |
BUKRS, BELNR, GJAHR | |
BUKRS = '1710' AND GJAHR = '2017' | |
BUKRS, BELNR, GJAHR, BUZEI, HKONT, DMBTR, WRBTR, ZFBDT | |
BSEG | |
bukrs = data-bukrs and belnr = data-belnr and gjahr = data-gjahr | |
bseg_1710_2017 |
![]()

The connection uses as the source system, and theSAP S/4HANA (RFC) and all options of theLanguage area are filled in.Authentication The source dataset uses this connection. On the tab, theGeneral configuration is filled in.Result table name Exactly one of the two extraction tabs is used: :Custom RFC andCustom RFC name , plus theRFC output table name if requiredRFC parameter table :EXECUTE_SELECT query , plusFROM (Source) ,SELECT (Fields) , and the other query options as requiredWHERE (Where)
For a cluster table such as BSEG, contains the header table, all three cascade options are filled in, andFROM (Source) contains native fields of the cluster table only.CASCADE SELECT (CASC_FIELDS) If the query contains placeholders, the? contains exactly one row per placeholder, in the order of the placeholders across all query fields.Input parameter table andBatch size are empty to use the defaults, or set for performance tuning.Page size
This content was generated using AI and reviewed by Lucanet subject matter experts before publication.