SAP FCMLA_REPLICATE_REP_TABLES Function Module for Berichtsdaten replizieren
FCMLA_REPLICATE_REP_TABLES is a standard fcmla replicate rep tables SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Berichtsdaten replizieren processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fcmla replicate rep tables FM, simply by entering the name FCMLA_REPLICATE_REP_TABLES into the relevant SAP transaction such as SE37 or SE38.
Function Group: FCMLA_REP_ONL_UPDATE
Program Name: SAPLFCMLA_REP_ONL_UPDATE
Main Program: SAPLFCMLA_REP_ONL_UPDATE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FCMLA_REPLICATE_REP_TABLES pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FCMLA_REPLICATE_REP_TABLES'"Berichtsdaten replizieren.
EXPORTING
I_POPER = "
I_BDATJ = "
FROM_KALNR = "
TO_KALNR = "
I_PACKAGE_NUMBER = "
I_DBCON = "
IMPORTING
E_PACKAGE_NUMBER = "
IMPORTING Parameters details for FCMLA_REPLICATE_REP_TABLES
I_POPER -
Data type: CKMLPP-POPEROptional: No
Call by Reference: No ( called with pass by value option)
I_BDATJ -
Data type: CKMLPP-BDATJOptional: No
Call by Reference: No ( called with pass by value option)
FROM_KALNR -
Data type: CK_KALNROptional: No
Call by Reference: No ( called with pass by value option)
TO_KALNR -
Data type: CK_KALNROptional: No
Call by Reference: No ( called with pass by value option)
I_PACKAGE_NUMBER -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
I_DBCON -
Data type: DBCON_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FCMLA_REPLICATE_REP_TABLES
E_PACKAGE_NUMBER -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FCMLA_REPLICATE_REP_TABLES Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_poper | TYPE CKMLPP-POPER, " | |||
| lv_e_package_number | TYPE SY-TABIX, " | |||
| lv_i_bdatj | TYPE CKMLPP-BDATJ, " | |||
| lv_from_kalnr | TYPE CK_KALNR, " | |||
| lv_to_kalnr | TYPE CK_KALNR, " | |||
| lv_i_package_number | TYPE SY-TABIX, " | |||
| lv_i_dbcon | TYPE DBCON_NAME. " |
|   CALL FUNCTION 'FCMLA_REPLICATE_REP_TABLES' "Berichtsdaten replizieren |
| EXPORTING | ||
| I_POPER | = lv_i_poper | |
| I_BDATJ | = lv_i_bdatj | |
| FROM_KALNR | = lv_from_kalnr | |
| TO_KALNR | = lv_to_kalnr | |
| I_PACKAGE_NUMBER | = lv_i_package_number | |
| I_DBCON | = lv_i_dbcon | |
| IMPORTING | ||
| E_PACKAGE_NUMBER | = lv_e_package_number | |
| . " FCMLA_REPLICATE_REP_TABLES | ||
ABAP code using 7.40 inline data declarations to call FM FCMLA_REPLICATE_REP_TABLES
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single POPER FROM CKMLPP INTO @DATA(ld_i_poper). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_e_package_number). | ||||
| "SELECT single BDATJ FROM CKMLPP INTO @DATA(ld_i_bdatj). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_i_package_number). | ||||
Search for further information about these or an SAP related objects