SAP FIN_CFIN_PROCESS_PACKAGES Function Module for Process Packages
FIN_CFIN_PROCESS_PACKAGES is a standard fin cfin process packages SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Process Packages 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 fin cfin process packages FM, simply by entering the name FIN_CFIN_PROCESS_PACKAGES into the relevant SAP transaction such as SE37 or SE38.
Function Group: FIN_CFIN_INITIAL_LOAD
Program Name: SAPLFIN_CFIN_INITIAL_LOAD
Main Program: SAPLFIN_CFIN_INITIAL_LOAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FIN_CFIN_PROCESS_PACKAGES 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 'FIN_CFIN_PROCESS_PACKAGES'"Process Packages.
EXPORTING
IV_PACKAGE_KEY = "Work Package Key for Mass Data Process
* IT_BALANCE_COMP = "Initial load: Generic balance composition
* IV_DEFTAX_SUPPORTED = "Calling CFin system supports deferred tax functionality
* IV_MODE = "Mode
IMPORTING
ET_ACCHD = "
ET_AUSZ_CLR = "CFIN: Table of CFIN_AUSZ_CLR
ET_BAPIRET2 = "
EV_SUCCESS = "
ET_SPLINFO = "CFIN_SPLINFO
ET_SPLINFO_VAL = "CFIN_SPLINFO_val
ET_ACCIT = "
ET_ACCIT_APP = "
ET_ACCCR = "
ET_ACCPA_CHAR = "
ET_ACCTX = "
ET_ACCWT = "Table of CFIN_ACCIT_WT
ET_ACCFI = "
ET_CO_QUAN = "
IMPORTING Parameters details for FIN_CFIN_PROCESS_PACKAGES
IV_PACKAGE_KEY - Work Package Key for Mass Data Process
Data type: CHAR40Optional: No
Call by Reference: No ( called with pass by value option)
IT_BALANCE_COMP - Initial load: Generic balance composition
Data type: FIN_CFIN_T_BALANCE_COMPOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DEFTAX_SUPPORTED - Calling CFin system supports deferred tax functionality
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MODE - Mode
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FIN_CFIN_PROCESS_PACKAGES
ET_ACCHD -
Data type: FIN_CFIN_T_CFIN_ACCHDOptional: No
Call by Reference: No ( called with pass by value option)
ET_AUSZ_CLR - CFIN: Table of CFIN_AUSZ_CLR
Data type: FIN_CFIN_T_CFIN_AUSZ_CLROptional: No
Call by Reference: No ( called with pass by value option)
ET_BAPIRET2 -
Data type: BAPIRET2_TABOptional: No
Call by Reference: No ( called with pass by value option)
EV_SUCCESS -
Data type: BOOLE_DOptional: No
Call by Reference: No ( called with pass by value option)
ET_SPLINFO - CFIN_SPLINFO
Data type: FIN_CFIN_T_CFIN_SPLINFOOptional: No
Call by Reference: No ( called with pass by value option)
ET_SPLINFO_VAL - CFIN_SPLINFO_val
Data type: FIN_CFIN_T_CFIN_SPLINFO_VALOptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCIT -
Data type: FIN_CFIN_T_CFIN_ACCITOptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCIT_APP -
Data type: FIN_CFIN_T_CFIN_ACCIT_APPOptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCCR -
Data type: FIN_CFIN_T_CFIN_ACCCROptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCPA_CHAR -
Data type: FIN_CFIN_T_CFIN_ACCPA_CHAROptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCTX -
Data type: FIN_CFIN_T_CFIN_ACCTXOptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCWT - Table of CFIN_ACCIT_WT
Data type: FIN_CFIN_T_CFIN_ACCIT_WTOptional: No
Call by Reference: No ( called with pass by value option)
ET_ACCFI -
Data type: FIN_CFIN_T_ACCFIOptional: No
Call by Reference: No ( called with pass by value option)
ET_CO_QUAN -
Data type: FIN_CFIN_T_COEP_QUANOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FIN_CFIN_PROCESS_PACKAGES 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_et_acchd | TYPE FIN_CFIN_T_CFIN_ACCHD, " | |||
| lv_iv_package_key | TYPE CHAR40, " | |||
| lv_et_ausz_clr | TYPE FIN_CFIN_T_CFIN_AUSZ_CLR, " | |||
| lv_et_bapiret2 | TYPE BAPIRET2_TAB, " | |||
| lv_ev_success | TYPE BOOLE_D, " | |||
| lv_et_splinfo | TYPE FIN_CFIN_T_CFIN_SPLINFO, " | |||
| lv_et_splinfo_val | TYPE FIN_CFIN_T_CFIN_SPLINFO_VAL, " | |||
| lv_et_accit | TYPE FIN_CFIN_T_CFIN_ACCIT, " | |||
| lv_it_balance_comp | TYPE FIN_CFIN_T_BALANCE_COMP, " | |||
| lv_et_accit_app | TYPE FIN_CFIN_T_CFIN_ACCIT_APP, " | |||
| lv_iv_deftax_supported | TYPE BOOLE_D, " | |||
| lv_iv_mode | TYPE CHAR1, " | |||
| lv_et_acccr | TYPE FIN_CFIN_T_CFIN_ACCCR, " | |||
| lv_et_accpa_char | TYPE FIN_CFIN_T_CFIN_ACCPA_CHAR, " | |||
| lv_et_acctx | TYPE FIN_CFIN_T_CFIN_ACCTX, " | |||
| lv_et_accwt | TYPE FIN_CFIN_T_CFIN_ACCIT_WT, " | |||
| lv_et_accfi | TYPE FIN_CFIN_T_ACCFI, " | |||
| lv_et_co_quan | TYPE FIN_CFIN_T_COEP_QUAN. " |
|   CALL FUNCTION 'FIN_CFIN_PROCESS_PACKAGES' "Process Packages |
| EXPORTING | ||
| IV_PACKAGE_KEY | = lv_iv_package_key | |
| IT_BALANCE_COMP | = lv_it_balance_comp | |
| IV_DEFTAX_SUPPORTED | = lv_iv_deftax_supported | |
| IV_MODE | = lv_iv_mode | |
| IMPORTING | ||
| ET_ACCHD | = lv_et_acchd | |
| ET_AUSZ_CLR | = lv_et_ausz_clr | |
| ET_BAPIRET2 | = lv_et_bapiret2 | |
| EV_SUCCESS | = lv_ev_success | |
| ET_SPLINFO | = lv_et_splinfo | |
| ET_SPLINFO_VAL | = lv_et_splinfo_val | |
| ET_ACCIT | = lv_et_accit | |
| ET_ACCIT_APP | = lv_et_accit_app | |
| ET_ACCCR | = lv_et_acccr | |
| ET_ACCPA_CHAR | = lv_et_accpa_char | |
| ET_ACCTX | = lv_et_acctx | |
| ET_ACCWT | = lv_et_accwt | |
| ET_ACCFI | = lv_et_accfi | |
| ET_CO_QUAN | = lv_et_co_quan | |
| . " FIN_CFIN_PROCESS_PACKAGES | ||
ABAP code using 7.40 inline data declarations to call FM FIN_CFIN_PROCESS_PACKAGES
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.Search for further information about these or an SAP related objects