SAP FVD_CHECK_DEBTOR_PAYMENT_METH Function Module for Check Payment Methods for Loan









FVD_CHECK_DEBTOR_PAYMENT_METH is a standard fvd check debtor payment meth SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Payment Methods for Loan 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 fvd check debtor payment meth FM, simply by entering the name FVD_CHECK_DEBTOR_PAYMENT_METH into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_CHECK_DEBTOR_PAYMENT_METH 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 'FVD_CHECK_DEBTOR_PAYMENT_METH'"Check Payment Methods for Loan
EXPORTING
I_AKTPAS = "Indicator: Asset/Liability Transaction
* I_XMEMORY = 'X' "
* I_XWA = 'X' "
I_ZART = "Payment Transaction
I_ZADRI = "Payment to third-party
I_BUKRS = "Company Code
I_KUNNR = "Customer Number 1
I_HDN_KUNNR = "Main Borrower Customer Number
I_BVTYP = "Partner Bank Type
I_ZLSCH = "Payment Method
* I_VORGKZ = "Activity Indicator for Debit/Credit Control

IMPORTING
E_FALL = "
E_T042Z = "Payment methods for automatic payment
E_BUT0BK = "Table Type for Table BUTOBK
.



IMPORTING Parameters details for FVD_CHECK_DEBTOR_PAYMENT_METH

I_AKTPAS - Indicator: Asset/Liability Transaction

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

I_XMEMORY -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XWA -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ZART - Payment Transaction

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

I_ZADRI - Payment to third-party

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

I_BUKRS - Company Code

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

I_KUNNR - Customer Number 1

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

I_HDN_KUNNR - Main Borrower Customer Number

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

I_BVTYP - Partner Bank Type

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

I_ZLSCH - Payment Method

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

I_VORGKZ - Activity Indicator for Debit/Credit Control

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

EXPORTING Parameters details for FVD_CHECK_DEBTOR_PAYMENT_METH

E_FALL -

Data type: I
Optional: No
Call by Reference: Yes

E_T042Z - Payment methods for automatic payment

Data type: T042Z
Optional: No
Call by Reference: Yes

E_BUT0BK - Table Type for Table BUTOBK

Data type: TRTY_BUT0BK
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_CHECK_DEBTOR_PAYMENT_METH 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_fall  TYPE I, "   
lv_i_aktpas  TYPE TZPA-SAKTPAS, "   
lv_i_xmemory  TYPE C, "   'X'
lv_i_xwa  TYPE C, "   'X'
lv_i_zart  TYPE TZK01-SZART, "   
lv_e_t042z  TYPE T042Z, "   
lv_i_zadri  TYPE TZB0A-SZADRI, "   
lv_e_but0bk  TYPE TRTY_BUT0BK, "   
lv_i_bukrs  TYPE T001-BUKRS, "   
lv_i_kunnr  TYPE VDBEPP-KUNNR, "   
lv_i_hdn_kunnr  TYPE VDARL-HDN_KUNNR, "   
lv_i_bvtyp  TYPE VDBEPP-BVTYP, "   
lv_i_zlsch  TYPE VDBEPP-ZLSCH, "   
lv_i_vorgkz  TYPE VDBEPP-SVORGKZ. "   

  CALL FUNCTION 'FVD_CHECK_DEBTOR_PAYMENT_METH'  "Check Payment Methods for Loan
    EXPORTING
         I_AKTPAS = lv_i_aktpas
         I_XMEMORY = lv_i_xmemory
         I_XWA = lv_i_xwa
         I_ZART = lv_i_zart
         I_ZADRI = lv_i_zadri
         I_BUKRS = lv_i_bukrs
         I_KUNNR = lv_i_kunnr
         I_HDN_KUNNR = lv_i_hdn_kunnr
         I_BVTYP = lv_i_bvtyp
         I_ZLSCH = lv_i_zlsch
         I_VORGKZ = lv_i_vorgkz
    IMPORTING
         E_FALL = lv_e_fall
         E_T042Z = lv_e_t042z
         E_BUT0BK = lv_e_but0bk
. " FVD_CHECK_DEBTOR_PAYMENT_METH




ABAP code using 7.40 inline data declarations to call FM FVD_CHECK_DEBTOR_PAYMENT_METH

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 SAKTPAS FROM TZPA INTO @DATA(ld_i_aktpas).
 
DATA(ld_i_xmemory) = 'X'.
 
DATA(ld_i_xwa) = 'X'.
 
"SELECT single SZART FROM TZK01 INTO @DATA(ld_i_zart).
 
 
"SELECT single SZADRI FROM TZB0A INTO @DATA(ld_i_zadri).
 
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs).
 
"SELECT single KUNNR FROM VDBEPP INTO @DATA(ld_i_kunnr).
 
"SELECT single HDN_KUNNR FROM VDARL INTO @DATA(ld_i_hdn_kunnr).
 
"SELECT single BVTYP FROM VDBEPP INTO @DATA(ld_i_bvtyp).
 
"SELECT single ZLSCH FROM VDBEPP INTO @DATA(ld_i_zlsch).
 
"SELECT single SVORGKZ FROM VDBEPP INTO @DATA(ld_i_vorgkz).
 


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!