SAP FKK_SAMPLE_1113 Function Module for









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

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



Function FKK_SAMPLE_1113 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_1113'"
EXPORTING
I_HERKF = "
* I_RESOB = ' ' "
* I_RESKY = ' ' "
* I_FIKEY = ' ' "
* I_FIKEY_ROOT = ' ' "
* I_PARALLEL_PROCESSING = ' ' "
* I_UNAME = SY-UNAME "

IMPORTING
E_FIKEY = "Reconciliation Key
E_FIKEY_ROOT = "
.



IMPORTING Parameters details for FKK_SAMPLE_1113

I_HERKF -

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

I_RESOB -

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

I_RESKY -

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

I_FIKEY -

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

I_FIKEY_ROOT -

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

I_PARALLEL_PROCESSING -

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

I_UNAME -

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

EXPORTING Parameters details for FKK_SAMPLE_1113

E_FIKEY - Reconciliation Key

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

E_FIKEY_ROOT -

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

Copy and paste ABAP code example for FKK_SAMPLE_1113 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_e_fikey  TYPE FKKKO-FIKEY, "   
lv_i_herkf  TYPE FKKKO-HERKF, "   
lv_i_resob  TYPE DFKKSUMC-RESOB, "   SPACE
lv_e_fikey_root  TYPE FKKPY_PARA-FIKPY, "   
lv_i_resky  TYPE DFKKSUMC-RESKY, "   SPACE
lv_i_fikey  TYPE FKKKO-FIKEY, "   SPACE
lv_i_fikey_root  TYPE FKKPY_PARA-FIKPY, "   SPACE
lv_i_parallel_processing  TYPE BOOLE-BOOLE, "   SPACE
lv_i_uname  TYPE SY-UNAME. "   SY-UNAME

  CALL FUNCTION 'FKK_SAMPLE_1113'  "
    EXPORTING
         I_HERKF = lv_i_herkf
         I_RESOB = lv_i_resob
         I_RESKY = lv_i_resky
         I_FIKEY = lv_i_fikey
         I_FIKEY_ROOT = lv_i_fikey_root
         I_PARALLEL_PROCESSING = lv_i_parallel_processing
         I_UNAME = lv_i_uname
    IMPORTING
         E_FIKEY = lv_e_fikey
         E_FIKEY_ROOT = lv_e_fikey_root
. " FKK_SAMPLE_1113




ABAP code using 7.40 inline data declarations to call FM FKK_SAMPLE_1113

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 FIKEY FROM FKKKO INTO @DATA(ld_e_fikey).
 
"SELECT single HERKF FROM FKKKO INTO @DATA(ld_i_herkf).
 
"SELECT single RESOB FROM DFKKSUMC INTO @DATA(ld_i_resob).
DATA(ld_i_resob) = ' '.
 
"SELECT single FIKPY FROM FKKPY_PARA INTO @DATA(ld_e_fikey_root).
 
"SELECT single RESKY FROM DFKKSUMC INTO @DATA(ld_i_resky).
DATA(ld_i_resky) = ' '.
 
"SELECT single FIKEY FROM FKKKO INTO @DATA(ld_i_fikey).
DATA(ld_i_fikey) = ' '.
 
"SELECT single FIKPY FROM FKKPY_PARA INTO @DATA(ld_i_fikey_root).
DATA(ld_i_fikey_root) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_parallel_processing).
DATA(ld_i_parallel_processing) = ' '.
 
"SELECT single UNAME FROM SY INTO @DATA(ld_i_uname).
DATA(ld_i_uname) = SY-UNAME.
 


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!