SAP FKK_GL_ITEMS_SELECT Function Module for









FKK_GL_ITEMS_SELECT is a standard fkk gl 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 gl items select FM, simply by entering the name FKK_GL_ITEMS_SELECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: FKK_RECONCILIATION
Program Name: SAPLFKK_RECONCILIATION
Main Program: SAPLFKK_RECONCILIATION
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FKK_GL_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_GL_ITEMS_SELECT'"
EXPORTING
* I_TEST_SEL_ONLY = "

TABLES
* T_BUKRS = "Ranges for company code
* T_FIKEY = "
* T_OUT_SUMSZ = "
* T_OUT_EPGL = "
* T_BELNR = "
* T_GJAHR = "
* T_HKONT = "
* T_BUDAT = "
* T_CPUDT = "
* T_WAERS = "
* T_GSBER = "
* T_AWKEY = "

EXCEPTIONS
NO_SELECT_RESTRICTION = 1 NO_DATA_SELECTED = 2
.



IMPORTING Parameters details for FKK_GL_ITEMS_SELECT

I_TEST_SEL_ONLY -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FKK_GL_ITEMS_SELECT

T_BUKRS - Ranges for company code

Data type: FKKR_BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_FIKEY -

Data type: FKK_ABS_FIKEY
Optional: Yes
Call by Reference: Yes

T_OUT_SUMSZ -

Data type: FKK_ABS_SUMSZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_OUT_EPGL -

Data type: FKK_ABS_EPGL
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_BELNR -

Data type: FKKR_BELNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_GJAHR -

Data type: FKKR_GJAHR
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_HKONT -

Data type: FKKR_HKONT
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_BUDAT -

Data type: FKKR_BUDAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_CPUDT -

Data type: FKKR_CPUDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_WAERS -

Data type: FKKR_WAERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_GSBER -

Data type: FKKR_GSBER
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_AWKEY -

Data type: FKKR_AWKEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_SELECT_RESTRICTION - No Selection Criteria

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_DATA_SELECTED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FKK_GL_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:
lt_t_bukrs  TYPE STANDARD TABLE OF FKKR_BUKRS, "   
lv_i_test_sel_only  TYPE BOOLE-BOOLE, "   
lv_no_select_restriction  TYPE BOOLE, "   
lt_t_fikey  TYPE STANDARD TABLE OF FKK_ABS_FIKEY, "   
lt_t_out_sumsz  TYPE STANDARD TABLE OF FKK_ABS_SUMSZ, "   
lt_t_out_epgl  TYPE STANDARD TABLE OF FKK_ABS_EPGL, "   
lt_t_belnr  TYPE STANDARD TABLE OF FKKR_BELNR, "   
lv_no_data_selected  TYPE FKKR_BELNR, "   
lt_t_gjahr  TYPE STANDARD TABLE OF FKKR_GJAHR, "   
lt_t_hkont  TYPE STANDARD TABLE OF FKKR_HKONT, "   
lt_t_budat  TYPE STANDARD TABLE OF FKKR_BUDAT, "   
lt_t_cpudt  TYPE STANDARD TABLE OF FKKR_CPUDT, "   
lt_t_waers  TYPE STANDARD TABLE OF FKKR_WAERS, "   
lt_t_gsber  TYPE STANDARD TABLE OF FKKR_GSBER, "   
lt_t_awkey  TYPE STANDARD TABLE OF FKKR_AWKEY. "   

  CALL FUNCTION 'FKK_GL_ITEMS_SELECT'  "
    EXPORTING
         I_TEST_SEL_ONLY = lv_i_test_sel_only
    TABLES
         T_BUKRS = lt_t_bukrs
         T_FIKEY = lt_t_fikey
         T_OUT_SUMSZ = lt_t_out_sumsz
         T_OUT_EPGL = lt_t_out_epgl
         T_BELNR = lt_t_belnr
         T_GJAHR = lt_t_gjahr
         T_HKONT = lt_t_hkont
         T_BUDAT = lt_t_budat
         T_CPUDT = lt_t_cpudt
         T_WAERS = lt_t_waers
         T_GSBER = lt_t_gsber
         T_AWKEY = lt_t_awkey
    EXCEPTIONS
        NO_SELECT_RESTRICTION = 1
        NO_DATA_SELECTED = 2
. " FKK_GL_ITEMS_SELECT




ABAP code using 7.40 inline data declarations to call FM FKK_GL_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 BOOLE FROM BOOLE INTO @DATA(ld_i_test_sel_only).
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!