FVD_PAY_OBJ_PAYMENT_DIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FVD_PAY_OBJ_PAYMENT_DIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVD_PAYMENT_US_IPD
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FVD_PAY_OBJ_PAYMENT_DIST' "Central Distribution of Incoming Payments Using Plan Customizing
EXPORTING
i_str_vdarl = " vdarl Company Code
i_tab_bsid = " trty_bsid Table Type for Table BSID
i_tab_bepp = " trty_vdbepp Table Type for Table VDBEPP
* i_tab_checkdetails = " trty_rcheckdetails US Incoming Payment: Extended Payment Information (Coupon)
i_tab_fvvzev = " trty_fvvzev Incoming pmnts distribution/max. amount of valid sort fields
* i_paym_appl = " anwnd_ebko Application using bank data storage
* i_org_amount = " bseg-wrbtr Amount in Document Currency
* i_org_amount_lc = " bseg-dmbtr Amount in Local Currency
* i_flg_init_nvorgang = 'X' " flag
* i_tab_zevranl = " trty_vdarl Table Type for Table VDARL
* i_ftr_tr_loan_eb = " if_ex_ftr_tr_loan_eb BAdI Interface IF_EX_FTR_TR_LOAN_EB
IMPORTING
e_tab_vdznv = " trty_vdznv Table Type for Structure VDZNV
e_flg_single_ip = " flag General Flag
CHANGING
c_tab_pay_seg = " trty_bssbseg Table Type For Table BSSBSEG
c_tab_postvdbepp = " trty_vdbepp Transaction Data - Plan Item
c_tab_postaddbepp = " trty_addbepp Additional Information on VDBEPP
EXCEPTIONS
POSTED_PERIOD_ERROR = 1 " Zahlungseingang hätte gebuchten Zins beeinflusst
INCONSISTENCY_ERROR = 2 " Inkonsistenter Datenzustand
PAYOFF_ERROR = 3 " Paid in Full without Posted BO Payoff
UNOPENED_PERIOD_ERROR = 4 " Zahlungseingang in Periode ohne gebuchte Leistungsrate
CUSTOMIZING_ERROR = 5 " Customizing Error
. " FVD_PAY_OBJ_PAYMENT_DIST
The ABAP code below is a full code listing to execute function module FVD_PAY_OBJ_PAYMENT_DIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_tab_vdznv | TYPE TRTY_VDZNV , |
| ld_e_flg_single_ip | TYPE FLAG . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_c_tab_pay_seg | TYPE TRTY_BSSBSEG , |
| ld_e_tab_vdznv | TYPE TRTY_VDZNV , |
| ld_i_str_vdarl | TYPE VDARL , |
| ld_c_tab_postvdbepp | TYPE TRTY_VDBEPP , |
| ld_e_flg_single_ip | TYPE FLAG , |
| ld_i_tab_bsid | TYPE TRTY_BSID , |
| ld_c_tab_postaddbepp | TYPE TRTY_ADDBEPP , |
| ld_i_tab_bepp | TYPE TRTY_VDBEPP , |
| ld_i_tab_checkdetails | TYPE TRTY_RCHECKDETAILS , |
| ld_i_tab_fvvzev | TYPE TRTY_FVVZEV , |
| ld_i_paym_appl | TYPE ANWND_EBKO , |
| ld_i_org_amount | TYPE BSEG-WRBTR , |
| ld_i_org_amount_lc | TYPE BSEG-DMBTR , |
| ld_i_flg_init_nvorgang | TYPE FLAG , |
| ld_i_tab_zevranl | TYPE TRTY_VDARL , |
| ld_i_ftr_tr_loan_eb | TYPE IF_EX_FTR_TR_LOAN_EB . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FVD_PAY_OBJ_PAYMENT_DIST or its description.
FVD_PAY_OBJ_PAYMENT_DIST - Central Distribution of Incoming Payments Using Plan Customizing FVD_PAY_OBJ_IS_PREPAYMENT - Use Customizing for Flow Types to Determine If Advance Payment FVD_PAY_OBJ_IS_ITEM_REQ - Checks If the Payment Item Is Required FVD_PAY_OBJ_IS_FULL_PAYMENT - Checks If Incoming Payment Completely Clears Original Debit Position FVD_PAY_OBJ_IS_CURT_DEBIT - Use Customizing for Flow Types to Determine APT Debit Position FVD_PAY_OBJ_IS_ADD_ESCROW - Use Customizing for Flow Types to Determine APT Debit Position