SAP LOAD_COLLATERAL_VALUE Function Module for Reads the Collateral Value
LOAD_COLLATERAL_VALUE is a standard load collateral value SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reads the Collateral Value 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 load collateral value FM, simply by entering the name LOAD_COLLATERAL_VALUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVDQ
Program Name: SAPLFVDQ
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LOAD_COLLATERAL_VALUE 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 'LOAD_COLLATERAL_VALUE'"Reads the Collateral Value.
EXPORTING
I_DATE = "
I_RVDHOBJ = "
IMPORTING
I_RVDHOBJ = "
TABLES
E_VDBLBAW = "
E_VDBLBEWI = "
E_VDBLBOW = "
E_VDBLEW = "
E_VDBLREW = "
E_VDBLSS = "
E_VDBLSWT = "
E_VDHOBJBL = "
EXCEPTIONS
BW_NICHT_VORHANDEN = 1 OBJEKT_HAT_KEINEN_BW = 2
IMPORTING Parameters details for LOAD_COLLATERAL_VALUE
I_DATE -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_RVDHOBJ -
Data type: RVDHOBJOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for LOAD_COLLATERAL_VALUE
I_RVDHOBJ -
Data type: RVDHOBJOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for LOAD_COLLATERAL_VALUE
E_VDBLBAW -
Data type: VDBLBAWOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBLBEWI -
Data type: VDBLBEWIOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBLBOW -
Data type: VDBLBOWOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBLEW -
Data type: VDBLEWOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBLREW -
Data type: VDBLREWOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBLSS -
Data type: VDBLSSOptional: No
Call by Reference: No ( called with pass by value option)
E_VDBLSWT -
Data type: VDBLSWTOptional: No
Call by Reference: No ( called with pass by value option)
E_VDHOBJBL -
Data type: VDHOBJBLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BW_NICHT_VORHANDEN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJEKT_HAT_KEINEN_BW -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for LOAD_COLLATERAL_VALUE 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_i_date | TYPE SY-DATUM, " | |||
| lt_e_vdblbaw | TYPE STANDARD TABLE OF VDBLBAW, " | |||
| lv_i_rvdhobj | TYPE RVDHOBJ, " | |||
| lv_bw_nicht_vorhanden | TYPE RVDHOBJ, " | |||
| lv_i_rvdhobj | TYPE RVDHOBJ, " | |||
| lt_e_vdblbewi | TYPE STANDARD TABLE OF VDBLBEWI, " | |||
| lv_objekt_hat_keinen_bw | TYPE VDBLBEWI, " | |||
| lt_e_vdblbow | TYPE STANDARD TABLE OF VDBLBOW, " | |||
| lt_e_vdblew | TYPE STANDARD TABLE OF VDBLEW, " | |||
| lt_e_vdblrew | TYPE STANDARD TABLE OF VDBLREW, " | |||
| lt_e_vdblss | TYPE STANDARD TABLE OF VDBLSS, " | |||
| lt_e_vdblswt | TYPE STANDARD TABLE OF VDBLSWT, " | |||
| lt_e_vdhobjbl | TYPE STANDARD TABLE OF VDHOBJBL. " |
|   CALL FUNCTION 'LOAD_COLLATERAL_VALUE' "Reads the Collateral Value |
| EXPORTING | ||
| I_DATE | = lv_i_date | |
| I_RVDHOBJ | = lv_i_rvdhobj | |
| IMPORTING | ||
| I_RVDHOBJ | = lv_i_rvdhobj | |
| TABLES | ||
| E_VDBLBAW | = lt_e_vdblbaw | |
| E_VDBLBEWI | = lt_e_vdblbewi | |
| E_VDBLBOW | = lt_e_vdblbow | |
| E_VDBLEW | = lt_e_vdblew | |
| E_VDBLREW | = lt_e_vdblrew | |
| E_VDBLSS | = lt_e_vdblss | |
| E_VDBLSWT | = lt_e_vdblswt | |
| E_VDHOBJBL | = lt_e_vdhobjbl | |
| EXCEPTIONS | ||
| BW_NICHT_VORHANDEN = 1 | ||
| OBJEKT_HAT_KEINEN_BW = 2 | ||
| . " LOAD_COLLATERAL_VALUE | ||
ABAP code using 7.40 inline data declarations to call FM LOAD_COLLATERAL_VALUE
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 DATUM FROM SY INTO @DATA(ld_i_date). | ||||
Search for further information about these or an SAP related objects