SAP FVD_CHECK_DEBTOR_PAYMENT Function Module for Check Payment Methods for Loan - Selective Entries
FVD_CHECK_DEBTOR_PAYMENT is a standard fvd check debtor payment 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 - Selective Entries 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 FM, simply by entering the name FVD_CHECK_DEBTOR_PAYMENT 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 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'"Check Payment Methods for Loan - Selective Entries.
EXPORTING
I_BUKRS = "Company Code
I_KUNNR = "Customer Number 1
I_BVTYP = "Partner Bank Type
I_ZLSCH = "Payment Method
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
I_BUKRS - Company Code
Data type: T001-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_KUNNR - Customer Number 1
Data type: VDBEPP-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
I_BVTYP - Partner Bank Type
Data type: VDBEPP-BVTYPOptional: No
Call by Reference: No ( called with pass by value option)
I_ZLSCH - Payment Method
Data type: VDBEPP-ZLSCHOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_CHECK_DEBTOR_PAYMENT
E_FALL -
Data type: IOptional: No
Call by Reference: Yes
E_T042Z - Payment methods for automatic payment
Data type: T042ZOptional: No
Call by Reference: Yes
E_BUT0BK - Table Type for Table BUTOBK
Data type: TRTY_BUT0BKOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_CHECK_DEBTOR_PAYMENT 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_bukrs | TYPE T001-BUKRS, " | |||
| lv_e_t042z | TYPE T042Z, " | |||
| lv_i_kunnr | TYPE VDBEPP-KUNNR, " | |||
| lv_i_bvtyp | TYPE VDBEPP-BVTYP, " | |||
| lv_e_but0bk | TYPE TRTY_BUT0BK, " | |||
| lv_i_zlsch | TYPE VDBEPP-ZLSCH. " |
|   CALL FUNCTION 'FVD_CHECK_DEBTOR_PAYMENT' "Check Payment Methods for Loan - Selective Entries |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_KUNNR | = lv_i_kunnr | |
| I_BVTYP | = lv_i_bvtyp | |
| I_ZLSCH | = lv_i_zlsch | |
| IMPORTING | ||
| E_FALL | = lv_e_fall | |
| E_T042Z | = lv_e_t042z | |
| E_BUT0BK | = lv_e_but0bk | |
| . " FVD_CHECK_DEBTOR_PAYMENT | ||
ABAP code using 7.40 inline data declarations to call FM FVD_CHECK_DEBTOR_PAYMENT
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 BUKRS FROM T001 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single KUNNR FROM VDBEPP INTO @DATA(ld_i_kunnr). | ||||
| "SELECT single BVTYP FROM VDBEPP INTO @DATA(ld_i_bvtyp). | ||||
| "SELECT single ZLSCH FROM VDBEPP INTO @DATA(ld_i_zlsch). | ||||
Search for further information about these or an SAP related objects