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

Function FKK_PAYMENT_DATA_DISPLAY 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_PAYMENT_DATA_DISPLAY'".
EXPORTING
* I_DOC1R = "
* I_DOC1T = '02' "Payment document category
* I_NO_DISPLAY = ' ' "
* I_PAYH_KEY = "
IMPORTING
E_DPAYH = "
E_SEPA_MANDATE = "
TABLES
* T_PAYMENT_DETAILS = "Payment Medium: Setup of Note to Payee Table
* T_PAYP = "Payment program - data on paid item
EXCEPTIONS
NO_DATA_FOUND = 1
IMPORTING Parameters details for FKK_PAYMENT_DATA_DISPLAY
I_DOC1R -
Data type: DPAYH-DOC1ROptional: Yes
Call by Reference: No ( called with pass by value option)
I_DOC1T - Payment document category
Data type: DPAYH-DOC1TDefault: '02'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_DISPLAY -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_PAYH_KEY -
Data type: PAYH_KEYOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_PAYMENT_DATA_DISPLAY
E_DPAYH -
Data type: DPAYHOptional: No
Call by Reference: No ( called with pass by value option)
E_SEPA_MANDATE -
Data type: SEPA_MANDATEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_PAYMENT_DATA_DISPLAY
T_PAYMENT_DETAILS - Payment Medium: Setup of Note to Payee Table
Data type: FKKPY_PAYDOptional: Yes
Call by Reference: Yes
T_PAYP - Payment program - data on paid item
Data type: PAYPOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_DATA_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_PAYMENT_DATA_DISPLAY 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_dpayh | TYPE DPAYH, " | |||
| lv_i_doc1r | TYPE DPAYH-DOC1R, " | |||
| lv_no_data_found | TYPE DPAYH, " | |||
| lt_t_payment_details | TYPE STANDARD TABLE OF FKKPY_PAYD, " | |||
| lt_t_payp | TYPE STANDARD TABLE OF PAYP, " | |||
| lv_i_doc1t | TYPE DPAYH-DOC1T, " '02' | |||
| lv_e_sepa_mandate | TYPE SEPA_MANDATE, " | |||
| lv_i_no_display | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_payh_key | TYPE PAYH_KEY. " |
|   CALL FUNCTION 'FKK_PAYMENT_DATA_DISPLAY' " |
| EXPORTING | ||
| I_DOC1R | = lv_i_doc1r | |
| I_DOC1T | = lv_i_doc1t | |
| I_NO_DISPLAY | = lv_i_no_display | |
| I_PAYH_KEY | = lv_i_payh_key | |
| IMPORTING | ||
| E_DPAYH | = lv_e_dpayh | |
| E_SEPA_MANDATE | = lv_e_sepa_mandate | |
| TABLES | ||
| T_PAYMENT_DETAILS | = lt_t_payment_details | |
| T_PAYP | = lt_t_payp | |
| EXCEPTIONS | ||
| NO_DATA_FOUND = 1 | ||
| . " FKK_PAYMENT_DATA_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM FKK_PAYMENT_DATA_DISPLAY
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 DOC1R FROM DPAYH INTO @DATA(ld_i_doc1r). | ||||
| "SELECT single DOC1T FROM DPAYH INTO @DATA(ld_i_doc1t). | ||||
| DATA(ld_i_doc1t) | = '02'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_no_display). | ||||
| DATA(ld_i_no_display) | = ' '. | |||
Search for further information about these or an SAP related objects