SAP FKK_SAMPLE_0399 Function Module for









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

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



Function FKK_SAMPLE_0399 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_SAMPLE_0399'"
EXPORTING
* I_FKKMAZE_MODIFY_MAHNS = "
* I_VKONT_LINES_REVERSED = "Contract Account Number
* I_MAZAE_LINES_REVERSED = "Counter for several dunning notices to a business partner
* I_LAUFD_HEADER_REVERSED = "Date ID
* I_LAUFI_HEADER_REVERSED = "Additional Identification Characteristic
* I_GPART_HEADER_REVERSED = "Business Partner Number
* I_VKONT_HEADER_REVERSED = "Contract Account Number
* I_MAZAE_HEADER_REVERSED = "Counter for several dunning notices to a business partner
* I_LAUFD_LINES_REVERSED = "Date ID
* I_LAUFI_LINES_REVERSED = "Additional Identification Characteristic
* I_GPART_LINES_REVERSED = "Business Partner Number

TABLES
* T_FKKMAKO_INSERT = "Dunning History Header
* T_FKKMAZE_INSERT = "Dunning History of Line Items
* T_FKKMAKT_MODIFY = "Dunning Activities
* T_FKKMAKO_MODIFY = "Dunning History Header
* T_FKKMAZE_MODIFY = "Dunning History of Line Items
.



IMPORTING Parameters details for FKK_SAMPLE_0399

I_FKKMAZE_MODIFY_MAHNS -

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

I_VKONT_LINES_REVERSED - Contract Account Number

Data type: FKKMAZE-VKONT
Optional: Yes
Call by Reference: Yes

I_MAZAE_LINES_REVERSED - Counter for several dunning notices to a business partner

Data type: FKKMAZE-MAZAE
Optional: Yes
Call by Reference: Yes

I_LAUFD_HEADER_REVERSED - Date ID

Data type: FKKMAKO-LAUFD
Optional: Yes
Call by Reference: Yes

I_LAUFI_HEADER_REVERSED - Additional Identification Characteristic

Data type: FKKMAKO-LAUFI
Optional: Yes
Call by Reference: Yes

I_GPART_HEADER_REVERSED - Business Partner Number

Data type: FKKMAKO-GPART
Optional: Yes
Call by Reference: Yes

I_VKONT_HEADER_REVERSED - Contract Account Number

Data type: FKKMAKO-VKONT
Optional: Yes
Call by Reference: Yes

I_MAZAE_HEADER_REVERSED - Counter for several dunning notices to a business partner

Data type: FKKMAKO-MAZAE
Optional: Yes
Call by Reference: Yes

I_LAUFD_LINES_REVERSED - Date ID

Data type: FKKMAZE-LAUFD
Optional: Yes
Call by Reference: Yes

I_LAUFI_LINES_REVERSED - Additional Identification Characteristic

Data type: FKKMAZE-LAUFI
Optional: Yes
Call by Reference: Yes

I_GPART_LINES_REVERSED - Business Partner Number

Data type: FKKMAZE-GPART
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for FKK_SAMPLE_0399

T_FKKMAKO_INSERT - Dunning History Header

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

T_FKKMAZE_INSERT - Dunning History of Line Items

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

T_FKKMAKT_MODIFY - Dunning Activities

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

T_FKKMAKO_MODIFY - Dunning History Header

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

T_FKKMAZE_MODIFY - Dunning History of Line Items

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

