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

Function FKK_SAMPLE_4610 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_4610'".
EXPORTING
INPUT = "
CHANGING
C_HEADER = "Header Data for Open Item Accounting Document
CT_BPITEM = "BAPI: Business Partner Items for Open Item Account Document
* CT_EXTENSIONIN = "Table with BAPIPAREX as Line Category
C_BK_DETAILS = "Bank Details ID of Payee
C_CRD_DETAILS = "Alternative Payment Card ID in Document
C_BAPIDFKKOPC = "Card Data Supplement for Business Partner Item
CT_MESSAGES = "Table with BAPI Return Information
IMPORTING Parameters details for FKK_SAMPLE_4610
INPUT -
Data type: FKK_CONTR_ACCT_DOWN_PAYT_REQ_1Optional: No
Call by Reference: Yes
CHANGING Parameters details for FKK_SAMPLE_4610
C_HEADER - Header Data for Open Item Accounting Document
Data type: BAPIDFKKKOOptional: No
Call by Reference: Yes
CT_BPITEM - BAPI: Business Partner Items for Open Item Account Document
Data type: BAPIDFKKOP_TABOptional: No
Call by Reference: Yes
CT_EXTENSIONIN - Table with BAPIPAREX as Line Category
Data type: BAPIPAREXTABOptional: Yes
Call by Reference: Yes
C_BK_DETAILS - Bank Details ID of Payee
Data type: EMBVT_KKOptional: No
Call by Reference: Yes
C_CRD_DETAILS - Alternative Payment Card ID in Document
Data type: EMCRD_KKOptional: No
Call by Reference: Yes
C_BAPIDFKKOPC - Card Data Supplement for Business Partner Item
Data type: BAPIDFKKOPCOptional: No
Call by Reference: Yes
CT_MESSAGES - Table with BAPI Return Information
Data type: BAPIRETTABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_SAMPLE_4610 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_input | TYPE FKK_CONTR_ACCT_DOWN_PAYT_REQ_1, " | |||
| lv_c_header | TYPE BAPIDFKKKO, " | |||
| lv_ct_bpitem | TYPE BAPIDFKKOP_TAB, " | |||
| lv_ct_extensionin | TYPE BAPIPAREXTAB, " | |||
| lv_c_bk_details | TYPE EMBVT_KK, " | |||
| lv_c_crd_details | TYPE EMCRD_KK, " | |||
| lv_c_bapidfkkopc | TYPE BAPIDFKKOPC, " | |||
| lv_ct_messages | TYPE BAPIRETTAB. " |
|   CALL FUNCTION 'FKK_SAMPLE_4610' " |
| EXPORTING | ||
| INPUT | = lv_input | |
| CHANGING | ||
| C_HEADER | = lv_c_header | |
| CT_BPITEM | = lv_ct_bpitem | |
| CT_EXTENSIONIN | = lv_ct_extensionin | |
| C_BK_DETAILS | = lv_c_bk_details | |
| C_CRD_DETAILS | = lv_c_crd_details | |
| C_BAPIDFKKOPC | = lv_c_bapidfkkopc | |
| CT_MESSAGES | = lv_ct_messages | |
| . " FKK_SAMPLE_4610 | ||
ABAP code using 7.40 inline data declarations to call FM FKK_SAMPLE_4610
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