SAP FKK_GET_DUN_DATA_FOR_REFERENCE Function Module for









FKK_GET_DUN_DATA_FOR_REFERENCE is a standard fkk get dun data for reference 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 get dun data for reference FM, simply by entering the name FKK_GET_DUN_DATA_FOR_REFERENCE into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_GET_DUN_DATA_FOR_REFERENCE 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_GET_DUN_DATA_FOR_REFERENCE'"
EXPORTING
I_FKKOP = "
* I_XDIALOG = "
* I_XFETCH_FIRST = "
* I_CHECK_OPSTA = "
* I_READ_ARCHIVE = "

IMPORTING
E_FKKMAZE = "
E_FKKMAKO = "
E_MAHNS = "
E_MAHNN = "
E_AUSDT = "
E_MSTYP = "
E_MAHNV = "Dunning Procedure
E_STEP = "
E_STRAT = "Collection Strategy

TABLES
* T_FKKMAZE = "

EXCEPTIONS
GPART_NOT_IN_HISTORY = 1 ITEM_NOT_IN_HISTORY = 2
.



IMPORTING Parameters details for FKK_GET_DUN_DATA_FOR_REFERENCE

I_FKKOP -

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

I_XDIALOG -

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

I_XFETCH_FIRST -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

I_CHECK_OPSTA -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

I_READ_ARCHIVE -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FKK_GET_DUN_DATA_FOR_REFERENCE

E_FKKMAZE -

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

E_FKKMAKO -

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

E_MAHNS -

Data type: FKKMAZE-MAHNS
Optional: No
Call by Reference: Yes

E_MAHNN -

Data type: FKKMAZE-MAHNN
Optional: No
Call by Reference: Yes

E_AUSDT -

Data type: FKKMAKO-AUSDT
Optional: No
Call by Reference: Yes

E_MSTYP -

Data type: FKKMAZE-MSTYP
Optional: No
Call by Reference: Yes

E_MAHNV - Dunning Procedure

Data type: FKKMAZE-MAHNV
Optional: No
Call by Reference: Yes

E_STEP -

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

E_STRAT - Collection Strategy

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

TABLES Parameters details for FKK_GET_DUN_DATA_FOR_REFERENCE

T_FKKMAZE -

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

EXCEPTIONS details

GPART_NOT_IN_HISTORY -

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

ITEM_NOT_IN_HISTORY -

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

Copy and paste ABAP code example for FKK_GET_DUN_DATA_FOR_REFERENCE 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_fkkop  TYPE FKKOP, "   
lv_e_fkkmaze  TYPE FKKMAZE, "   
lt_t_fkkmaze  TYPE STANDARD TABLE OF FKKMAZE, "   
lv_gpart_not_in_history  TYPE FKKMAZE, "   
lv_e_fkkmako  TYPE FKKMAKO, "   
lv_i_xdialog  TYPE BOOLE-BOOLE, "   
lv_item_not_in_history  TYPE BOOLE, "   
lv_e_mahns  TYPE FKKMAZE-MAHNS, "   
lv_i_xfetch_first  TYPE BOOLE-BOOLE, "   
lv_e_mahnn  TYPE FKKMAZE-MAHNN, "   
lv_i_check_opsta  TYPE BOOLE-BOOLE, "   
lv_e_ausdt  TYPE FKKMAKO-AUSDT, "   
lv_i_read_archive  TYPE BOOLE-BOOLE, "   
lv_e_mstyp  TYPE FKKMAZE-MSTYP, "   
lv_e_mahnv  TYPE FKKMAZE-MAHNV, "   
lv_e_step  TYPE STEP_CM_KK, "   
lv_e_strat  TYPE STRAT_CM_KK. "   

  CALL FUNCTION 'FKK_GET_DUN_DATA_FOR_REFERENCE'  "
    EXPORTING
         I_FKKOP = lv_i_fkkop
         I_XDIALOG = lv_i_xdialog
         I_XFETCH_FIRST = lv_i_xfetch_first
         I_CHECK_OPSTA = lv_i_check_opsta
         I_READ_ARCHIVE = lv_i_read_archive
    IMPORTING
         E_FKKMAZE = lv_e_fkkmaze
         E_FKKMAKO = lv_e_fkkmako
         E_MAHNS = lv_e_mahns
         E_MAHNN = lv_e_mahnn
         E_AUSDT = lv_e_ausdt
         E_MSTYP = lv_e_mstyp
         E_MAHNV = lv_e_mahnv
         E_STEP = lv_e_step
         E_STRAT = lv_e_strat
    TABLES
         T_FKKMAZE = lt_t_fkkmaze
    EXCEPTIONS
        GPART_NOT_IN_HISTORY = 1
        ITEM_NOT_IN_HISTORY = 2
. " FKK_GET_DUN_DATA_FOR_REFERENCE




ABAP code using 7.40 inline data declarations to call FM FKK_GET_DUN_DATA_FOR_REFERENCE

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_xdialog).
 
 
"SELECT single MAHNS FROM FKKMAZE INTO @DATA(ld_e_mahns).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xfetch_first).
 
"SELECT single MAHNN FROM FKKMAZE INTO @DATA(ld_e_mahnn).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check_opsta).
 
"SELECT single AUSDT FROM FKKMAKO INTO @DATA(ld_e_ausdt).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_read_archive).
 
"SELECT single MSTYP FROM FKKMAZE INTO @DATA(ld_e_mstyp).
 
"SELECT single MAHNV FROM FKKMAZE INTO @DATA(ld_e_mahnv).
 
 
 


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!