Copy and paste ABAP code example for FKK_SAMPLE_0399 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:
lt_t_fkkmako_insert  TYPE STANDARD TABLE OF FKKMAKO, "   
lv_i_fkkmaze_modify_mahns  TYPE FKKMAZE, "   
lv_i_vkont_lines_reversed  TYPE FKKMAZE-VKONT, "   
lv_i_mazae_lines_reversed  TYPE FKKMAZE-MAZAE, "   
lt_t_fkkmaze_insert  TYPE STANDARD TABLE OF FKKMAZE, "   
lv_i_laufd_header_reversed  TYPE FKKMAKO-LAUFD, "   
lt_t_fkkmakt_modify  TYPE STANDARD TABLE OF FKKMAKT, "   
lv_i_laufi_header_reversed  TYPE FKKMAKO-LAUFI, "   
lt_t_fkkmako_modify  TYPE STANDARD TABLE OF FKKMAKO, "   
lv_i_gpart_header_reversed  TYPE FKKMAKO-GPART, "   
lt_t_fkkmaze_modify  TYPE STANDARD TABLE OF FKKMAZE, "   
lv_i_vkont_header_reversed  TYPE FKKMAKO-VKONT, "   
lv_i_mazae_header_reversed  TYPE FKKMAKO-MAZAE, "   
lv_i_laufd_lines_reversed  TYPE FKKMAZE-LAUFD, "   
lv_i_laufi_lines_reversed  TYPE FKKMAZE-LAUFI, "   
lv_i_gpart_lines_reversed  TYPE FKKMAZE-GPART. "   

  CALL FUNCTION 'FKK_SAMPLE_0399'  "
    EXPORTING
         I_FKKMAZE_MODIFY_MAHNS = lv_i_fkkmaze_modify_mahns
         I_VKONT_LINES_REVERSED = lv_i_vkont_lines_reversed
         I_MAZAE_LINES_REVERSED = lv_i_mazae_lines_reversed
         I_LAUFD_HEADER_REVERSED = lv_i_laufd_header_reversed
         I_LAUFI_HEADER_REVERSED = lv_i_laufi_header_reversed
         I_GPART_HEADER_REVERSED = lv_i_gpart_header_reversed
         I_VKONT_HEADER_REVERSED = lv_i_vkont_header_reversed
         I_MAZAE_HEADER_REVERSED = lv_i_mazae_header_reversed
         I_LAUFD_LINES_REVERSED = lv_i_laufd_lines_reversed
         I_LAUFI_LINES_REVERSED = lv_i_laufi_lines_reversed
         I_GPART_LINES_REVERSED = lv_i_gpart_lines_reversed
    TABLES
         T_FKKMAKO_INSERT = lt_t_fkkmako_insert
         T_FKKMAZE_INSERT = lt_t_fkkmaze_insert
         T_FKKMAKT_MODIFY = lt_t_fkkmakt_modify
         T_FKKMAKO_MODIFY = lt_t_fkkmako_modify
         T_FKKMAZE_MODIFY = lt_t_fkkmaze_modify
. " FKK_SAMPLE_0399




ABAP code using 7.40 inline data declarations to call FM FKK_SAMPLE_0399

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 VKONT FROM FKKMAZE INTO @DATA(ld_i_vkont_lines_reversed).
 
"SELECT single MAZAE FROM FKKMAZE INTO @DATA(ld_i_mazae_lines_reversed).
 
 
"SELECT single LAUFD FROM FKKMAKO INTO @DATA(ld_i_laufd_header_reversed).
 
 
"SELECT single LAUFI FROM FKKMAKO INTO @DATA(ld_i_laufi_header_reversed).
 
 
"SELECT single GPART FROM FKKMAKO INTO @DATA(ld_i_gpart_header_reversed).
 
 
"SELECT single VKONT FROM FKKMAKO INTO @DATA(ld_i_vkont_header_reversed).
 
"SELECT single MAZAE FROM FKKMAKO INTO @DATA(ld_i_mazae_header_reversed).
 
"SELECT single LAUFD FROM FKKMAZE INTO @DATA(ld_i_laufd_lines_reversed).
 
"SELECT single LAUFI FROM FKKMAZE INTO @DATA(ld_i_laufi_lines_reversed).
 
"SELECT single GPART FROM FKKMAZE INTO @DATA(ld_i_gpart_lines_reversed).
 


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!