SAP FAGL_MIG_RPITEMS_POST Function Module for
FAGL_MIG_RPITEMS_POST is a standard fagl mig rpitems post SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fagl mig rpitems post FM, simply by entering the name FAGL_MIG_RPITEMS_POST into the relevant SAP transaction such as SE37 or SE38.
Function Group: FAGL_MIG_RPITEMS
Program Name: SAPLFAGL_MIG_RPITEMS
Main Program: SAPLFAGL_MIG_RPITEMS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FAGL_MIG_RPITEMS_POST 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 'FAGL_MIG_RPITEMS_POST'".
EXPORTING
IT_ITEMS = "Table Type for FAGL_MIG_RPITEMS
* IT_MGPLN_SHIFT = "
* IT_TARGET_LEDGER = "Table of GL Ledgers
* IB_PROCESS_SPLITTER = ABAP_TRUE "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IB_UPDATE_GLFLEX = ABAP_TRUE "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IB_CHECK_RECORDS = ABAP_TRUE "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IB_TEST = ABAP_FALSE "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IB_PROVIDE_LOG = ABAP_FALSE "
* IB_MGPLN_ALL = ABAP_FALSE "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* IB_STATUS_CHECK = ABAP_FALSE "
IMPORTING
E_CNT_OK = "Index of Internal Tables
E_CNT_ERR = "Index of Internal Tables
ET_RPITEMS_ERR = "Table Type for FAGL_MIG_RPITEMS
ET_RPITEM = "Table Type for FAGL_MIG_RPITEMS
ET_MSG_LOG = "
IMPORTING Parameters details for FAGL_MIG_RPITEMS_POST
IT_ITEMS - Table Type for FAGL_MIG_RPITEMS
Data type: FAGL_T_MIG_RPITEMSOptional: No
Call by Reference: No ( called with pass by value option)
IT_MGPLN_SHIFT -
Data type: FAGL_T_MGPLN_SHIFTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TARGET_LEDGER - Table of GL Ledgers
Data type: FAGL_RLDNR_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
IB_PROCESS_SPLITTER - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IB_UPDATE_GLFLEX - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IB_CHECK_RECORDS - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IB_TEST - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IB_PROVIDE_LOG -
Data type: BOOLE_DDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IB_MGPLN_ALL - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IB_STATUS_CHECK -
Data type: BOOLE_DDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FAGL_MIG_RPITEMS_POST
E_CNT_OK - Index of Internal Tables
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
E_CNT_ERR - Index of Internal Tables
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
ET_RPITEMS_ERR - Table Type for FAGL_MIG_RPITEMS
Data type: FAGL_T_MIG_RPITEMSOptional: No
Call by Reference: No ( called with pass by value option)
ET_RPITEM - Table Type for FAGL_MIG_RPITEMS
Data type: FAGL_T_MIG_RPITEMSOptional: No
Call by Reference: No ( called with pass by value option)
ET_MSG_LOG -
Data type: BAL_T_MSGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FAGL_MIG_RPITEMS_POST 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_e_cnt_ok | TYPE SY-TABIX, " | |||
| lv_it_items | TYPE FAGL_T_MIG_RPITEMS, " | |||
| lv_it_mgpln_shift | TYPE FAGL_T_MGPLN_SHIFT, " | |||
| lv_e_cnt_err | TYPE SY-TABIX, " | |||
| lv_it_target_ledger | TYPE FAGL_RLDNR_TAB, " | |||
| lv_et_rpitems_err | TYPE FAGL_T_MIG_RPITEMS, " | |||
| lv_ib_process_splitter | TYPE BOOLE_D, " ABAP_TRUE | |||
| lv_et_rpitem | TYPE FAGL_T_MIG_RPITEMS, " | |||
| lv_ib_update_glflex | TYPE BOOLE_D, " ABAP_TRUE | |||
| lv_et_msg_log | TYPE BAL_T_MSG, " | |||
| lv_ib_check_records | TYPE BOOLE_D, " ABAP_TRUE | |||
| lv_ib_test | TYPE BOOLE_D, " ABAP_FALSE | |||
| lv_ib_provide_log | TYPE BOOLE_D, " ABAP_FALSE | |||
| lv_ib_mgpln_all | TYPE BOOLE_D, " ABAP_FALSE | |||
| lv_ib_status_check | TYPE BOOLE_D. " ABAP_FALSE |
|   CALL FUNCTION 'FAGL_MIG_RPITEMS_POST' " |
| EXPORTING | ||
| IT_ITEMS | = lv_it_items | |
| IT_MGPLN_SHIFT | = lv_it_mgpln_shift | |
| IT_TARGET_LEDGER | = lv_it_target_ledger | |
| IB_PROCESS_SPLITTER | = lv_ib_process_splitter | |
| IB_UPDATE_GLFLEX | = lv_ib_update_glflex | |
| IB_CHECK_RECORDS | = lv_ib_check_records | |
| IB_TEST | = lv_ib_test | |
| IB_PROVIDE_LOG | = lv_ib_provide_log | |
| IB_MGPLN_ALL | = lv_ib_mgpln_all | |
| IB_STATUS_CHECK | = lv_ib_status_check | |
| IMPORTING | ||
| E_CNT_OK | = lv_e_cnt_ok | |
| E_CNT_ERR | = lv_e_cnt_err | |
| ET_RPITEMS_ERR | = lv_et_rpitems_err | |
| ET_RPITEM | = lv_et_rpitem | |
| ET_MSG_LOG | = lv_et_msg_log | |
| . " FAGL_MIG_RPITEMS_POST | ||
ABAP code using 7.40 inline data declarations to call FM FAGL_MIG_RPITEMS_POST
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 TABIX FROM SY INTO @DATA(ld_e_cnt_ok). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_e_cnt_err). | ||||
| DATA(ld_ib_process_splitter) | = ABAP_TRUE. | |||
| DATA(ld_ib_update_glflex) | = ABAP_TRUE. | |||
| DATA(ld_ib_check_records) | = ABAP_TRUE. | |||
| DATA(ld_ib_test) | = ABAP_FALSE. | |||
| DATA(ld_ib_provide_log) | = ABAP_FALSE. | |||
| DATA(ld_ib_mgpln_all) | = ABAP_FALSE. | |||
| DATA(ld_ib_status_check) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects