SAP FVD_PAY_CREAT_BEPP_PREPAYMENT Function Module for Incomong Payments U.S.: Create Overpayment BEPP Record









FVD_PAY_CREAT_BEPP_PREPAYMENT is a standard fvd pay creat bepp prepayment SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Incomong Payments U.S.: Create Overpayment BEPP Record 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 pay creat bepp prepayment FM, simply by entering the name FVD_PAY_CREAT_BEPP_PREPAYMENT into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_PAY_CREAT_BEPP_PREPAYMENT 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_PAY_CREAT_BEPP_PREPAYMENT'"Incomong Payments U.S.: Create Overpayment BEPP Record
EXPORTING
I_STR_PREPAY_BEPP = "BEPP to prepay
I_TAB_VDARL = "Table Type for Table VDARL
I_NVORGANG = "Transaction Number
I_KUNNR = "Customer Number 1
I_PREPAY_SBEWART = "Bewegungsart für Vorrauszahlungsbepp

CHANGING
C_TAB_POSTVDBEPP = "Table Type for Table VDBEPP
C_TAB_POSTADDBEPP = "Table Type for Table ADDBEPP

EXCEPTIONS
CREATE_BEPP_FAILED = 1
.



IMPORTING Parameters details for FVD_PAY_CREAT_BEPP_PREPAYMENT

I_STR_PREPAY_BEPP - BEPP to prepay

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

I_TAB_VDARL - Table Type for Table VDARL

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

I_NVORGANG - Transaction Number

Data type: VDBEPP-NVORGANG
Optional: No
Call by Reference: Yes

I_KUNNR - Customer Number 1

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

I_PREPAY_SBEWART - Bewegungsart für Vorrauszahlungsbepp

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

CHANGING Parameters details for FVD_PAY_CREAT_BEPP_PREPAYMENT

C_TAB_POSTVDBEPP - Table Type for Table VDBEPP

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

C_TAB_POSTADDBEPP - Table Type for Table ADDBEPP

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

EXCEPTIONS details

CREATE_BEPP_FAILED - Erstellung des Überzahlungs-Bepp-Satzes fehlgeschlagen

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

Copy and paste ABAP code example for FVD_PAY_CREAT_BEPP_PREPAYMENT 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_c_tab_postvdbepp  TYPE TRTY_VDBEPP, "   
lv_i_str_prepay_bepp  TYPE VDBEPP, "   
lv_create_bepp_failed  TYPE VDBEPP, "   
lv_i_tab_vdarl  TYPE TRTY_VDARL, "   
lv_c_tab_postaddbepp  TYPE TRTY_ADDBEPP, "   
lv_i_nvorgang  TYPE VDBEPP-NVORGANG, "   
lv_i_kunnr  TYPE KUNNR, "   
lv_i_prepay_sbewart  TYPE SBEWART. "   

  CALL FUNCTION 'FVD_PAY_CREAT_BEPP_PREPAYMENT'  "Incomong Payments U.S.: Create Overpayment BEPP Record
    EXPORTING
         I_STR_PREPAY_BEPP = lv_i_str_prepay_bepp
         I_TAB_VDARL = lv_i_tab_vdarl
         I_NVORGANG = lv_i_nvorgang
         I_KUNNR = lv_i_kunnr
         I_PREPAY_SBEWART = lv_i_prepay_sbewart
    CHANGING
         C_TAB_POSTVDBEPP = lv_c_tab_postvdbepp
         C_TAB_POSTADDBEPP = lv_c_tab_postaddbepp
    EXCEPTIONS
        CREATE_BEPP_FAILED = 1
. " FVD_PAY_CREAT_BEPP_PREPAYMENT




ABAP code using 7.40 inline data declarations to call FM FVD_PAY_CREAT_BEPP_PREPAYMENT

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 NVORGANG FROM VDBEPP INTO @DATA(ld_i_nvorgang).
 
 
 


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!