SAP VDBEPP_CONSTRUCT_EOD_CMLCHN Function Module for Update Cash Flow for EOD Job









VDBEPP_CONSTRUCT_EOD_CMLCHN is a standard vdbepp construct eod cmlchn SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update Cash Flow for EOD Job 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 vdbepp construct eod cmlchn FM, simply by entering the name VDBEPP_CONSTRUCT_EOD_CMLCHN into the relevant SAP transaction such as SE37 or SE38.

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



Function VDBEPP_CONSTRUCT_EOD_CMLCHN 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 'VDBEPP_CONSTRUCT_EOD_CMLCHN'"Update Cash Flow for EOD Job
EXPORTING
IVDARL = "Loans
* I_NO_CHECK_BUDAT = ' ' "General Flag
* I_CHECK_BUDAT = '00000000' "Field of type DATS
* I_BUDATMESSAGE = ' ' "General Flag
I_PROL_NR = "Activity number/rollover number
* I_ARC_DOC_REC = "Table Type for VDARC_DOC_REC

IMPORTING
E_DATUM_LFZ = "Date when loan will probably be redeemed

CHANGING
IVDBEKI = "Flow Data: Document Header for Actual Record
IVDBEPI = "Posted line items for document header
IVZZKOKO = "Table condition header
I_VZZKOPO = "View of VZZKOPO with additional info. from VKOPOSTEU
NEW_VDBEPP = "Flow Data - Planned Item
OLD_VDBEPP = "Flow Data - Planned Item
I_VZZKOPA = "Alternative condition item - conditions

EXCEPTIONS
KEINE_AUSZAHLUNG = 1 NO_KOKO = 2 STORNO_ISTSATZ = 3 ARC_COLLISION = 4
.



IMPORTING Parameters details for VDBEPP_CONSTRUCT_EOD_CMLCHN

IVDARL - Loans

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

I_NO_CHECK_BUDAT - General Flag

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

I_CHECK_BUDAT - Field of type DATS

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

I_BUDATMESSAGE - General Flag

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

I_PROL_NR - Activity number/rollover number

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

I_ARC_DOC_REC - Table Type for VDARC_DOC_REC

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

EXPORTING Parameters details for VDBEPP_CONSTRUCT_EOD_CMLCHN

E_DATUM_LFZ - Date when loan will probably be redeemed

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

CHANGING Parameters details for VDBEPP_CONSTRUCT_EOD_CMLCHN

IVDBEKI - Flow Data: Document Header for Actual Record

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

IVDBEPI - Posted line items for document header

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

IVZZKOKO - Table condition header

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

I_VZZKOPO - View of VZZKOPO with additional info. from VKOPOSTEU

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

NEW_VDBEPP - Flow Data - Planned Item

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

OLD_VDBEPP - Flow Data - Planned Item

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

I_VZZKOPA - Alternative condition item - conditions

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

EXCEPTIONS details

KEINE_AUSZAHLUNG - keine Auszahlung vorhanden, kein Plansatz gener.

Data type:
Optional: No
Call by Reference: Yes

NO_KOKO - Kein Satz in IVZZKOKO

Data type:
Optional: No
Call by Reference: Yes

STORNO_ISTSATZ - Satz muß erst storniert werden

Data type:
Optional: No
Call by Reference: Yes

ARC_COLLISION - Plansätze kollidieren mit Archivierungszeitraum

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for VDBEPP_CONSTRUCT_EOD_CMLCHN 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_ivdarl  TYPE VDARL, "   
lv_ivdbeki  TYPE TRTY_VDBEKI, "   
lv_e_datum_lfz  TYPE VDARL-DRUECK, "   
lv_keine_auszahlung  TYPE VDARL, "   
lv_ivdbepi  TYPE TRTY_VDBEPI, "   
lv_no_koko  TYPE TRTY_VDBEPI, "   
lv_i_no_check_budat  TYPE FLAG, "   ' '
lv_ivzzkoko  TYPE TRTY_VZZKOKO, "   
lv_i_check_budat  TYPE DATS, "   '00000000'
lv_storno_istsatz  TYPE DATS, "   
lv_i_vzzkopo  TYPE TRTY_VVZZKOPO, "   
lv_arc_collision  TYPE TRTY_VVZZKOPO, "   
lv_i_budatmessage  TYPE FLAG, "   ' '
lv_i_prol_nr  TYPE VVRPNR, "   
lv_new_vdbepp  TYPE TRTY_VDBEPP, "   
lv_old_vdbepp  TYPE TRTY_VDBEPP, "   
lv_i_arc_doc_rec  TYPE TRTY_VDARC_DOC_REC, "   
lv_i_vzzkopa  TYPE TRTY_VZZKOPA. "   

  CALL FUNCTION 'VDBEPP_CONSTRUCT_EOD_CMLCHN'  "Update Cash Flow for EOD Job
    EXPORTING
         IVDARL = lv_ivdarl
         I_NO_CHECK_BUDAT = lv_i_no_check_budat
         I_CHECK_BUDAT = lv_i_check_budat
         I_BUDATMESSAGE = lv_i_budatmessage
         I_PROL_NR = lv_i_prol_nr
         I_ARC_DOC_REC = lv_i_arc_doc_rec
    IMPORTING
         E_DATUM_LFZ = lv_e_datum_lfz
    CHANGING
         IVDBEKI = lv_ivdbeki
         IVDBEPI = lv_ivdbepi
         IVZZKOKO = lv_ivzzkoko
         I_VZZKOPO = lv_i_vzzkopo
         NEW_VDBEPP = lv_new_vdbepp
         OLD_VDBEPP = lv_old_vdbepp
         I_VZZKOPA = lv_i_vzzkopa
    EXCEPTIONS
        KEINE_AUSZAHLUNG = 1
        NO_KOKO = 2
        STORNO_ISTSATZ = 3
        ARC_COLLISION = 4
. " VDBEPP_CONSTRUCT_EOD_CMLCHN




ABAP code using 7.40 inline data declarations to call FM VDBEPP_CONSTRUCT_EOD_CMLCHN

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 DRUECK FROM VDARL INTO @DATA(ld_e_datum_lfz).
 
 
 
 
DATA(ld_i_no_check_budat) = ' '.
 
 
DATA(ld_i_check_budat) = '00000000'.
 
 
 
 
DATA(ld_i_budatmessage) = ' '.
 
 
 
 
 
 


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!