Create a Data Mapping Definition with SAP ECC as Source
Data Mapping supports SAP ECC as a source from SAP_APPL 600 (SAP ECC 6.0, ERP 2005) on.
Prerequisites
To use an SAP ECC system as a source instance, you must create a dedicated destination in the SAP BTP Cockpit, which will let the application know the location of the SAP ECC system you want to use. For more information, see Configure Destinations for SAP ECC as Source Instance.
Context
You can read the following SAP ECC tables with Data Mapping:
-
GL tables:
-
GLT0
-
GLT3
-
GLFUNCT
-
GLPCT
-
Customer special ledger Z tables (supported with customer extension scenario)
-
-
New GL tables:
-
FAGLFLEXT standard fields
-
Customer extended fields
-
The returned table structure stays the same for all scenarios.
The field content depends on the available fields of the source tables mentioned above.
Local Currency, Transaction Currency, and Group Currency are all supported.
Based on the general ledger principle, the source data table is determined by the ledger selected, a commonly used ledger is 0L (delivered standard ledger), where data is read from source data table FAGLFLEXT.
Users with access to the backend can display the relationship between ledger and source table in table T881 (field rfctarget).
The source table based on the ledger parameter is determined by function module BAPI_SL_GETTOTALRECORDS.
Users with access to the backend can use BAPI to locate and view their source data, which also helps building data mapping definitions more easily.
-
Connect to the SAP ECC source system.
-
Run the SE37 transaction to display the Function Builder.
-
In the Function Builder, select function module BAPI_SL_GETTOTALRECORDS.
-
Click Test/Execute.
-
In function module BAPI_SL_GETTOTALRECORDS, define your import parameters.
-
Click Execute.
-
Under , choose Entries to display the source data selected.
You must create your mapping file in Microsoft Excel, as described in the chapter Structure of the Mapping File.

