SAP FVD_UPDATE_LOAN Function Module for Update Module - Loans
FVD_UPDATE_LOAN is a standard fvd update loan 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 Module - Loans 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 update loan FM, simply by entering the name FVD_UPDATE_LOAN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_UPDATE
Program Name: SAPLFVD_UPDATE
Main Program: SAPLFVD_UPDATE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function FVD_UPDATE_LOAN 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_UPDATE_LOAN'"Update Module - Loans.
EXPORTING
* I_TAB_VDARL_INSERT = "Table Type for Table VDARL
* I_TAB_VZZKOPA_INSERT = "Table Type for Table VZZKOPA
* I_TAB_VZZKOPA_UPDATE = "Table Type for Table VZZKOPA
* I_TAB_VZZKOPA_DELETE = "Table Type for Table VZZKOPA
* I_TAB_VDBEPP_INSERT = "Table Type for Table VDBEPP
* I_TAB_VDBEPP_UPDATE = "Table Type for Table VDBEPP
* I_TAB_VDBEPP_DELETE = "Table Type for Table VDBEPP
* I_TAB_VDARLSIC_INSERT = "Table Type Collaterals VDARLSIC
* I_TAB_VDARLSIC_UPDATE = "Table Type Collaterals VDARLSIC
* I_TAB_VDARLSIC_DELETE = "Table Type Collaterals VDARLSIC
* I_TAB_VDARLOBJ_INSERT = "Table Type Objects VDARLOBJ
* I_TAB_VDARL_UPDATE = "Table Type for Table VDARL
* I_TAB_VDARLOBJ_UPDATE = "Table Type Objects VDARLOBJ
* I_TAB_VDARLOBJ_DELETE = "Table Type Objects VDARLOBJ
* I_TAB_VDCHARACDOC_INSERT = "Table Type for Table VDCHARACDOC
* I_TAB_VDCHARACDOC_UPDATE = "Table Type for Table VDCHARACDOC
* I_TAB_VDCHARACDOC_DELETE = "Table Type for Table VDCHARACDOC
* I_TAB_VDSUBFACILITY_INSERT = "Table Type for VDSUBFACILITY
* I_TAB_VDSUBFACILITY_UPDATE = "Table Type for VDSUBFACILITY
* I_TAB_VDSUBFACILITY_DELETE = "Table Type for VDSUBFACILITY
* I_TAB_VDLINK_DD2SF_INSERT = "Table type for VDLINK_DD2SF
* I_TAB_VDLINK_DD2SF_UPDATE = "Table type for VDLINK_DD2SF
* I_TAB_VDARL_DELETE = "Table Type for Table VDARL
* I_TAB_VDLINK_DD2SF_DELETE = "Table type for VDLINK_DD2SF
* I_TAB_VZZKOKO_INSERT = "Table Type for Table VZZKOKO
* I_TAB_VZZKOKO_UPDATE = "Table Type for Table VZZKOKO
* I_TAB_VZZKOKO_DELETE = "Table Type for Table VZZKOKO
* I_TAB_VZZKOPO_INSERT = "Table Type for Table VZZKOPO
* I_TAB_VZZKOPO_UPDATE = "Table Type for Table VZZKOPO
* I_TAB_VZZKOPO_DELETE = "Table Type for Table VZZKOPO
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for FVD_UPDATE_LOAN
I_TAB_VDARL_INSERT - Table Type for Table VDARL
Data type: TRTY_VDARLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPA_INSERT - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPA_UPDATE - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPA_DELETE - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDBEPP_INSERT - Table Type for Table VDBEPP
Data type: TRTY_VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDBEPP_UPDATE - Table Type for Table VDBEPP
Data type: TRTY_VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDBEPP_DELETE - Table Type for Table VDBEPP
Data type: TRTY_VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLSIC_INSERT - Table Type Collaterals VDARLSIC
Data type: TRTY_VDARLSICOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLSIC_UPDATE - Table Type Collaterals VDARLSIC
Data type: TRTY_VDARLSICOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLSIC_DELETE - Table Type Collaterals VDARLSIC
Data type: TRTY_VDARLSICOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLOBJ_INSERT - Table Type Objects VDARLOBJ
Data type: TRTY_VDARLOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARL_UPDATE - Table Type for Table VDARL
Data type: TRTY_VDARLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLOBJ_UPDATE - Table Type Objects VDARLOBJ
Data type: TRTY_VDARLOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLOBJ_DELETE - Table Type Objects VDARLOBJ
Data type: TRTY_VDARLOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDCHARACDOC_INSERT - Table Type for Table VDCHARACDOC
Data type: TRTY_VDCHARACDOCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDCHARACDOC_UPDATE - Table Type for Table VDCHARACDOC
Data type: TRTY_VDCHARACDOCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDCHARACDOC_DELETE - Table Type for Table VDCHARACDOC
Data type: TRTY_VDCHARACDOCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDSUBFACILITY_INSERT - Table Type for VDSUBFACILITY
Data type: TRTY_VDSUBFACILITYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDSUBFACILITY_UPDATE - Table Type for VDSUBFACILITY
Data type: TRTY_VDSUBFACILITYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDSUBFACILITY_DELETE - Table Type for VDSUBFACILITY
Data type: TRTY_VDSUBFACILITYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDLINK_DD2SF_INSERT - Table type for VDLINK_DD2SF
Data type: TRTY_VDLINK_DD2SFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDLINK_DD2SF_UPDATE - Table type for VDLINK_DD2SF
Data type: TRTY_VDLINK_DD2SFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARL_DELETE - Table Type for Table VDARL
Data type: TRTY_VDARLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDLINK_DD2SF_DELETE - Table type for VDLINK_DD2SF
Data type: TRTY_VDLINK_DD2SFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOKO_INSERT - Table Type for Table VZZKOKO
Data type: TRTY_VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOKO_UPDATE - Table Type for Table VZZKOKO
Data type: TRTY_VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOKO_DELETE - Table Type for Table VZZKOKO
Data type: TRTY_VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPO_INSERT - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPO_UPDATE - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPO_DELETE - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR - Update Errors
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_UPDATE_LOAN 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_tab_vdarl_insert | TYPE TRTY_VDARL, " | |||
| lv_i_tab_vzzkopa_insert | TYPE TRTY_VZZKOPA, " | |||
| lv_i_tab_vzzkopa_update | TYPE TRTY_VZZKOPA, " | |||
| lv_i_tab_vzzkopa_delete | TYPE TRTY_VZZKOPA, " | |||
| lv_i_tab_vdbepp_insert | TYPE TRTY_VDBEPP, " | |||
| lv_i_tab_vdbepp_update | TYPE TRTY_VDBEPP, " | |||
| lv_i_tab_vdbepp_delete | TYPE TRTY_VDBEPP, " | |||
| lv_i_tab_vdarlsic_insert | TYPE TRTY_VDARLSIC, " | |||
| lv_i_tab_vdarlsic_update | TYPE TRTY_VDARLSIC, " | |||
| lv_i_tab_vdarlsic_delete | TYPE TRTY_VDARLSIC, " | |||
| lv_i_tab_vdarlobj_insert | TYPE TRTY_VDARLOBJ, " | |||
| lv_i_tab_vdarl_update | TYPE TRTY_VDARL, " | |||
| lv_i_tab_vdarlobj_update | TYPE TRTY_VDARLOBJ, " | |||
| lv_i_tab_vdarlobj_delete | TYPE TRTY_VDARLOBJ, " | |||
| lv_i_tab_vdcharacdoc_insert | TYPE TRTY_VDCHARACDOC, " | |||
| lv_i_tab_vdcharacdoc_update | TYPE TRTY_VDCHARACDOC, " | |||
| lv_i_tab_vdcharacdoc_delete | TYPE TRTY_VDCHARACDOC, " | |||
| lv_i_tab_vdsubfacility_insert | TYPE TRTY_VDSUBFACILITY, " | |||
| lv_i_tab_vdsubfacility_update | TYPE TRTY_VDSUBFACILITY, " | |||
| lv_i_tab_vdsubfacility_delete | TYPE TRTY_VDSUBFACILITY, " | |||
| lv_i_tab_vdlink_dd2sf_insert | TYPE TRTY_VDLINK_DD2SF, " | |||
| lv_i_tab_vdlink_dd2sf_update | TYPE TRTY_VDLINK_DD2SF, " | |||
| lv_i_tab_vdarl_delete | TYPE TRTY_VDARL, " | |||
| lv_i_tab_vdlink_dd2sf_delete | TYPE TRTY_VDLINK_DD2SF, " | |||
| lv_i_tab_vzzkoko_insert | TYPE TRTY_VZZKOKO, " | |||
| lv_i_tab_vzzkoko_update | TYPE TRTY_VZZKOKO, " | |||
| lv_i_tab_vzzkoko_delete | TYPE TRTY_VZZKOKO, " | |||
| lv_i_tab_vzzkopo_insert | TYPE TRTY_VZZKOPO, " | |||
| lv_i_tab_vzzkopo_update | TYPE TRTY_VZZKOPO, " | |||
| lv_i_tab_vzzkopo_delete | TYPE TRTY_VZZKOPO. " |
|   CALL FUNCTION 'FVD_UPDATE_LOAN' "Update Module - Loans |
| EXPORTING | ||
| I_TAB_VDARL_INSERT | = lv_i_tab_vdarl_insert | |
| I_TAB_VZZKOPA_INSERT | = lv_i_tab_vzzkopa_insert | |
| I_TAB_VZZKOPA_UPDATE | = lv_i_tab_vzzkopa_update | |
| I_TAB_VZZKOPA_DELETE | = lv_i_tab_vzzkopa_delete | |
| I_TAB_VDBEPP_INSERT | = lv_i_tab_vdbepp_insert | |
| I_TAB_VDBEPP_UPDATE | = lv_i_tab_vdbepp_update | |
| I_TAB_VDBEPP_DELETE | = lv_i_tab_vdbepp_delete | |
| I_TAB_VDARLSIC_INSERT | = lv_i_tab_vdarlsic_insert | |
| I_TAB_VDARLSIC_UPDATE | = lv_i_tab_vdarlsic_update | |
| I_TAB_VDARLSIC_DELETE | = lv_i_tab_vdarlsic_delete | |
| I_TAB_VDARLOBJ_INSERT | = lv_i_tab_vdarlobj_insert | |
| I_TAB_VDARL_UPDATE | = lv_i_tab_vdarl_update | |
| I_TAB_VDARLOBJ_UPDATE | = lv_i_tab_vdarlobj_update | |
| I_TAB_VDARLOBJ_DELETE | = lv_i_tab_vdarlobj_delete | |
| I_TAB_VDCHARACDOC_INSERT | = lv_i_tab_vdcharacdoc_insert | |
| I_TAB_VDCHARACDOC_UPDATE | = lv_i_tab_vdcharacdoc_update | |
| I_TAB_VDCHARACDOC_DELETE | = lv_i_tab_vdcharacdoc_delete | |
| I_TAB_VDSUBFACILITY_INSERT | = lv_i_tab_vdsubfacility_insert | |
| I_TAB_VDSUBFACILITY_UPDATE | = lv_i_tab_vdsubfacility_update | |
| I_TAB_VDSUBFACILITY_DELETE | = lv_i_tab_vdsubfacility_delete | |
| I_TAB_VDLINK_DD2SF_INSERT | = lv_i_tab_vdlink_dd2sf_insert | |
| I_TAB_VDLINK_DD2SF_UPDATE | = lv_i_tab_vdlink_dd2sf_update | |
| I_TAB_VDARL_DELETE | = lv_i_tab_vdarl_delete | |
| I_TAB_VDLINK_DD2SF_DELETE | = lv_i_tab_vdlink_dd2sf_delete | |
| I_TAB_VZZKOKO_INSERT | = lv_i_tab_vzzkoko_insert | |
| I_TAB_VZZKOKO_UPDATE | = lv_i_tab_vzzkoko_update | |
| I_TAB_VZZKOKO_DELETE | = lv_i_tab_vzzkoko_delete | |
| I_TAB_VZZKOPO_INSERT | = lv_i_tab_vzzkopo_insert | |
| I_TAB_VZZKOPO_UPDATE | = lv_i_tab_vzzkopo_update | |
| I_TAB_VZZKOPO_DELETE | = lv_i_tab_vzzkopo_delete | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " FVD_UPDATE_LOAN | ||
ABAP code using 7.40 inline data declarations to call FM FVD_UPDATE_LOAN
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.Search for further information about these or an SAP related objects