SAP FKK_BP_LINE_ITEMS_SEL_LOGICAL Function Module for
FKK_BP_LINE_ITEMS_SEL_LOGICAL is a standard fkk bp line items sel logical 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 bp line items sel logical FM, simply by entering the name FKK_BP_LINE_ITEMS_SEL_LOGICAL 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_BP_LINE_ITEMS_SEL_LOGICAL 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_BP_LINE_ITEMS_SEL_LOGICAL'".
EXPORTING
* I_VKONT = "
* IX_VTREF = ' ' "
* I_SUBAP = "
* IX_SUBAP = ' ' "
* I_EMGPA = "
* IX_EMGPA = ' ' "
* I_WAERS = "
* IX_WAERS = ' ' "
* I_BUDAT = "
* IX_BUDAT = ' ' "
* I_BUKRS = "
* IX_VKONT = ' ' "
* IX_BUKRS = ' ' "
* IX_SAMPLE_FLAG = ' ' "
* IX_ONLY_OPEN_ITEMS = ' ' "Open Items Only
* I_GPART = "
* IX_GPART = ' ' "
* I_OPBEL = "
* IX_OPBEL = ' ' "
* I_FAEDN = "
* IX_FAEDN = ' ' "
* I_VTREF = "
TABLES
* PT_LOGFKKOP = "
* TP_WAERS_RANGE = "
* TP_BUDAT_RANGE = "
* TP_BUKRS_RANGE = "
* PT_WHERETAB = "
* TP_VKONT_RANGE = "
* TP_GPART_RANGE = "
* TP_OPBEL_RANGE = "
* TP_FAEDN_RANGE = "
* TP_VTREF_RANGE = "
* TP_SUBAP_RANGE = "
* TP_EMGPA_RANGE = "
IMPORTING Parameters details for FKK_BP_LINE_ITEMS_SEL_LOGICAL
I_VKONT -
Data type: FKKOP-VKONTOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_VTREF -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SUBAP -
Data type: FKKOP-SUBAPOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_SUBAP -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_EMGPA -
Data type: FKKOP-EMGPAOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_EMGPA -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WAERS -
Data type: FKKOP-WAERSOptional: Yes
Call by Reference: No ( called with pass by value option)
IX_WAERS -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUDAT -
Data type: FKKOP-BUDATOptional: 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_BUKRS -
Data type: FKKOP-BUKRSOptional: 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_BUKRS -
Data type: BOOLE-BOOLEDefault: 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)
IX_ONLY_OPEN_ITEMS - Open Items Only
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_GPART -
Data type: FKKOP-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: FKKOP-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_FAEDN -
Data type: FKKOP-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_VTREF -
Data type: FKKOP-VTREFOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_BP_LINE_ITEMS_SEL_LOGICAL
PT_LOGFKKOP -
Data type: FKKOPOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_WAERS_RANGE -
Data type: FKKR_WAERSOptional: 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_BUKRS_RANGE -
Data type: FKKR_BUKRSOptional: 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)
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_FAEDN_RANGE -
Data type: FKKR_FAEDNOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_VTREF_RANGE -
Data type: FKKR_VTREFOptional: Yes
Call by Reference: No ( called with pass by value option)
TP_SUBAP_RANGE -
Data type: FKKR_SUBAPOptional: Yes
Call by Reference: Yes
TP_EMGPA_RANGE -
Data type: FKKR_GPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_BP_LINE_ITEMS_SEL_LOGICAL 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_vkont | TYPE FKKOP-VKONT, " | |||
lt_pt_logfkkop | TYPE STANDARD TABLE OF FKKOP, " | |||
lv_ix_vtref | TYPE BOOLE-BOOLE, " SPACE | |||
lt_tp_waers_range | TYPE STANDARD TABLE OF FKKR_WAERS, " | |||
lv_i_subap | TYPE FKKOP-SUBAP, " | |||
lt_tp_budat_range | TYPE STANDARD TABLE OF FKKR_BUDAT, " | |||
lv_ix_subap | TYPE BOOLE-BOOLE, " SPACE | |||
lt_tp_bukrs_range | TYPE STANDARD TABLE OF FKKR_BUKRS, " | |||
lv_i_emgpa | TYPE FKKOP-EMGPA, " | |||
lv_ix_emgpa | TYPE BOOLE-BOOLE, " SPACE | |||
lv_i_waers | TYPE FKKOP-WAERS, " | |||
lv_ix_waers | TYPE BOOLE-BOOLE, " SPACE | |||
lv_i_budat | TYPE FKKOP-BUDAT, " | |||
lv_ix_budat | TYPE BOOLE-BOOLE, " SPACE | |||
lv_i_bukrs | TYPE FKKOP-BUKRS, " | |||
lv_ix_vkont | TYPE BOOLE-BOOLE, " SPACE | |||
lt_pt_wheretab | TYPE STANDARD TABLE OF SDIT_QRY, " | |||
lv_ix_bukrs | TYPE BOOLE-BOOLE, " SPACE | |||
lv_ix_sample_flag | TYPE BOOLE-BOOLE, " SPACE | |||
lv_ix_only_open_items | TYPE BOOLE-BOOLE, " SPACE | |||
lv_i_gpart | TYPE FKKOP-GPART, " | |||
lt_tp_vkont_range | TYPE STANDARD TABLE OF FKKR_VKONT, " | |||
lv_ix_gpart | TYPE BOOLE-BOOLE, " SPACE | |||
lt_tp_gpart_range | TYPE STANDARD TABLE OF FKKR_GPART, " | |||
lv_i_opbel | TYPE FKKOP-OPBEL, " | |||
lt_tp_opbel_range | TYPE STANDARD TABLE OF IROPBEL, " | |||
lv_ix_opbel | TYPE BOOLE-BOOLE, " SPACE | |||
lt_tp_faedn_range | TYPE STANDARD TABLE OF FKKR_FAEDN, " | |||
lv_i_faedn | TYPE FKKOP-FAEDN, " | |||
lt_tp_vtref_range | TYPE STANDARD TABLE OF FKKR_VTREF, " | |||
lv_ix_faedn | TYPE BOOLE-BOOLE, " SPACE | |||
lt_tp_subap_range | TYPE STANDARD TABLE OF FKKR_SUBAP, " | |||
lv_i_vtref | TYPE FKKOP-VTREF, " | |||
lt_tp_emgpa_range | TYPE STANDARD TABLE OF FKKR_GPART. " |
  CALL FUNCTION 'FKK_BP_LINE_ITEMS_SEL_LOGICAL' " |
