SAP FI_PAYMEDIUM_TC_FG_25 Function Module for Treasury Confirmation Event 25 - File Close/Open
FI_PAYMEDIUM_TC_FG_25 is a standard fi paymedium tc fg 25 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Treasury Confirmation Event 25 - File Close/Open 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 fi paymedium tc fg 25 FM, simply by entering the name FI_PAYMEDIUM_TC_FG_25 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMFG_PMW
Program Name: SAPLFMFG_PMW
Main Program: SAPLFMFG_PMW
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FI_PAYMEDIUM_TC_FG_25 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 'FI_PAYMEDIUM_TC_FG_25'"Treasury Confirmation Event 25 - File Close/Open.
EXPORTING
I_FPAYH_LAST = "
I_FPAYHX_LAST = "
I_FPAYH_NEXT = "
I_FPAYHX_NEXT = "
IMPORTING
E_XNEW_FILE = "
E_XLOG_FILE = "
TABLES
T_FILE_OUTPUT = "
IMPORTING Parameters details for FI_PAYMEDIUM_TC_FG_25
I_FPAYH_LAST -
Data type: FPAYHOptional: No
Call by Reference: No ( called with pass by value option)
I_FPAYHX_LAST -
Data type: FPAYHXOptional: No
Call by Reference: No ( called with pass by value option)
I_FPAYH_NEXT -
Data type: FPAYHOptional: No
Call by Reference: No ( called with pass by value option)
I_FPAYHX_NEXT -
Data type: FPAYHXOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FI_PAYMEDIUM_TC_FG_25
E_XNEW_FILE -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
E_XLOG_FILE -
Data type: BOOLE-BOOLEOptional: No
Call by Reference: Yes
TABLES Parameters details for FI_PAYMEDIUM_TC_FG_25
T_FILE_OUTPUT -
Data type: FPM_FILEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FI_PAYMEDIUM_TC_FG_25 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_xnew_file | TYPE BOOLE-BOOLE, " | |||
| lv_i_fpayh_last | TYPE FPAYH, " | |||
| lt_t_file_output | TYPE STANDARD TABLE OF FPM_FILE, " | |||
| lv_e_xlog_file | TYPE BOOLE-BOOLE, " | |||
| lv_i_fpayhx_last | TYPE FPAYHX, " | |||
| lv_i_fpayh_next | TYPE FPAYH, " | |||
| lv_i_fpayhx_next | TYPE FPAYHX. " |
|   CALL FUNCTION 'FI_PAYMEDIUM_TC_FG_25' "Treasury Confirmation Event 25 - File Close/Open |
| EXPORTING | ||
| I_FPAYH_LAST | = lv_i_fpayh_last | |
| I_FPAYHX_LAST | = lv_i_fpayhx_last | |
| I_FPAYH_NEXT | = lv_i_fpayh_next | |
| I_FPAYHX_NEXT | = lv_i_fpayhx_next | |
| IMPORTING | ||
| E_XNEW_FILE | = lv_e_xnew_file | |
| E_XLOG_FILE | = lv_e_xlog_file | |
| TABLES | ||
| T_FILE_OUTPUT | = lt_t_file_output | |
| . " FI_PAYMEDIUM_TC_FG_25 | ||
ABAP code using 7.40 inline data declarations to call FM FI_PAYMEDIUM_TC_FG_25
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 BOOLE FROM BOOLE INTO @DATA(ld_e_xnew_file). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_xlog_file). | ||||
Search for further information about these or an SAP related objects