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

Function FKK_PAYMENT_FORMAT_DETERMINE 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_FORMAT_DETERMINE'".
EXPORTING
I_BUKRS = "Company Code
I_HBKID = "House Bank
I_PYMET = "Payment Method
* I_APPLK = "Application Area
IMPORTING
E_FORMI = "Payment medium format
E_FORMZ = "
E_PREFTYP = "
EXCEPTIONS
ENTRY_NOT_FOUND = 1
IMPORTING Parameters details for FKK_PAYMENT_FORMAT_DETERMINE
I_BUKRS - Company Code
Data type: T012-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_HBKID - House Bank
Data type: T012-HBKIDOptional: No
Call by Reference: No ( called with pass by value option)
I_PYMET - Payment Method
Data type: TFK042Z-ZLSCHOptional: No
Call by Reference: No ( called with pass by value option)
I_APPLK - Application Area
Data type: TFK042ZA-APPLKOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_PAYMENT_FORMAT_DETERMINE
E_FORMI - Payment medium format
Data type: TFK042Z-FORMIOptional: No
Call by Reference: No ( called with pass by value option)
E_FORMZ -
Data type: TFK042Z-FORMZOptional: No
Call by Reference: No ( called with pass by value option)
E_PREFTYP -
Data type: TFK042FW-PREFTYPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ENTRY_NOT_FOUND - Entry not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_PAYMENT_FORMAT_DETERMINE 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_formi | TYPE TFK042Z-FORMI, " | |||
| lv_i_bukrs | TYPE T012-BUKRS, " | |||
| lv_entry_not_found | TYPE T012, " | |||
| lv_e_formz | TYPE TFK042Z-FORMZ, " | |||
| lv_i_hbkid | TYPE T012-HBKID, " | |||
| lv_i_pymet | TYPE TFK042Z-ZLSCH, " | |||
| lv_e_preftyp | TYPE TFK042FW-PREFTYP, " | |||
| lv_i_applk | TYPE TFK042ZA-APPLK. " |
|   CALL FUNCTION 'FKK_PAYMENT_FORMAT_DETERMINE' " |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_HBKID | = lv_i_hbkid | |
| I_PYMET | = lv_i_pymet | |
| I_APPLK | = lv_i_applk | |
| IMPORTING | ||
| E_FORMI | = lv_e_formi | |
| E_FORMZ | = lv_e_formz | |
| E_PREFTYP | = lv_e_preftyp | |
| EXCEPTIONS | ||
| ENTRY_NOT_FOUND = 1 | ||
| . " FKK_PAYMENT_FORMAT_DETERMINE | ||
ABAP code using 7.40 inline data declarations to call FM FKK_PAYMENT_FORMAT_DETERMINE
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 FORMI FROM TFK042Z INTO @DATA(ld_e_formi). | ||||
| "SELECT single BUKRS FROM T012 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single FORMZ FROM TFK042Z INTO @DATA(ld_e_formz). | ||||
| "SELECT single HBKID FROM T012 INTO @DATA(ld_i_hbkid). | ||||
| "SELECT single ZLSCH FROM TFK042Z INTO @DATA(ld_i_pymet). | ||||
| "SELECT single PREFTYP FROM TFK042FW INTO @DATA(ld_e_preftyp). | ||||
| "SELECT single APPLK FROM TFK042ZA INTO @DATA(ld_i_applk). | ||||
Search for further information about these or an SAP related objects