SAP FKK_OPEN_ITEM_MASS_SELECT_INIT Function Module for
FKK_OPEN_ITEM_MASS_SELECT_INIT is a standard fkk open item mass select init 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 fkk open item mass select init FM, simply by entering the name FKK_OPEN_ITEM_MASS_SELECT_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKB5
Program Name: SAPLFKB5
Main Program: SAPLFKB5
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_OPEN_ITEM_MASS_SELECT_INIT 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 'FKK_OPEN_ITEM_MASS_SELECT_INIT'".
EXPORTING
I_APPLK = "Application
* I_WITHHTAX_IN = 'X' "
* I_CLEARING_DATE = "
* I_LIMIT = 1000 "
* I_LIMIT_COMPLETE = 1 "
* T_WHERE = "
* T_WHERE_APP = "
* I_PREFETCH = ' ' "
* I_OBJECT = "
* I_TRACE_SELECTION = ' ' "
* I_CHECK_XPYOR = 'X' "
* I_FAEDN_HIGH = '99991231' "
* I_SELECT_XPYOR_Y = ' ' "
* I_GROUP_ACC = ' ' "
* I_USE_FIELDLIST = "
* I_AUGRS_' ' = 'X' "
* I_RETURN_ACCOUNTS = ' ' "
* I_XMBEL = ' ' "
* I_NO_REPEATINGS = ' ' "
* I_RESET_WTAC = ' ' "
* I_PNEXD_LOW = '19000101' "
* I_PNEXD_HIGH = '19000101' "
* I_FAEDN_LOW = 0 "
* I_FAEDS_HIGH = '99991231' "
* I_FAEDS_LOW = 0 "
* I_CHECK_ABWBL = 'X' "
* I_INCLUDE_P2P = ' ' "
* I_CHECK_XMANL = ' ' "
* I_WITHHTAX_OUT = 'X' "
TABLES
* T_BUKRS = "
* T_GPART = "
* T_VKONT = "
* T_VTREF = "
* T_AGRTAB = "
* T_RDSTAB = "
* T_STAKZ_MOP = "
IMPORTING Parameters details for FKK_OPEN_ITEM_MASS_SELECT_INIT
I_APPLK - Application
Data type: FKKOP-APPLKOptional: No
Call by Reference: No ( called with pass by value option)
I_WITHHTAX_IN -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CLEARING_DATE -
Data type: FKKKO-BUDATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LIMIT -
Data type: FKKPY_PARA-LIMITDefault: 1000
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LIMIT_COMPLETE -
Data type: FKKPY_PARA-LIMITDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
T_WHERE -
Data type: RSDS_TWHEREOptional: Yes
Call by Reference: No ( called with pass by value option)
T_WHERE_APP -
Data type: RSDS_TWHEREOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PREFETCH -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJECT -
Data type: TFKDIT-OBJECTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TRACE_SELECTION -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CHECK_XPYOR -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAEDN_HIGH -
Data type: FKKOP-FAEDNDefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SELECT_XPYOR_Y -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_GROUP_ACC -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_USE_FIELDLIST -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AUGRS_SPACE -
Data type: BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RETURN_ACCOUNTS -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_XMBEL -
Data type: BOOLE-BOOLEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_REPEATINGS -
Data type: BOOLEANDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RESET_WTAC -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PNEXD_LOW -
Data type: PNEXD_KKDefault: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PNEXD_HIGH -
Data type: PNEXD_KKDefault: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAEDN_LOW -
Data type: FKKOP-FAEDNOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FAEDS_HIGH -
Data type: FKKOP-FAEDSDefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAEDS_LOW -
Data type: FKKOP-FAEDSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHECK_ABWBL -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INCLUDE_P2P -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CHECK_XMANL -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHHTAX_OUT -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_OPEN_ITEM_MASS_SELECT_INIT
T_BUKRS -
Data type: IBUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
T_GPART -
Data type: IGPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VKONT -
Data type: IVKONTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_VTREF -
Data type: IVTREFOptional: Yes
Call by Reference: No ( called with pass by value option)
T_AGRTAB -
Data type: IAGRTABOptional: Yes
Call by Reference: No ( called with pass by value option)
T_RDSTAB -
Data type: IRDSTABOptional: Yes
Call by Reference: Yes
T_STAKZ_MOP -
Data type: FKKR_STAKZOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FKK_OPEN_ITEM_MASS_SELECT_INIT 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_applk | TYPE FKKOP-APPLK, " | |||
| lt_t_bukrs | TYPE STANDARD TABLE OF IBUKRS, " | |||
| lv_i_withhtax_in | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_i_clearing_date | TYPE FKKKO-BUDAT, " | |||
| lv_i_limit | TYPE FKKPY_PARA-LIMIT, " 1000 | |||
| lv_i_limit_complete | TYPE FKKPY_PARA-LIMIT, " 1 | |||
| lv_t_where | TYPE RSDS_TWHERE, " | |||
| lv_t_where_app | TYPE RSDS_TWHERE, " | |||
| lv_i_prefetch | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_object | TYPE TFKDIT-OBJECT, " | |||
| lv_i_trace_selection | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_check_xpyor | TYPE BOOLE-BOOLE, " 'X' | |||
| lt_t_gpart | TYPE STANDARD TABLE OF IGPART, " | |||
| lv_i_faedn_high | TYPE FKKOP-FAEDN, " '99991231' | |||
| lv_i_select_xpyor_y | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_group_acc | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_use_fieldlist | TYPE BOOLE-BOOLE, " | |||
| lv_i_augrs_space | TYPE BOOLEAN, " 'X' | |||
| lv_i_return_accounts | TYPE XFELD, " SPACE | |||
| lv_i_xmbel | TYPE BOOLE-BOOLE, " ' ' | |||
| lv_i_no_repeatings | TYPE BOOLEAN, " SPACE | |||
| lv_i_reset_wtac | TYPE XFELD, " SPACE | |||
| lv_i_pnexd_low | TYPE PNEXD_KK, " '19000101' | |||
| lv_i_pnexd_high | TYPE PNEXD_KK, " '19000101' | |||
| lt_t_vkont | TYPE STANDARD TABLE OF IVKONT, " | |||
| lv_i_faedn_low | TYPE FKKOP-FAEDN, " 0 | |||
| lt_t_vtref | TYPE STANDARD TABLE OF IVTREF, " | |||
| lv_i_faeds_high | TYPE FKKOP-FAEDS, " '99991231' | |||
| lt_t_agrtab | TYPE STANDARD TABLE OF IAGRTAB, " | |||
| lv_i_faeds_low | TYPE FKKOP-FAEDS, " 0 | |||
| lt_t_rdstab | TYPE STANDARD TABLE OF IRDSTAB, " | |||
| lv_i_check_abwbl | TYPE BOOLE-BOOLE, " 'X' | |||
| lt_t_stakz_mop | TYPE STANDARD TABLE OF FKKR_STAKZ, " | |||
| lv_i_include_p2p | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_check_xmanl | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_withhtax_out | TYPE BOOLE-BOOLE. " 'X' |
|   CALL FUNCTION 'FKK_OPEN_ITEM_MASS_SELECT_INIT' " |
| EXPORTING | ||
| I_APPLK | = lv_i_applk | |
| I_WITHHTAX_IN | = lv_i_withhtax_in | |
| I_CLEARING_DATE | = lv_i_clearing_date | |
| I_LIMIT | = lv_i_limit | |
| I_LIMIT_COMPLETE | = lv_i_limit_complete | |
| T_WHERE | = lv_t_where | |
| T_WHERE_APP | = lv_t_where_app | |
| I_PREFETCH | = lv_i_prefetch | |
| I_OBJECT | = lv_i_object | |
| I_TRACE_SELECTION | = lv_i_trace_selection | |
| I_CHECK_XPYOR | = lv_i_check_xpyor | |
| I_FAEDN_HIGH | = lv_i_faedn_high | |
| I_SELECT_XPYOR_Y | = lv_i_select_xpyor_y | |
| I_GROUP_ACC | = lv_i_group_acc | |
| I_USE_FIELDLIST | = lv_i_use_fieldlist | |
| I_AUGRS_SPACE | = lv_i_augrs_space | |
| I_RETURN_ACCOUNTS | = lv_i_return_accounts | |
| I_XMBEL | = lv_i_xmbel | |
| I_NO_REPEATINGS | = lv_i_no_repeatings | |
| I_RESET_WTAC | = lv_i_reset_wtac | |
| I_PNEXD_LOW | = lv_i_pnexd_low | |
| I_PNEXD_HIGH | = lv_i_pnexd_high | |
| I_FAEDN_LOW | = lv_i_faedn_low | |
| I_FAEDS_HIGH | = lv_i_faeds_high | |
| I_FAEDS_LOW | = lv_i_faeds_low | |
| I_CHECK_ABWBL | = lv_i_check_abwbl | |
| I_INCLUDE_P2P | = lv_i_include_p2p | |
| I_CHECK_XMANL | = lv_i_check_xmanl | |
| I_WITHHTAX_OUT | = lv_i_withhtax_out | |
| TABLES | ||
| T_BUKRS | = lt_t_bukrs | |
| T_GPART | = lt_t_gpart | |
| T_VKONT | = lt_t_vkont | |
| T_VTREF | = lt_t_vtref | |
| T_AGRTAB | = lt_t_agrtab | |
| T_RDSTAB | = lt_t_rdstab | |
| T_STAKZ_MOP | = lt_t_stakz_mop | |
| . " FKK_OPEN_ITEM_MASS_SELECT_INIT | ||
ABAP code using 7.40 inline data declarations to call FM FKK_OPEN_ITEM_MASS_SELECT_INIT
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 APPLK FROM FKKOP INTO @DATA(ld_i_applk). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_withhtax_in). | ||||
| DATA(ld_i_withhtax_in) | = 'X'. | |||
| "SELECT single BUDAT FROM FKKKO INTO @DATA(ld_i_clearing_date). | ||||
| "SELECT single LIMIT FROM FKKPY_PARA INTO @DATA(ld_i_limit). | ||||
| DATA(ld_i_limit) | = 1000. | |||
| "SELECT single LIMIT FROM FKKPY_PARA INTO @DATA(ld_i_limit_complete). | ||||
| DATA(ld_i_limit_complete) | = 1. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_prefetch). | ||||
| DATA(ld_i_prefetch) | = ' '. | |||
| "SELECT single OBJECT FROM TFKDIT INTO @DATA(ld_i_object). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_trace_selection). | ||||
| DATA(ld_i_trace_selection) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check_xpyor). | ||||
| DATA(ld_i_check_xpyor) | = 'X'. | |||
| "SELECT single FAEDN FROM FKKOP INTO @DATA(ld_i_faedn_high). | ||||
| DATA(ld_i_faedn_high) | = '99991231'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_select_xpyor_y). | ||||
| DATA(ld_i_select_xpyor_y) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_group_acc). | ||||
| DATA(ld_i_group_acc) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_use_fieldlist). | ||||
| DATA(ld_i_augrs_space) | = 'X'. | |||
| DATA(ld_i_return_accounts) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xmbel). | ||||
| DATA(ld_i_xmbel) | = ' '. | |||
| DATA(ld_i_no_repeatings) | = ' '. | |||
| DATA(ld_i_reset_wtac) | = ' '. | |||
| DATA(ld_i_pnexd_low) | = '19000101'. | |||
| DATA(ld_i_pnexd_high) | = '19000101'. | |||
| "SELECT single FAEDN FROM FKKOP INTO @DATA(ld_i_faedn_low). | ||||
| "SELECT single FAEDS FROM FKKOP INTO @DATA(ld_i_faeds_high). | ||||
| DATA(ld_i_faeds_high) | = '99991231'. | |||
| "SELECT single FAEDS FROM FKKOP INTO @DATA(ld_i_faeds_low). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check_abwbl). | ||||
| DATA(ld_i_check_abwbl) | = 'X'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_include_p2p). | ||||
| DATA(ld_i_include_p2p) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check_xmanl). | ||||
| DATA(ld_i_check_xmanl) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_withhtax_out). | ||||
| DATA(ld_i_withhtax_out) | = 'X'. | |||
Search for further information about these or an SAP related objects