SAP FI_PAYMENT_METHOD_PROPERTIES Function Module for









FI_PAYMENT_METHOD_PROPERTIES is a standard fi payment method properties 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 payment method properties FM, simply by entering the name FI_PAYMENT_METHOD_PROPERTIES into the relevant SAP transaction such as SE37 or SE38.

Function Group: FK20
Program Name: SAPLFK20
Main Program: SAPLFK20
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FI_PAYMENT_METHOD_PROPERTIES 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_PAYMENT_METHOD_PROPERTIES'"
EXPORTING
I_ZLSCH = "
* I_LAND1 = "
* I_ZBUKR = "
* I_HWAER = "
* I_ZWAER = "

IMPORTING
E_T042Z = "
E_T042E = "
E_ZWAER_VALID = "
E_RC = "

EXCEPTIONS
ERROR_T042Z = 1 ERROR_T042E = 2 ERROR_IMPORT_PARAMETER = 3
.



IMPORTING Parameters details for FI_PAYMENT_METHOD_PROPERTIES

I_ZLSCH -

Data type: T042Z-ZLSCH
Optional: No
Call by Reference: No ( called with pass by value option)

I_LAND1 -

Data type: T042Z-LAND1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ZBUKR -

Data type: T042E-ZBUKR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_HWAER -

Data type: T001-WAERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ZWAER -

Data type: T042W-WAERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FI_PAYMENT_METHOD_PROPERTIES

E_T042Z -

Data type: T042Z
Optional: No
Call by Reference: No ( called with pass by value option)

E_T042E -

Data type: T042E
Optional: No
Call by Reference: No ( called with pass by value option)

E_ZWAER_VALID -

Data type: BOOLE-BOOLE
Optional: No
Call by Reference: No ( called with pass by value option)

E_RC -

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ERROR_T042Z -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_T042E -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_IMPORT_PARAMETER -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FI_PAYMENT_METHOD_PROPERTIES 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_t042z  TYPE T042Z, "   
lv_i_zlsch  TYPE T042Z-ZLSCH, "   
lv_error_t042z  TYPE T042Z, "   
lv_e_t042e  TYPE T042E, "   
lv_i_land1  TYPE T042Z-LAND1, "   
lv_error_t042e  TYPE T042Z, "   
lv_i_zbukr  TYPE T042E-ZBUKR, "   
lv_e_zwaer_valid  TYPE BOOLE-BOOLE, "   
lv_error_import_parameter  TYPE BOOLE, "   
lv_e_rc  TYPE SY-SUBRC, "   
lv_i_hwaer  TYPE T001-WAERS, "   
lv_i_zwaer  TYPE T042W-WAERS. "   

  CALL FUNCTION 'FI_PAYMENT_METHOD_PROPERTIES'  "
    EXPORTING
         I_ZLSCH = lv_i_zlsch
         I_LAND1 = lv_i_land1
         I_ZBUKR = lv_i_zbukr
         I_HWAER = lv_i_hwaer
         I_ZWAER = lv_i_zwaer
    IMPORTING
         E_T042Z = lv_e_t042z
         E_T042E = lv_e_t042e
         E_ZWAER_VALID = lv_e_zwaer_valid
         E_RC = lv_e_rc
    EXCEPTIONS
        ERROR_T042Z = 1
        ERROR_T042E = 2
        ERROR_IMPORT_PARAMETER = 3
. " FI_PAYMENT_METHOD_PROPERTIES




ABAP code using 7.40 inline data declarations to call FM FI_PAYMENT_METHOD_PROPERTIES

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 ZLSCH FROM T042Z INTO @DATA(ld_i_zlsch).
 
 
 
"SELECT single LAND1 FROM T042Z INTO @DATA(ld_i_land1).
 
 
"SELECT single ZBUKR FROM T042E INTO @DATA(ld_i_zbukr).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_e_zwaer_valid).
 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc).
 
"SELECT single WAERS FROM T001 INTO @DATA(ld_i_hwaer).
 
"SELECT single WAERS FROM T042W INTO @DATA(ld_i_zwaer).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!