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

Function FKK_SAMPLE_0669 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_0669'".
EXPORTING
* I_SRT1 = "
* I_FKK042Z = "
* I_FKK042E = "
* I_OPC = "
* IS_BUS000_EXT = "
IS_BUS0CC = "
I_ONLY_CHECK = "
IMPORTING
ET_BUS0CC = "
E_REJECT = "
TABLES
* T_ITEMS = "
* T_MESSAGES = "
IMPORTING Parameters details for FKK_SAMPLE_0669
I_SRT1 -
Data type: FKKPY_SRT1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FKK042Z -
Data type: FKK042ZOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FKK042E -
Data type: TFK042EOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OPC -
Data type: DFKKOPCOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_BUS000_EXT -
Data type: BUS000_EXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_BUS0CC -
Data type: BUS0CCOptional: No
Call by Reference: No ( called with pass by value option)
I_ONLY_CHECK -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_SAMPLE_0669
ET_BUS0CC -
Data type: BUS0CC_TOptional: No
Call by Reference: No ( called with pass by value option)
E_REJECT -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_SAMPLE_0669
T_ITEMS -
Data type: FKKPY_0650Optional: Yes
Call by Reference: No ( called with pass by value option)
T_MESSAGES -
Data type: MESSA_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_SAMPLE_0669 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_srt1 | TYPE FKKPY_SRT1, " | |||
| lt_t_items | TYPE STANDARD TABLE OF FKKPY_0650, " | |||
| lv_et_bus0cc | TYPE BUS0CC_T, " | |||
| lv_e_reject | TYPE XFELD, " | |||
| lv_i_fkk042z | TYPE FKK042Z, " | |||
| lt_t_messages | TYPE STANDARD TABLE OF MESSA_KK, " | |||
| lv_i_fkk042e | TYPE TFK042E, " | |||
| lv_i_opc | TYPE DFKKOPC, " | |||
| lv_is_bus000_ext | TYPE BUS000_EXT, " | |||
| lv_is_bus0cc | TYPE BUS0CC, " | |||
| lv_i_only_check | TYPE XFELD. " |
|   CALL FUNCTION 'FKK_SAMPLE_0669' " |
| EXPORTING | ||
| I_SRT1 | = lv_i_srt1 | |
| I_FKK042Z | = lv_i_fkk042z | |
| I_FKK042E | = lv_i_fkk042e | |
| I_OPC | = lv_i_opc | |
| IS_BUS000_EXT | = lv_is_bus000_ext | |
| IS_BUS0CC | = lv_is_bus0cc | |
| I_ONLY_CHECK | = lv_i_only_check | |
| IMPORTING | ||
| ET_BUS0CC | = lv_et_bus0cc | |
| E_REJECT | = lv_e_reject | |
| TABLES | ||
| T_ITEMS | = lt_t_items | |
| T_MESSAGES | = lt_t_messages | |
| . " FKK_SAMPLE_0669 | ||
ABAP code using 7.40 inline data declarations to call FM FKK_SAMPLE_0669
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