SAP FVD_SEL_LOAN_READ Function Module for Read the Data Relevant to a Loan Contract









FVD_SEL_LOAN_READ is a standard fvd sel loan read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read the Data Relevant to a Loan Contract 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 sel loan read FM, simply by entering the name FVD_SEL_LOAN_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_SEL_LOAN_READ 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_SEL_LOAN_READ'"Read the Data Relevant to a Loan Contract
EXPORTING
I_BUKRS = "Company Code
* I_TAB_VVZZKOPO = "Table Type for Table VVZZKOPO
* I_FLG_VDBEKI_VDBEPI = ' ' "'X' = Lesen der Tabelle VDBEKI / VDBEPI und der Reorganisationssätze
* I_FLG_NO_STORNO = 'X' "'X' = Stornierten Bewegungen nicht gelesen
* I_TAB_VDBEKI = "Table Type for Table VDBEKI
* I_TAB_VDBEPI = "Table Type for Table VDBEPI
* I_FLG_VDBEPP = ' ' "'X' = Lesen der Tabelle VDBEPP
* I_TAB_VDBEPP = "Table Type for Table VDBEPP
* I_FLG_VZZBEPP = ' ' "'X' = Konvertierung der Bewegungen in Stuktur VZZBEPP
I_RANL = "Contract Number
* I_FLG_VDARL = ' ' "'X' = Lesen der Tabelle VDARL
* I_WRK_VDARL = "Loan
* I_FLG_VZZKOKO = ' ' "'X' = Lesen der Tabelle VZZKOKO
* I_WRK_VZZKOKO = "Table Condition Header
* I_FLG_VZZKOPO = ' ' "'X' = Lesen der Tabelle VZZKOPO
* I_TAB_VZZKOPO = "Table Type for Table VZZKOPO
* I_FLG_VVZZKOPO = ' ' "'X' = Lesen der Tabelle VVZZKOPO

IMPORTING
E_WRK_VDARL = "Loan
E_WRK_VZZKOKO = "Table Condition Header
E_TAB_VZZKOPO = "Table Type for Table VZZKOPO
E_TAB_VVZZKOPO = "Table Type for Table VVZZKOPO
E_TAB_VDBEKI = "Table Type for Table VDBEKI
E_TAB_VDBEPI = "Table Type for Table VDBEPI
E_TAB_VDBEPP = "Table Type for Table VDBEPP
E_TAB_VZZBEPP = "Table Type for Structure VZZBEPP

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for FVD_SEL_LOAN_READ

I_BUKRS - Company Code

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

I_TAB_VVZZKOPO - Table Type for Table VVZZKOPO

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

I_FLG_VDBEKI_VDBEPI - 'X' = Lesen der Tabelle VDBEKI / VDBEPI und der Reorganisationssätze

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

I_FLG_NO_STORNO - 'X' = Stornierten Bewegungen nicht gelesen

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

I_TAB_VDBEKI - Table Type for Table VDBEKI

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

I_TAB_VDBEPI - Table Type for Table VDBEPI

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

I_FLG_VDBEPP - 'X' = Lesen der Tabelle VDBEPP

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

I_TAB_VDBEPP - Table Type for Table VDBEPP

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

I_FLG_VZZBEPP - 'X' = Konvertierung der Bewegungen in Stuktur VZZBEPP

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

I_RANL - Contract Number

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

I_FLG_VDARL - 'X' = Lesen der Tabelle VDARL

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

I_WRK_VDARL - Loan

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

I_FLG_VZZKOKO - 'X' = Lesen der Tabelle VZZKOKO

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

I_WRK_VZZKOKO - Table Condition Header

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

I_FLG_VZZKOPO - 'X' = Lesen der Tabelle VZZKOPO

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

I_TAB_VZZKOPO - Table Type for Table VZZKOPO

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

I_FLG_VVZZKOPO - 'X' = Lesen der Tabelle VVZZKOPO

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

EXPORTING Parameters details for FVD_SEL_LOAN_READ

E_WRK_VDARL - Loan

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

E_WRK_VZZKOKO - Table Condition Header

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

E_TAB_VZZKOPO - Table Type for Table VZZKOPO

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

E_TAB_VVZZKOPO - Table Type for Table VVZZKOPO

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

E_TAB_VDBEKI - Table Type for Table VDBEKI

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

E_TAB_VDBEPI - Table Type for Table VDBEPI

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

E_TAB_VDBEPP - Table Type for Table VDBEPP

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

E_TAB_VZZBEPP - Table Type for Structure VZZBEPP

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

EXCEPTIONS details

