SAP FKK_CLOSED_ITEM_SELECT Function Module for









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

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



Function FKK_CLOSED_ITEM_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_CLOSED_ITEM_SELECT'"
EXPORTING
I_DATE_FROM = "
* I_SLINP = "Installment Plan has Priority
* I_SLCBL = "Collective Invoice has Priority
* I_NODPY = "No Down Payments for Statistical Receivables
* I_VKONT = "Range Table VKONT
* I_VTREF = "Range Table Type VTREF
* I_ALLITEMS = "
I_DATE_TO = "
* I_GPART = "Range Table GPART
* I_BUKRS = "Range Table Company Code
* I_GSBER = "Range Table GSBER
* I_HKONT = "Range Table HKONT
I_FUNCNAME = "Function to Be Executed
* I_FIELDS = "Field Names
* I_NO_STAT = "
.



IMPORTING Parameters details for FKK_CLOSED_ITEM_SELECT

I_DATE_FROM -

Data type: KEYDTBWFROM_KK
Optional: No
Call by Reference: Yes

I_SLINP - Installment Plan has Priority

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

I_SLCBL - Collective Invoice has Priority

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

I_NODPY - No Down Payments for Statistical Receivables

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

I_VKONT - Range Table VKONT

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

I_VTREF - Range Table Type VTREF

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

I_ALLITEMS -

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

I_DATE_TO -

Data type: KEYDTBWTO_KK
Optional: No
Call by Reference: Yes

I_GPART - Range Table GPART

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

I_BUKRS - Range Table Company Code

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

I_GSBER - Range Table GSBER

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

I_HKONT - Range Table HKONT

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

I_FUNCNAME - Function to Be Executed

Data type: FUNCNAME
Optional: No
Call by Reference: Yes

I_FIELDS - Field Names

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

I_NO_STAT -

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

Copy and paste ABAP code example for FKK_CLOSED_ITEM_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_i_date_from  TYPE KEYDTBWFROM_KK, "   
lv_i_slinp  TYPE XFELD, "   
lv_i_slcbl  TYPE XFELD, "   
lv_i_nodpy  TYPE XFELD, "   
lv_i_vkont  TYPE FKK_RT_VKONT, "   
lv_i_vtref  TYPE FKK_RT_VTREF, "   
lv_i_allitems  TYPE XFELD, "   
lv_i_date_to  TYPE KEYDTBWTO_KK, "   
lv_i_gpart  TYPE FKK_RT_GPART, "   
lv_i_bukrs  TYPE FKK_RT_BUKRS, "   
lv_i_gsber  TYPE FKK_RT_GSBER, "   
lv_i_hkont  TYPE FKK_RT_HKONT, "   
lv_i_funcname  TYPE FUNCNAME, "   
lv_i_fields  TYPE FKK_FIELDS, "   
lv_i_no_stat  TYPE XFELD. "   

  CALL FUNCTION 'FKK_CLOSED_ITEM_SELECT'  "
    EXPORTING
         I_DATE_FROM = lv_i_date_from
         I_SLINP = lv_i_slinp
         I_SLCBL = lv_i_slcbl
         I_NODPY = lv_i_nodpy
         I_VKONT = lv_i_vkont
         I_VTREF = lv_i_vtref
         I_ALLITEMS = lv_i_allitems
         I_DATE_TO = lv_i_date_to
         I_GPART = lv_i_gpart
         I_BUKRS = lv_i_bukrs
         I_GSBER = lv_i_gsber
         I_HKONT = lv_i_hkont
         I_FUNCNAME = lv_i_funcname
         I_FIELDS = lv_i_fields
         I_NO_STAT = lv_i_no_stat
. " FKK_CLOSED_ITEM_SELECT




ABAP code using 7.40 inline data declarations to call FM FKK_CLOSED_ITEM_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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!