SAP CREATE_BEPP_DEMAND_CLEARING Function Module for Create VDBEPP Record for Reducing Overpayment









CREATE_BEPP_DEMAND_CLEARING is a standard create bepp demand clearing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create VDBEPP Record for Reducing Overpayment 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 create bepp demand clearing FM, simply by entering the name CREATE_BEPP_DEMAND_CLEARING into the relevant SAP transaction such as SE37 or SE38.

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



Function CREATE_BEPP_DEMAND_CLEARING 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 'CREATE_BEPP_DEMAND_CLEARING'"Create VDBEPP Record for Reducing Overpayment
EXPORTING
IS_BSID = "Accounting: Secondary Index for Customers
* IS_VDARL = "Loan
I_NVORGANG = "Transaction Number
I_VVSBBEZ = "Indicator for Relevance of the Relationship
I_ACENV = "Source in TR-LO posting area

IMPORTING
ES_VDBEPP = "Transaction Data - Plan Item
ES_ADDBEPP = "Additional Information on VDBEPP

EXCEPTIONS
ERROR_CREATING_BEPP = 1 TZB06_ENTRY_MISSING = 2
.



IMPORTING Parameters details for CREATE_BEPP_DEMAND_CLEARING

IS_BSID - Accounting: Secondary Index for Customers

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

IS_VDARL - Loan

Data type: VDARL
Optional: Yes
Call by Reference: Yes

I_NVORGANG - Transaction Number

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

I_VVSBBEZ - Indicator for Relevance of the Relationship

Data type: TZB06-VVSBBEZ
Optional: No
Call by Reference: Yes

I_ACENV - Source in TR-LO posting area

Data type: TZB0O-ACENV
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CREATE_BEPP_DEMAND_CLEARING

ES_VDBEPP - Transaction Data - Plan Item

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

ES_ADDBEPP - Additional Information on VDBEPP

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

EXCEPTIONS details

ERROR_CREATING_BEPP -

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

TZB06_ENTRY_MISSING -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CREATE_BEPP_DEMAND_CLEARING 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_is_bsid  TYPE BSID, "   
lv_es_vdbepp  TYPE VDBEPP, "   
lv_error_creating_bepp  TYPE VDBEPP, "   
lv_is_vdarl  TYPE VDARL, "   
lv_es_addbepp  TYPE ADDBEPP, "   
lv_tzb06_entry_missing  TYPE ADDBEPP, "   
lv_i_nvorgang  TYPE VDBEPP-NVORGANG, "   
lv_i_vvsbbez  TYPE TZB06-VVSBBEZ, "   
lv_i_acenv  TYPE TZB0O-ACENV. "   

  CALL FUNCTION 'CREATE_BEPP_DEMAND_CLEARING'  "Create VDBEPP Record for Reducing Overpayment
    EXPORTING
         IS_BSID = lv_is_bsid
         IS_VDARL = lv_is_vdarl
         I_NVORGANG = lv_i_nvorgang
         I_VVSBBEZ = lv_i_vvsbbez
         I_ACENV = lv_i_acenv
    IMPORTING
         ES_VDBEPP = lv_es_vdbepp
         ES_ADDBEPP = lv_es_addbepp
    EXCEPTIONS
        ERROR_CREATING_BEPP = 1
        TZB06_ENTRY_MISSING = 2
. " CREATE_BEPP_DEMAND_CLEARING




ABAP code using 7.40 inline data declarations to call FM CREATE_BEPP_DEMAND_CLEARING

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).
 
"SELECT single VVSBBEZ FROM TZB06 INTO @DATA(ld_i_vvsbbez).
 
"SELECT single ACENV FROM TZB0O INTO @DATA(ld_i_acenv).
 


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!