ERROR - Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_SEL_LOAN_READ 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_error  TYPE STRING, "   
lv_i_bukrs  TYPE BUKRS, "   
lv_e_wrk_vdarl  TYPE VDARL, "   
lv_i_tab_vvzzkopo  TYPE TRTY_VVZZKOPO, "   
lv_i_flg_vdbeki_vdbepi  TYPE C, "   SPACE
lv_i_flg_no_storno  TYPE C, "   'X'
lv_i_tab_vdbeki  TYPE TRTY_VDBEKI, "   
lv_i_tab_vdbepi  TYPE TRTY_VDBEPI, "   
lv_i_flg_vdbepp  TYPE C, "   SPACE
lv_i_tab_vdbepp  TYPE TRTY_VDBEPP, "   
lv_i_flg_vzzbepp  TYPE C, "   SPACE
lv_i_ranl  TYPE RANL, "   
lv_e_wrk_vzzkoko  TYPE VZZKOKO, "   
lv_i_flg_vdarl  TYPE C, "   SPACE
lv_e_tab_vzzkopo  TYPE TRTY_VZZKOPO, "   
lv_i_wrk_vdarl  TYPE VDARL, "   
lv_e_tab_vvzzkopo  TYPE TRTY_VVZZKOPO, "   
lv_e_tab_vdbeki  TYPE TRTY_VDBEKI, "   
lv_i_flg_vzzkoko  TYPE C, "   SPACE
lv_e_tab_vdbepi  TYPE TRTY_VDBEPI, "   
lv_i_wrk_vzzkoko  TYPE VZZKOKO, "   
lv_e_tab_vdbepp  TYPE TRTY_VDBEPP, "   
lv_i_flg_vzzkopo  TYPE C, "   SPACE
lv_e_tab_vzzbepp  TYPE TRTY_VZZBEPP, "   
lv_i_tab_vzzkopo  TYPE TRTY_VZZKOPO, "   
lv_i_flg_vvzzkopo  TYPE C. "   SPACE

  CALL FUNCTION 'FVD_SEL_LOAN_READ'  "Read the Data Relevant to a Loan Contract
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_TAB_VVZZKOPO = lv_i_tab_vvzzkopo
         I_FLG_VDBEKI_VDBEPI = lv_i_flg_vdbeki_vdbepi
         I_FLG_NO_STORNO = lv_i_flg_no_storno
         I_TAB_VDBEKI = lv_i_tab_vdbeki
         I_TAB_VDBEPI = lv_i_tab_vdbepi
         I_FLG_VDBEPP = lv_i_flg_vdbepp
         I_TAB_VDBEPP = lv_i_tab_vdbepp
         I_FLG_VZZBEPP = lv_i_flg_vzzbepp
         I_RANL = lv_i_ranl
         I_FLG_VDARL = lv_i_flg_vdarl
         I_WRK_VDARL = lv_i_wrk_vdarl
         I_FLG_VZZKOKO = lv_i_flg_vzzkoko
         I_WRK_VZZKOKO = lv_i_wrk_vzzkoko
         I_FLG_VZZKOPO = lv_i_flg_vzzkopo
         I_TAB_VZZKOPO = lv_i_tab_vzzkopo
         I_FLG_VVZZKOPO = lv_i_flg_vvzzkopo
    IMPORTING
         E_WRK_VDARL = lv_e_wrk_vdarl
         E_WRK_VZZKOKO = lv_e_wrk_vzzkoko
         E_TAB_VZZKOPO = lv_e_tab_vzzkopo
         E_TAB_VVZZKOPO = lv_e_tab_vvzzkopo
         E_TAB_VDBEKI = lv_e_tab_vdbeki
         E_TAB_VDBEPI = lv_e_tab_vdbepi
         E_TAB_VDBEPP = lv_e_tab_vdbepp
         E_TAB_VZZBEPP = lv_e_tab_vzzbepp
    EXCEPTIONS
        ERROR = 1
. " FVD_SEL_LOAN_READ




ABAP code using 7.40 inline data declarations to call FM FVD_SEL_LOAN_READ

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_vdbeki_vdbepi) = ' '.
 
DATA(ld_i_flg_no_storno) = 'X'.
 
 
 
DATA(ld_i_flg_vdbepp) = ' '.
 
 
DATA(ld_i_flg_vzzbepp) = ' '.
 
 
 
DATA(ld_i_flg_vdarl) = ' '.
 
 
 
 
 
DATA(ld_i_flg_vzzkoko) = ' '.
 
 
 
 
DATA(ld_i_flg_vzzkopo) = ' '.
 
 
 
DATA(ld_i_flg_vvzzkopo) = ' '.
 


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!