SAP FKK_GL_LINE_ITEMS_SELECT Function Module for









FKK_GL_LINE_ITEMS_SELECT is a standard fkk gl 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 gl line items select FM, simply by entering the name FKK_GL_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_GL_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_GL_LINE_ITEMS_SELECT'"
EXPORTING
* I_OPBEL = "
* IX_GSBER = ' ' "
* I_CLEAR_TABLE = 'X' "
* I_LINECOUNT = "
* I_COUNT_FLAG = "
* IX_SAMPLE_FLAG = ' ' "
* IX_OPBEL = ' ' "
* I_OPUPK = "
* IX_OPUPK = ' ' "
* I_BUKRS = "
* IX_BUKRS = ' ' "
* I_HKONT = "
* IX_HKONT = ' ' "
* I_GSBER = "

IMPORTING
E_COUNT = "

TABLES
* TP_FKKOPK = "
* TP_SELECTTAB = "
* TP_WHERETAB = "
* TP_ORDERTAB = "
* TP_OPBEL_RANGE = "
* TP_OPUPK_RANGE = "
* TP_BUKRS_RANGE = "
* TP_HKONT_RANGE = "
* TP_GSBER_RANGE = "
.



IMPORTING Parameters details for FKK_GL_LINE_ITEMS_SELECT

I_OPBEL -

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

IX_GSBER -

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

I_CLEAR_TABLE -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LINECOUNT -

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

I_COUNT_FLAG -

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

IX_SAMPLE_FLAG -

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

IX_OPBEL -

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

I_OPUPK -

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

IX_OPUPK -

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

I_BUKRS -

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

IX_BUKRS -

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

I_HKONT -

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

IX_HKONT -

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

I_GSBER -

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

EXPORTING Parameters details for FKK_GL_LINE_ITEMS_SELECT

E_COUNT -

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

TABLES Parameters details for FKK_GL_LINE_ITEMS_SELECT

TP_FKKOPK -

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

TP_SELECTTAB -

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

TP_WHERETAB -

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

TP_ORDERTAB -

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

TP_OPBEL_RANGE -

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

TP_OPUPK_RANGE -

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

TP_BUKRS_RANGE -

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

TP_HKONT_RANGE -

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

TP_GSBER_RANGE -

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

Copy and paste ABAP code example for FKK_GL_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_opbel  TYPE FKKOPK-OPBEL, "   
lt_tp_fkkopk  TYPE STANDARD TABLE OF FKKOPK, "   
lv_ix_gsber  TYPE BOOLE-BOOLE, "   SPACE
lv_i_clear_table  TYPE C, "   'X'
lv_i_linecount  TYPE SY-DBCNT, "   
lv_i_count_flag  TYPE C, "   
lv_ix_sample_flag  TYPE BOOLE-BOOLE, "   SPACE
lv_ix_opbel  TYPE BOOLE-BOOLE, "   SPACE
lt_tp_selecttab  TYPE STANDARD TABLE OF SDIT_QRY, "   
lv_i_opupk  TYPE FKKOPK-OPUPK, "   
lt_tp_wheretab  TYPE STANDARD TABLE OF SDIT_QRY, "   
lv_ix_opupk  TYPE BOOLE-BOOLE, "   SPACE
lt_tp_ordertab  TYPE STANDARD TABLE OF SDIT_QRY, "   
lv_i_bukrs  TYPE FKKOPK-BUKRS, "   
lt_tp_opbel_range  TYPE STANDARD TABLE OF IROPBEL, "   
lv_ix_bukrs  TYPE BOOLE-BOOLE, "   SPACE
lt_tp_opupk_range  TYPE STANDARD TABLE OF FKKR_OPUPK, "   
lv_i_hkont  TYPE FKKOPK-HKONT, "   
lt_tp_bukrs_range  TYPE STANDARD TABLE OF FKKR_BUKRS, "   
lv_ix_hkont  TYPE BOOLE-BOOLE, "   SPACE
lt_tp_hkont_range  TYPE STANDARD TABLE OF FKKR_HKONT, "   
lv_i_gsber  TYPE FKKOPK-GSBER, "   
lt_tp_gsber_range  TYPE STANDARD TABLE OF FKKR_GSBER. "   

  CALL FUNCTION 'FKK_GL_LINE_ITEMS_SELECT'  "
    EXPORTING
         I_OPBEL = lv_i_opbel
         IX_GSBER = lv_ix_gsber
         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
         IX_OPBEL = lv_ix_opbel
         I_OPUPK = lv_i_opupk
         IX_OPUPK = lv_ix_opupk
         I_BUKRS = lv_i_bukrs
         IX_BUKRS = lv_ix_bukrs
         I_HKONT = lv_i_hkont
         IX_HKONT = lv_ix_hkont
         I_GSBER = lv_i_gsber
    IMPORTING
         E_COUNT = lv_e_count
    TABLES
         TP_FKKOPK = lt_tp_fkkopk
         TP_SELECTTAB = lt_tp_selecttab
         TP_WHERETAB = lt_tp_wheretab
         TP_ORDERTAB = lt_tp_ordertab
         TP_OPBEL_RANGE = lt_tp_opbel_range
         TP_OPUPK_RANGE = lt_tp_opupk_range
         TP_BUKRS_RANGE = lt_tp_bukrs_range
         TP_HKONT_RANGE = lt_tp_hkont_range
         TP_GSBER_RANGE = lt_tp_gsber_range
. " FKK_GL_LINE_ITEMS_SELECT




ABAP code using 7.40 inline data declarations to call FM FKK_GL_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 OPBEL FROM FKKOPK INTO @DATA(ld_i_opbel).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_gsber).
DATA(ld_ix_gsber) = ' '.
 
DATA(ld_i_clear_table) = 'X'.
 
"SELECT single DBCNT FROM SY INTO @DATA(ld_i_linecount).
 
 
"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_opbel).
DATA(ld_ix_opbel) = ' '.
 
 
"SELECT single OPUPK FROM FKKOPK INTO @DATA(ld_i_opupk).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_opupk).
DATA(ld_ix_opupk) = ' '.
 
 
"SELECT single BUKRS FROM FKKOPK INTO @DATA(ld_i_bukrs).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_bukrs).
DATA(ld_ix_bukrs) = ' '.
 
 
"SELECT single HKONT FROM FKKOPK INTO @DATA(ld_i_hkont).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_hkont).
DATA(ld_ix_hkont) = ' '.
 
 
"SELECT single GSBER FROM FKKOPK INTO @DATA(ld_i_gsber).
 
 


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!