SAP FKK_SAMPLE_1471 Function Module for Digital Payment: Determine Selection Criterion
FKK_SAMPLE_1471 is a standard fkk sample 1471 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Digital Payment: Determine Selection Criterion processing and below is the pattern details for this FM, 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 1471 FM, simply by entering the name FKK_SAMPLE_1471 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKK_PCARD_TAB
Program Name: SAPLFKK_PCARD_TAB
Main Program: SAPLFKK_PCARD_TAB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_SAMPLE_1471 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_1471'"Digital Payment: Determine Selection Criterion.
EXPORTING
IS_ADVICE_HEADER = "Payment Advice Header
IS_ADVICE_ITEM = "Payment Advice Item
IV_LAUFD = "Date ID
IV_LAUFI = "Additional Identification Characteristic
IMPORTING
ES_KEY = "Payment Cards: Settlement Result Key Fields
ES_SELKEY = "Payment Cards: Settlement Result Selection Fields
ES_PAYS_TRANS = "Payment Reference of Payment Service Provider
IMPORTING Parameters details for FKK_SAMPLE_1471
IS_ADVICE_HEADER - Payment Advice Header
Data type: FAR_DP_ADVICE_S_MESSAGEOptional: No
Call by Reference: Yes
IS_ADVICE_ITEM - Payment Advice Item
Data type: FAR_DP_ADVICE_S_ITEM_RESOptional: No
Call by Reference: Yes
IV_LAUFD - Date ID
Data type: LAUFD_RSP_KKOptional: No
Call by Reference: Yes
IV_LAUFI - Additional Identification Characteristic
Data type: LAUFI_RSP_KKOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FKK_SAMPLE_1471
ES_KEY - Payment Cards: Settlement Result Key Fields
Data type: FKKOPKCA_KEYOptional: No
Call by Reference: Yes
ES_SELKEY - Payment Cards: Settlement Result Selection Fields
Data type: FKKOPKCA_SELKEYOptional: No
Call by Reference: Yes
ES_PAYS_TRANS - Payment Reference of Payment Service Provider
Data type: FPS_TRANSACTIONOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_SAMPLE_1471 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_es_key | TYPE FKKOPKCA_KEY, " | |||
| lv_is_advice_header | TYPE FAR_DP_ADVICE_S_MESSAGE, " | |||
| lv_es_selkey | TYPE FKKOPKCA_SELKEY, " | |||
| lv_is_advice_item | TYPE FAR_DP_ADVICE_S_ITEM_RES, " | |||
| lv_iv_laufd | TYPE LAUFD_RSP_KK, " | |||
| lv_es_pays_trans | TYPE FPS_TRANSACTION, " | |||
| lv_iv_laufi | TYPE LAUFI_RSP_KK. " |
|   CALL FUNCTION 'FKK_SAMPLE_1471' "Digital Payment: Determine Selection Criterion |
| EXPORTING | ||
| IS_ADVICE_HEADER | = lv_is_advice_header | |
| IS_ADVICE_ITEM | = lv_is_advice_item | |
| IV_LAUFD | = lv_iv_laufd | |
| IV_LAUFI | = lv_iv_laufi | |
| IMPORTING | ||
| ES_KEY | = lv_es_key | |
| ES_SELKEY | = lv_es_selkey | |
| ES_PAYS_TRANS | = lv_es_pays_trans | |
| . " FKK_SAMPLE_1471 | ||
ABAP code using 7.40 inline data declarations to call FM FKK_SAMPLE_1471
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