SAP FKK_DUNN_GET_FREQUENCY Function Module for
FKK_DUNN_GET_FREQUENCY is a standard fkk dunn get frequency 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 dunn get frequency FM, simply by entering the name FKK_DUNN_GET_FREQUENCY into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKMB
Program Name: SAPLFKMB
Main Program: SAPLFKMB
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_DUNN_GET_FREQUENCY 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_DUNN_GET_FREQUENCY'".
EXPORTING
X_MAHNV = "Dunning Procedure
X_MAHND = "
X_AUSDT = "
X_RHYTH = "Dunning frequency in days
IMPORTING
E_RHYTHM_REACHED = "
EXCEPTIONS
NO_FAC_ID = 1 NO_FAC_DATE = 2
IMPORTING Parameters details for FKK_DUNN_GET_FREQUENCY
X_MAHNV - Dunning Procedure
Data type: TFK047A-MAHNVOptional: No
Call by Reference: Yes
X_MAHND -
Data type: FKKMAVS-MAHNDOptional: No
Call by Reference: Yes
X_AUSDT -
Data type: FKKMA_0300-AUSDTOptional: No
Call by Reference: Yes
X_RHYTH - Dunning frequency in days
Data type: TFK047B-RHYTHOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FKK_DUNN_GET_FREQUENCY
E_RHYTHM_REACHED -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_FAC_ID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_FAC_DATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_DUNN_GET_FREQUENCY 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_x_mahnv | TYPE TFK047A-MAHNV, " | |||
| lv_no_fac_id | TYPE TFK047A, " | |||
| lv_e_rhythm_reached | TYPE BOOLE-BOOLE, " | |||
| lv_x_mahnd | TYPE FKKMAVS-MAHND, " | |||
| lv_no_fac_date | TYPE FKKMAVS, " | |||
| lv_x_ausdt | TYPE FKKMA_0300-AUSDT, " | |||
| lv_x_rhyth | TYPE TFK047B-RHYTH. " |
|   CALL FUNCTION 'FKK_DUNN_GET_FREQUENCY' " |
| EXPORTING | ||
| X_MAHNV | = lv_x_mahnv | |
| X_MAHND | = lv_x_mahnd | |
| X_AUSDT | = lv_x_ausdt | |
| X_RHYTH | = lv_x_rhyth | |
| IMPORTING | ||
| E_RHYTHM_REACHED | = lv_e_rhythm_reached | |
| EXCEPTIONS | ||
| NO_FAC_ID = 1 | ||
| NO_FAC_DATE = 2 | ||
| . " FKK_DUNN_GET_FREQUENCY | ||
ABAP code using 7.40 inline data declarations to call FM FKK_DUNN_GET_FREQUENCY
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 MAHNV FROM TFK047A INTO @DATA(ld_x_mahnv). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_rhythm_reached). | ||||
| "SELECT single MAHND FROM FKKMAVS INTO @DATA(ld_x_mahnd). | ||||
| "SELECT single AUSDT FROM FKKMA_0300 INTO @DATA(ld_x_ausdt). | ||||
| "SELECT single RHYTH FROM TFK047B INTO @DATA(ld_x_rhyth). | ||||
Search for further information about these or an SAP related objects