SAP FVDS_OBJECT_GET_SINGLE Function Module for Loans: Determine Data for Collateral Object









FVDS_OBJECT_GET_SINGLE is a standard fvds object get single SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Loans: Determine Data for Collateral Object 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 fvds object get single FM, simply by entering the name FVDS_OBJECT_GET_SINGLE into the relevant SAP transaction such as SE37 or SE38.

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



Function FVDS_OBJECT_GET_SINGLE 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 'FVDS_OBJECT_GET_SINGLE'"Loans: Determine Data for Collateral Object
EXPORTING
* I_FLG_ADDRESS = ' ' "Adresse zum Objekt: TRUE (='X') und FALSE (=' ')
I_ROBJNR = "Collateral Object Number
* I_BUKRS = "Company Code
* I_RANL = "Contract Number

IMPORTING
E_VDHOBJ = "Table Type for Table VDHOBJ (Collateral Object)
E_ADDRESS = "
E_FLG_CMS = "CMS aktiv: TRUE (='X') und FALSE (=' ')

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for FVDS_OBJECT_GET_SINGLE

I_FLG_ADDRESS - Adresse zum Objekt: TRUE (='X') und FALSE (=' ')

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

I_ROBJNR - Collateral Object Number

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

I_BUKRS - Company Code

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

I_RANL - Contract Number

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

EXPORTING Parameters details for FVDS_OBJECT_GET_SINGLE

E_VDHOBJ - Table Type for Table VDHOBJ (Collateral Object)

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

E_ADDRESS -

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

E_FLG_CMS - CMS aktiv: TRUE (='X') und FALSE (=' ')

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

EXCEPTIONS details

NOT_FOUND - Object does not exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVDS_OBJECT_GET_SINGLE 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_e_vdhobj  TYPE VDHOBJ, "   
lv_not_found  TYPE VDHOBJ, "   
lv_i_flg_address  TYPE BOOLE_D, "   SPACE
lv_i_robjnr  TYPE ROBJNR, "   
lv_e_address  TYPE SZADR_ADDR1_COMPLETE, "   
lv_i_bukrs  TYPE BUKRS, "   
lv_e_flg_cms  TYPE BOOLE_D, "   
lv_i_ranl  TYPE RANL. "   

  CALL FUNCTION 'FVDS_OBJECT_GET_SINGLE'  "Loans: Determine Data for Collateral Object
    EXPORTING
         I_FLG_ADDRESS = lv_i_flg_address
         I_ROBJNR = lv_i_robjnr
         I_BUKRS = lv_i_bukrs
         I_RANL = lv_i_ranl
    IMPORTING
         E_VDHOBJ = lv_e_vdhobj
         E_ADDRESS = lv_e_address
         E_FLG_CMS = lv_e_flg_cms
    EXCEPTIONS
        NOT_FOUND = 1
. " FVDS_OBJECT_GET_SINGLE




ABAP code using 7.40 inline data declarations to call FM FVDS_OBJECT_GET_SINGLE

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.

 
 
DATA(ld_i_flg_address) = ' '.
 
 
 
 
 
 


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!