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

Function FI_PAYM_FORMAT_READ 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_PAYM_FORMAT_READ'".
EXPORTING
I_FORMI = "
* I_SPRAS = SY-LANGU "
IMPORTING
E_TFPM042F = "
E_TFPM042FT = "
E_TFPM042FF = "
E_TFPM042FFC = "
E_GRANULATION = "
E_TFPM042FSB = "
E_TFPM042FD = "
E_TFPM042FDC = "
TABLES
* T_EVENTFUNCTIONS = "
* T_TFPM042FM = "
* T_TFPM042FMC = "
* T_TFPM042FZ = "
* T_TFPM042FZT = "
* T_TFPM042FV = "
EXCEPTIONS
NOT_FOUND = 1 HANDLING_NOT_FOUND = 10 PARAMETER_INVALID = 11 TEXT_NOT_FOUND = 2 GRANULATE_NOT_FOUND = 3 EVENT_NOT_FOUND = 4 PARAMETERS_NOT_FOUND = 5 SUPPLEMENT_NOT_FOUND = 6 SUPPLEMENT_TEXT_NOT_FOUND = 7 REFERENCE_NOT_FOUND = 8 TYPE_NOT_FOUND = 9
IMPORTING Parameters details for FI_PAYM_FORMAT_READ
I_FORMI -
Data type: TFPM042F-FORMIOptional: No
Call by Reference: Yes
I_SPRAS -
Data type: TFPM042FT-SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FI_PAYM_FORMAT_READ
E_TFPM042F -
Data type: TFPM042FOptional: No
Call by Reference: Yes
E_TFPM042FT -
Data type: TFPM042FTOptional: No
Call by Reference: Yes
E_TFPM042FF -
Data type: TFPM042FFOptional: No
Call by Reference: Yes
E_TFPM042FFC -
Data type: TFPM042FFCOptional: No
Call by Reference: Yes
E_GRANULATION -
Data type: TFPM042FGOptional: No
Call by Reference: Yes
E_TFPM042FSB -
Data type: TFPM042FSBOptional: No
Call by Reference: Yes
E_TFPM042FD -
Data type: TFPM042FDOptional: No
Call by Reference: Yes
E_TFPM042FDC -
Data type: TFPM042FDCOptional: No
Call by Reference: Yes
TABLES Parameters details for FI_PAYM_FORMAT_READ
T_EVENTFUNCTIONS -
Data type: TFPM042FBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_TFPM042FM -
Data type: TFPM042FMOptional: Yes
Call by Reference: No ( called with pass by value option)
T_TFPM042FMC -
Data type: TFPM042FMCOptional: Yes
Call by Reference: No ( called with pass by value option)
T_TFPM042FZ -
Data type: TFPM042FZOptional: Yes
Call by Reference: No ( called with pass by value option)
T_TFPM042FZT -
Data type: TFPM042FZTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_TFPM042FV -
Data type: TFPM042FVOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
HANDLING_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
PARAMETER_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GRANULATE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EVENT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARAMETERS_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SUPPLEMENT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SUPPLEMENT_TEXT_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
REFERENCE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TYPE_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FI_PAYM_FORMAT_READ 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_i_formi | TYPE TFPM042F-FORMI, " | |||
| lv_not_found | TYPE TFPM042F, " | |||
| lv_e_tfpm042f | TYPE TFPM042F, " | |||
| lt_t_eventfunctions | TYPE STANDARD TABLE OF TFPM042FB, " | |||
| lv_handling_not_found | TYPE TFPM042FB, " | |||
| lv_parameter_invalid | TYPE TFPM042FB, " | |||
| lv_i_spras | TYPE TFPM042FT-SPRAS, " SY-LANGU | |||
| lv_e_tfpm042ft | TYPE TFPM042FT, " | |||
| lt_t_tfpm042fm | TYPE STANDARD TABLE OF TFPM042FM, " | |||
| lv_text_not_found | TYPE TFPM042FM, " | |||
| lv_e_tfpm042ff | TYPE TFPM042FF, " | |||
| lt_t_tfpm042fmc | TYPE STANDARD TABLE OF TFPM042FMC, " | |||
| lv_granulate_not_found | TYPE TFPM042FMC, " | |||
| lt_t_tfpm042fz | TYPE STANDARD TABLE OF TFPM042FZ, " | |||
| lv_e_tfpm042ffc | TYPE TFPM042FFC, " | |||
| lv_event_not_found | TYPE TFPM042FFC, " | |||
| lt_t_tfpm042fzt | TYPE STANDARD TABLE OF TFPM042FZT, " | |||
| lv_e_granulation | TYPE TFPM042FG, " | |||
| lv_parameters_not_found | TYPE TFPM042FG, " | |||
| lt_t_tfpm042fv | TYPE STANDARD TABLE OF TFPM042FV, " | |||
| lv_e_tfpm042fsb | TYPE TFPM042FSB, " | |||
| lv_supplement_not_found | TYPE TFPM042FSB, " | |||
| lv_e_tfpm042fd | TYPE TFPM042FD, " | |||
| lv_supplement_text_not_found | TYPE TFPM042FD, " | |||
| lv_e_tfpm042fdc | TYPE TFPM042FDC, " | |||
| lv_reference_not_found | TYPE TFPM042FDC, " | |||
| lv_type_not_found | TYPE TFPM042FDC. " |
|   CALL FUNCTION 'FI_PAYM_FORMAT_READ' " |
| EXPORTING | ||
| I_FORMI | = lv_i_formi | |
| I_SPRAS | = lv_i_spras | |
| IMPORTING | ||
| E_TFPM042F | = lv_e_tfpm042f | |
| E_TFPM042FT | = lv_e_tfpm042ft | |
| E_TFPM042FF | = lv_e_tfpm042ff | |
| E_TFPM042FFC | = lv_e_tfpm042ffc | |
| E_GRANULATION | = lv_e_granulation | |
| E_TFPM042FSB | = lv_e_tfpm042fsb | |
| E_TFPM042FD | = lv_e_tfpm042fd | |
| E_TFPM042FDC | = lv_e_tfpm042fdc | |
| TABLES | ||
| T_EVENTFUNCTIONS | = lt_t_eventfunctions | |
| T_TFPM042FM | = lt_t_tfpm042fm | |
| T_TFPM042FMC | = lt_t_tfpm042fmc | |
| T_TFPM042FZ | = lt_t_tfpm042fz | |
| T_TFPM042FZT | = lt_t_tfpm042fzt | |
| T_TFPM042FV | = lt_t_tfpm042fv | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| HANDLING_NOT_FOUND = 10 | ||
| PARAMETER_INVALID = 11 | ||
| TEXT_NOT_FOUND = 2 | ||
| GRANULATE_NOT_FOUND = 3 | ||
| EVENT_NOT_FOUND = 4 | ||
| PARAMETERS_NOT_FOUND = 5 | ||
| SUPPLEMENT_NOT_FOUND = 6 | ||
| SUPPLEMENT_TEXT_NOT_FOUND = 7 | ||
| REFERENCE_NOT_FOUND = 8 | ||
| TYPE_NOT_FOUND = 9 | ||
| . " FI_PAYM_FORMAT_READ | ||
ABAP code using 7.40 inline data declarations to call FM FI_PAYM_FORMAT_READ
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 TFPM042F INTO @DATA(ld_i_formi). | ||||
| "SELECT single SPRAS FROM TFPM042FT INTO @DATA(ld_i_spras). | ||||
| DATA(ld_i_spras) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects