SAP FKK_DOCUMENT_LIST_DISPLAY Function Module for









FKK_DOCUMENT_LIST_DISPLAY is a standard fkk document list display 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 document list display FM, simply by entering the name FKK_DOCUMENT_LIST_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_DOCUMENT_LIST_DISPLAY 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_DOCUMENT_LIST_DISPLAY'"
EXPORTING
* I_OPBEL = "Document Number
* I_SHOW_DFKKOP = 'X' "Business Partner Items
* I_SHOW_DFKKOPK = ' ' "G/L Account Items
* I_SHOW_DFKKKO = ' ' "
* I_EXBEL = ' ' "
* I_CALLBACK_TCODE = 'FPE3' "
* I_OPORD = "Classification Key

TABLES
* T_DOCUMENTS = "

EXCEPTIONS
DISPLAY_NOT_POSSIBLE = 1
.



IMPORTING Parameters details for FKK_DOCUMENT_LIST_DISPLAY

I_OPBEL - Document Number

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

I_SHOW_DFKKOP - Business Partner Items

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

I_SHOW_DFKKOPK - G/L Account Items

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

I_SHOW_DFKKKO -

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

I_EXBEL -

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

I_CALLBACK_TCODE -

Data type: TSTC-TCODE
Default: 'FPE3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OPORD - Classification Key

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

TABLES Parameters details for FKK_DOCUMENT_LIST_DISPLAY

T_DOCUMENTS -

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

EXCEPTIONS details

DISPLAY_NOT_POSSIBLE - Display not possible

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

Copy and paste ABAP code example for FKK_DOCUMENT_LIST_DISPLAY 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_opbel  TYPE FKKKO-OPBEL, "   
lt_t_documents  TYPE STANDARD TABLE OF FKKKO, "   
lv_display_not_possible  TYPE FKKKO, "   
lv_i_show_dfkkop  TYPE BOOLE-BOOLE, "   'X'
lv_i_show_dfkkopk  TYPE BOOLE-BOOLE, "   SPACE
lv_i_show_dfkkko  TYPE BOOLE-BOOLE, "   SPACE
lv_i_exbel  TYPE DFKKEXTDOC-EXBEL, "   SPACE
lv_i_callback_tcode  TYPE TSTC-TCODE, "   'FPE3'
lv_i_opord  TYPE FKK_ENH_OPORD-OPORD. "   

  CALL FUNCTION 'FKK_DOCUMENT_LIST_DISPLAY'  "
    EXPORTING
         I_OPBEL = lv_i_opbel
         I_SHOW_DFKKOP = lv_i_show_dfkkop
         I_SHOW_DFKKOPK = lv_i_show_dfkkopk
         I_SHOW_DFKKKO = lv_i_show_dfkkko
         I_EXBEL = lv_i_exbel
         I_CALLBACK_TCODE = lv_i_callback_tcode
         I_OPORD = lv_i_opord
    TABLES
         T_DOCUMENTS = lt_t_documents
    EXCEPTIONS
        DISPLAY_NOT_POSSIBLE = 1
. " FKK_DOCUMENT_LIST_DISPLAY




ABAP code using 7.40 inline data declarations to call FM FKK_DOCUMENT_LIST_DISPLAY

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 OPBEL FROM FKKKO INTO @DATA(ld_i_opbel).
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_show_dfkkop).
DATA(ld_i_show_dfkkop) = 'X'.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_show_dfkkopk).
DATA(ld_i_show_dfkkopk) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_show_dfkkko).
DATA(ld_i_show_dfkkko) = ' '.
 
"SELECT single EXBEL FROM DFKKEXTDOC INTO @DATA(ld_i_exbel).
DATA(ld_i_exbel) = ' '.
 
"SELECT single TCODE FROM TSTC INTO @DATA(ld_i_callback_tcode).
DATA(ld_i_callback_tcode) = 'FPE3'.
 
"SELECT single OPORD FROM FKK_ENH_OPORD INTO @DATA(ld_i_opord).
 


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!