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

Function FKK_REPEAT_LINE_ITEMS_SELECT 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_REPEAT_LINE_ITEMS_SELECT'".
EXPORTING
* I_VKONT = "
* IX_WHGRP = ' ' "
* I_AUGDT = "
* IX_AUGDT = ' ' "
* I_AUGBL = "
* IX_AUGBL = ' ' "
* I_FAEDN = "
* IX_FAEDN = ' ' "
* I_FAEDS = "
* IX_FAEDS = ' ' "
* I_BUDAT = "
* IX_VKONT = ' ' "
* IX_BUDAT = ' ' "
* I_ABWBL = "
* IX_ABWBL = ' ' "
* I_ABWTP = "
* IX_ABWTP = ' ' "
* I_CLEAR_TABLE = 'X' "
* I_LINECOUNT = 0 "
* I_COUNT_FLAG = ' ' "
* IX_SAMPLE_FLAG = ' ' "
* I_GPART = "
* IX_GPART = ' ' "
* I_OPBEL = "
* IX_OPBEL = ' ' "
* I_OPUPW = "
* IX_OPUPW = ' ' "
* I_WHGRP = "
IMPORTING
E_COUNT = "
TABLES
* PT_FKKOPW = "
* TP_AUGDT_RANGE = "
* TP_AUGBL_RANGE = "
* TP_FAEDN_RANGE = "
* TP_FAEDS_RANGE = "
* TP_BUDAT_RANGE = "
* TP_ABWBL_RANGE = "
* TP_ABWTP_RANGE = "
* PT_SELECTTAB = "
* PT_WHERETAB = "
* PT_ORDERTAB = "
* TP_VKONT_RANGE = "
* TP_GPART_RANGE = "
* TP_OPBEL_RANGE = "
* TP_OPUPW_RANGE = "
* TP_WHGRP_RANGE = "
IMPORTING Parameters details for FKK_REPEAT_LINE_ITEMS_SELECT
I_VKONT -
Data type: FKKOPW-VKONTOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_WHGRP -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AUGDT -
Data type: FKKOPW-AUGDTOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_AUGDT -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AUGBL -
Data type: FKKOPW-AUGBLOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_AUGBL -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAEDN -
Data type: FKKOPW-FAEDNOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_FAEDN -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FAEDS -
Data type: FKKOPW-FAEDSOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_FAEDS -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUDAT -
Data type: FKKOPW-BUDATOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_VKONT -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IX_BUDAT -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ABWBL -
Data type: FKKOPW-ABWBLOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_ABWBL -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ABWTP -
Data type: FKKOPW-ABWTPOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_ABWTP -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CLEAR_TABLE -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LINECOUNT -
Data type: SY-DBCNTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_COUNT_FLAG -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IX_SAMPLE_FLAG -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_GPART -
Data type: FKKOPW-GPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_GPART -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OPBEL -
Data type: FKKOPW-OPBELOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_OPBEL -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OPUPW -
Data type: FKKOPW-OPUPWOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_OPUPW -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WHGRP -
Data type: FKKOPW-WHGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_REPEAT_LINE_ITEMS_SELECT
E_COUNT -
Data type: SY-DBCNTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_REPEAT_LINE_ITEMS_SELECT
PT_FKKOPW -
Data type: FKKOPWOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_AUGDT_RANGE -
Data type: FKKR_AUGDTOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_AUGBL_RANGE -
Data type: FKKR_AUGBLOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_FAEDN_RANGE -
Data type: FKKR_FAEDNOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_FAEDS_RANGE -
Data type: FKKR_FAEDSOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_BUDAT_RANGE -
Data type: FKKR_BUDATOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_ABWBL_RANGE -
Data type: FKKR_ABWBLOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_ABWTP_RANGE -
Data type: FKKR_ABWTPOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_SELECTTAB -
Data type: SDIT_QRYOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_WHERETAB -
Data type: SDIT_QRYOptional: Yes
Call by Reference: No ( called with pass by value option)
PT_ORDERTAB -
Data type: SDIT_QRYOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_VKONT_RANGE -
Data type: FKKR_VKONTOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_GPART_RANGE -
Data type: FKKR_GPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_OPBEL_RANGE -
Data type: IROPBELOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_OPUPW_RANGE -
Data type: FKKR_OPUPWOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_WHGRP_RANGE -
Data type: FKKR_WHGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_REPEAT_LINE_ITEMS_SELECT 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_count | TYPE SY-DBCNT, " | |||
| lv_i_vkont | TYPE FKKOPW-VKONT, " | |||
| lt_pt_fkkopw | TYPE STANDARD TABLE OF FKKOPW, " | |||
| lv_ix_whgrp | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_tp_augdt_range | TYPE STANDARD TABLE OF FKKR_AUGDT, " | |||
| lv_i_augdt | TYPE FKKOPW-AUGDT, " | |||
| lt_tp_augbl_range | TYPE STANDARD TABLE OF FKKR_AUGBL, " | |||
| lv_ix_augdt | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_tp_faedn_range | TYPE STANDARD TABLE OF FKKR_FAEDN, " | |||
| lv_i_augbl | TYPE FKKOPW-AUGBL, " | |||
| lt_tp_faeds_range | TYPE STANDARD TABLE OF FKKR_FAEDS, " | |||
| lv_ix_augbl | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_tp_budat_range | TYPE STANDARD TABLE OF FKKR_BUDAT, " | |||
| lv_i_faedn | TYPE FKKOPW-FAEDN, " | |||
| lt_tp_abwbl_range | TYPE STANDARD TABLE OF FKKR_ABWBL, " | |||
| lv_ix_faedn | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_tp_abwtp_range | TYPE STANDARD TABLE OF FKKR_ABWTP, " | |||
| lv_i_faeds | TYPE FKKOPW-FAEDS, " | |||
| lv_ix_faeds | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_budat | TYPE FKKOPW-BUDAT, " | |||
| lv_ix_vkont | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_pt_selecttab | TYPE STANDARD TABLE OF SDIT_QRY, " | |||
| lv_ix_budat | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_abwbl | TYPE FKKOPW-ABWBL, " | |||
| lv_ix_abwbl | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_abwtp | TYPE FKKOPW-ABWTP, " | |||
| lv_ix_abwtp | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_clear_table | TYPE C, " 'X' | |||
| lv_i_linecount | TYPE SY-DBCNT, " 0 | |||
| lv_i_count_flag | TYPE C, " SPACE | |||
| lv_ix_sample_flag | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_gpart | TYPE FKKOPW-GPART, " | |||
| lt_pt_wheretab | TYPE STANDARD TABLE OF SDIT_QRY, " | |||
| lv_ix_gpart | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_pt_ordertab | TYPE STANDARD TABLE OF SDIT_QRY, " | |||
| lv_i_opbel | TYPE FKKOPW-OPBEL, " | |||
| lt_tp_vkont_range | TYPE STANDARD TABLE OF FKKR_VKONT, " | |||
| lv_ix_opbel | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_tp_gpart_range | TYPE STANDARD TABLE OF FKKR_GPART, " | |||
| lv_i_opupw | TYPE FKKOPW-OPUPW, " | |||
| lt_tp_opbel_range | TYPE STANDARD TABLE OF IROPBEL, " | |||
| lv_ix_opupw | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_tp_opupw_range | TYPE STANDARD TABLE OF FKKR_OPUPW, " | |||
| lv_i_whgrp | TYPE FKKOPW-WHGRP, " | |||
| lt_tp_whgrp_range | TYPE STANDARD TABLE OF FKKR_WHGRP. " |
|   CALL FUNCTION 'FKK_REPEAT_LINE_ITEMS_SELECT' " |
| EXPORTING | ||
| I_VKONT | = lv_i_vkont | |
| IX_WHGRP | = lv_ix_whgrp | |
| I_AUGDT | = lv_i_augdt | |
| IX_AUGDT | = lv_ix_augdt | |
| I_AUGBL | = lv_i_augbl | |
| IX_AUGBL | = lv_ix_augbl | |
| I_FAEDN | = lv_i_faedn | |
| IX_FAEDN | = lv_ix_faedn | |
| I_FAEDS | = lv_i_faeds | |
| IX_FAEDS | = lv_ix_faeds | |
| I_BUDAT | = lv_i_budat | |
| IX_VKONT | = lv_ix_vkont | |
| IX_BUDAT | = lv_ix_budat | |
| I_ABWBL | = lv_i_abwbl | |
| IX_ABWBL | = lv_ix_abwbl | |
| I_ABWTP | = lv_i_abwtp | |
| IX_ABWTP | = lv_ix_abwtp | |
| I_CLEAR_TABLE | = lv_i_clear_table | |
| I_LINECOUNT | = lv_i_linecount | |
| I_COUNT_FLAG | = lv_i_count_flag | |
| IX_SAMPLE_FLAG | = lv_ix_sample_flag | |
| I_GPART | = lv_i_gpart | |
| IX_GPART | = lv_ix_gpart | |
| I_OPBEL | = lv_i_opbel | |
| IX_OPBEL | = lv_ix_opbel | |
| I_OPUPW | = lv_i_opupw | |
| IX_OPUPW | = lv_ix_opupw | |
| I_WHGRP | = lv_i_whgrp | |
| IMPORTING | ||
| E_COUNT | = lv_e_count | |
| TABLES | ||
| PT_FKKOPW | = lt_pt_fkkopw | |
| TP_AUGDT_RANGE | = lt_tp_augdt_range | |
| TP_AUGBL_RANGE | = lt_tp_augbl_range | |
| TP_FAEDN_RANGE | = lt_tp_faedn_range | |
| TP_FAEDS_RANGE | = lt_tp_faeds_range | |
| TP_BUDAT_RANGE | = lt_tp_budat_range | |
| TP_ABWBL_RANGE | = lt_tp_abwbl_range | |
| TP_ABWTP_RANGE | = lt_tp_abwtp_range | |
| PT_SELECTTAB | = lt_pt_selecttab | |
| PT_WHERETAB | = lt_pt_wheretab | |
| PT_ORDERTAB | = lt_pt_ordertab | |
| TP_VKONT_RANGE | = lt_tp_vkont_range | |
| TP_GPART_RANGE | = lt_tp_gpart_range | |
| TP_OPBEL_RANGE | = lt_tp_opbel_range | |
| TP_OPUPW_RANGE | = lt_tp_opupw_range | |
| TP_WHGRP_RANGE | = lt_tp_whgrp_range | |
| . " FKK_REPEAT_LINE_ITEMS_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM FKK_REPEAT_LINE_ITEMS_SELECT
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 DBCNT FROM SY INTO @DATA(ld_e_count). | ||||
| "SELECT single VKONT FROM FKKOPW INTO @DATA(ld_i_vkont). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_whgrp). | ||||
| DATA(ld_ix_whgrp) | = ' '. | |||
| "SELECT single AUGDT FROM FKKOPW INTO @DATA(ld_i_augdt). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_augdt). | ||||
| DATA(ld_ix_augdt) | = ' '. | |||
| "SELECT single AUGBL FROM FKKOPW INTO @DATA(ld_i_augbl). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_augbl). | ||||
| DATA(ld_ix_augbl) | = ' '. | |||
| "SELECT single FAEDN FROM FKKOPW INTO @DATA(ld_i_faedn). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_faedn). | ||||
| DATA(ld_ix_faedn) | = ' '. | |||
| "SELECT single FAEDS FROM FKKOPW INTO @DATA(ld_i_faeds). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_faeds). | ||||
| DATA(ld_ix_faeds) | = ' '. | |||
| "SELECT single BUDAT FROM FKKOPW INTO @DATA(ld_i_budat). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_vkont). | ||||
| DATA(ld_ix_vkont) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_budat). | ||||
| DATA(ld_ix_budat) | = ' '. | |||
| "SELECT single ABWBL FROM FKKOPW INTO @DATA(ld_i_abwbl). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_abwbl). | ||||
| DATA(ld_ix_abwbl) | = ' '. | |||
| "SELECT single ABWTP FROM FKKOPW INTO @DATA(ld_i_abwtp). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_abwtp). | ||||
| DATA(ld_ix_abwtp) | = ' '. | |||
| DATA(ld_i_clear_table) | = 'X'. | |||
| "SELECT single DBCNT FROM SY INTO @DATA(ld_i_linecount). | ||||
| DATA(ld_i_count_flag) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_sample_flag). | ||||
| DATA(ld_ix_sample_flag) | = ' '. | |||
| "SELECT single GPART FROM FKKOPW INTO @DATA(ld_i_gpart). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_gpart). | ||||
| DATA(ld_ix_gpart) | = ' '. | |||
| "SELECT single OPBEL FROM FKKOPW INTO @DATA(ld_i_opbel). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_opbel). | ||||
| DATA(ld_ix_opbel) | = ' '. | |||
| "SELECT single OPUPW FROM FKKOPW INTO @DATA(ld_i_opupw). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_opupw). | ||||
| DATA(ld_ix_opupw) | = ' '. | |||
| "SELECT single WHGRP FROM FKKOPW INTO @DATA(ld_i_whgrp). | ||||
Search for further information about these or an SAP related objects