EXPORTING | ||
I_VKONT | = lv_i_vkont | |
IX_VTREF | = lv_ix_vtref | |
I_SUBAP | = lv_i_subap | |
IX_SUBAP | = lv_ix_subap | |
I_EMGPA | = lv_i_emgpa | |
IX_EMGPA | = lv_ix_emgpa | |
I_WAERS | = lv_i_waers | |
IX_WAERS | = lv_ix_waers | |
I_BUDAT | = lv_i_budat | |
IX_BUDAT | = lv_ix_budat | |
I_BUKRS | = lv_i_bukrs | |
IX_VKONT | = lv_ix_vkont | |
IX_BUKRS | = lv_ix_bukrs | |
IX_SAMPLE_FLAG | = lv_ix_sample_flag | |
IX_ONLY_OPEN_ITEMS | = lv_ix_only_open_items | |
I_GPART | = lv_i_gpart | |
IX_GPART | = lv_ix_gpart | |
I_OPBEL | = lv_i_opbel | |
IX_OPBEL | = lv_ix_opbel | |
I_FAEDN | = lv_i_faedn | |
IX_FAEDN | = lv_ix_faedn | |
I_VTREF | = lv_i_vtref | |
TABLES | ||
PT_LOGFKKOP | = lt_pt_logfkkop | |
TP_WAERS_RANGE | = lt_tp_waers_range | |
TP_BUDAT_RANGE | = lt_tp_budat_range | |
TP_BUKRS_RANGE | = lt_tp_bukrs_range | |
PT_WHERETAB | = lt_pt_wheretab | |
TP_VKONT_RANGE | = lt_tp_vkont_range | |
TP_GPART_RANGE | = lt_tp_gpart_range | |
TP_OPBEL_RANGE | = lt_tp_opbel_range | |
TP_FAEDN_RANGE | = lt_tp_faedn_range | |
TP_VTREF_RANGE | = lt_tp_vtref_range | |
TP_SUBAP_RANGE | = lt_tp_subap_range | |
TP_EMGPA_RANGE | = lt_tp_emgpa_range | |
. " FKK_BP_LINE_ITEMS_SEL_LOGICAL |
ABAP code using 7.40 inline data declarations to call FM FKK_BP_LINE_ITEMS_SEL_LOGICAL
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 VKONT FROM FKKOP INTO @DATA(ld_i_vkont). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_vtref). | ||||
DATA(ld_ix_vtref) | = ' '. | |||
"SELECT single SUBAP FROM FKKOP INTO @DATA(ld_i_subap). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_subap). | ||||
DATA(ld_ix_subap) | = ' '. | |||
"SELECT single EMGPA FROM FKKOP INTO @DATA(ld_i_emgpa). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_emgpa). | ||||
DATA(ld_ix_emgpa) | = ' '. | |||
"SELECT single WAERS FROM FKKOP INTO @DATA(ld_i_waers). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_waers). | ||||
DATA(ld_ix_waers) | = ' '. | |||
"SELECT single BUDAT FROM FKKOP INTO @DATA(ld_i_budat). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_budat). | ||||
DATA(ld_ix_budat) | = ' '. | |||
"SELECT single BUKRS FROM FKKOP INTO @DATA(ld_i_bukrs). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_vkont). | ||||
DATA(ld_ix_vkont) | = ' '. | |||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_bukrs). | ||||
DATA(ld_ix_bukrs) | = ' '. | |||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_sample_flag). | ||||
DATA(ld_ix_sample_flag) | = ' '. | |||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_only_open_items). | ||||
DATA(ld_ix_only_open_items) | = ' '. | |||
"SELECT single GPART FROM FKKOP INTO @DATA(ld_i_gpart). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_gpart). | ||||
DATA(ld_ix_gpart) | = ' '. | |||
"SELECT single OPBEL FROM FKKOP INTO @DATA(ld_i_opbel). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_opbel). | ||||
DATA(ld_ix_opbel) | = ' '. | |||
"SELECT single FAEDN FROM FKKOP INTO @DATA(ld_i_faedn). | ||||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_faedn). | ||||
DATA(ld_ix_faedn) | = ' '. | |||
"SELECT single VTREF FROM FKKOP INTO @DATA(ld_i_vtref). | ||||
Search for further information about these or an SAP related objects