SAP FVD_INV_ACC_API_UPDATE_TABLES Function Module for Loan Update Details
FVD_INV_ACC_API_UPDATE_TABLES is a standard fvd inv acc api update tables SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Loan Update Details 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 inv acc api update tables FM, simply by entering the name FVD_INV_ACC_API_UPDATE_TABLES into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_INV_ACC_API
Program Name: SAPLFVD_INV_ACC_API
Main Program: SAPLFVD_INV_ACC_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_INV_ACC_API_UPDATE_TABLES 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_INV_ACC_API_UPDATE_TABLES'"Loan Update Details.
EXPORTING
I_STR_VDARL_OLD = "Loan
* I_TAB_VZZKOPA_NEW = "Table Type for Table VZZKOPA
* I_TAB_VDBEPP_OLD = "Table Type for Table VDBEPP
* I_TAB_VDBEPP_NEW = "Table Type for Table VDBEPP
* I_FLG_CHGDOC_VDBEPP = ' ' "General Indicator
* I_TAB_VDARLOBJ_OLD = "Table Type Objects VDARLOBJ
* I_TAB_VDARLOBJ_NEW = "Table Type Objects VDARLOBJ
* I_TAB_VDARLSIC_OLD = "Table Type Collaterals VDARLSIC
* I_TAB_VDARLSIC_NEW = "Table Type Collaterals VDARLSIC
* I_TAB_VDHGRPF_OLD = "Table Type for Table VDHGRPF
* I_TAB_VDHGRPF_NEW = "Table Type for Table VDHGRPF
I_STR_VDARL_NEW = "Loan
* I_TAB_VIGBA3_OLD = "Table Type for Table VIGBA3
* I_TAB_VIGBA3_NEW = "Table Type for Table VIGBA3
* I_STR_VDARLDVS_OLD = "Print and Dispatch Control Data for VDARL
* I_STR_VDARLDVS_NEW = "Print and Dispatch Control Data for VDARL
* I_STR_VZSORT_OLD = "Sort Values for Object
* I_STR_VZSORT_NEW = "Sort Values for Object
* I_TAB_VDZSB_OLD = "Table Type for Table VDZSB
* I_TAB_VDZSB_NEW = "Table Type for Table VDZSB
* I_TAB_TTKWGDATA_OLD = "Table Type for ttkwgdata
* I_TAB_TTKWGDATA_NEW = "Table Type for ttkwgdata
* I_TAB_VDGPO_OLD = "Business Partner Assignment
* I_STR_ONR00_OLD = "General Object Number
* I_STR_ONR00_NEW = "General Object Number
* I_TAB_VDGPO_NEW = "Business Partner Assignment
* I_STR_VZZKOKO_OLD = "Table Condition Header
* I_TAB_VZZKOKO_NEW = "Table Type for Table VZZKOKO
* I_TAB_VZZKOPO_OLD = "Table Type for Table VZZKOPO
* I_TAB_VZZKOPO_NEW = "Table Type for Table VZZKOPO
* I_TAB_VZZKOPA_OLD = "Table Type for Table VZZKOPA
IMPORTING
E_ERROR = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
IMPORTING Parameters details for FVD_INV_ACC_API_UPDATE_TABLES
I_STR_VDARL_OLD - Loan
Data type: VDARLOptional: No
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPA_NEW - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDBEPP_OLD - Table Type for Table VDBEPP
Data type: TRTY_VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDBEPP_NEW - Table Type for Table VDBEPP
Data type: TRTY_VDBEPPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_CHGDOC_VDBEPP - General Indicator
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLOBJ_OLD - Table Type Objects VDARLOBJ
Data type: TRTY_VDARLOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLOBJ_NEW - Table Type Objects VDARLOBJ
Data type: TRTY_VDARLOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLSIC_OLD - Table Type Collaterals VDARLSIC
Data type: TRTY_VDARLSICOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDARLSIC_NEW - Table Type Collaterals VDARLSIC
Data type: TRTY_VDARLSICOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDHGRPF_OLD - Table Type for Table VDHGRPF
Data type: TRTY_VDHGRPFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDHGRPF_NEW - Table Type for Table VDHGRPF
Data type: TRTY_VDHGRPFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_VDARL_NEW - Loan
Data type: VDARLOptional: No
Call by Reference: No ( called with pass by value option)
I_TAB_VIGBA3_OLD - Table Type for Table VIGBA3
Data type: TRTY_VIGBA3Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VIGBA3_NEW - Table Type for Table VIGBA3
Data type: TRTY_VIGBA3Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_VDARLDVS_OLD - Print and Dispatch Control Data for VDARL
Data type: VDARLDVSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_VDARLDVS_NEW - Print and Dispatch Control Data for VDARL
Data type: VDARLDVSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_VZSORT_OLD - Sort Values for Object
Data type: VZSORTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_VZSORT_NEW - Sort Values for Object
Data type: VZSORTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDZSB_OLD - Table Type for Table VDZSB
Data type: TRTY_VDZSBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDZSB_NEW - Table Type for Table VDZSB
Data type: TRTY_VDZSBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_TTKWGDATA_OLD - Table Type for ttkwgdata
Data type: TRTY_TTKWGDATAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_TTKWGDATA_NEW - Table Type for ttkwgdata
Data type: TRTY_TTKWGDATAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDGPO_OLD - Business Partner Assignment
Data type: TRTY_VDGPOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_ONR00_OLD - General Object Number
Data type: ONR00Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_ONR00_NEW - General Object Number
Data type: ONR00Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VDGPO_NEW - Business Partner Assignment
Data type: TRTY_VDGPOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STR_VZZKOKO_OLD - Table Condition Header
Data type: VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOKO_NEW - Table Type for Table VZZKOKO
Data type: TRTY_VZZKOKOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPO_OLD - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPO_NEW - Table Type for Table VZZKOPO
Data type: TRTY_VZZKOPOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_VZZKOPA_OLD - Table Type for Table VZZKOPA
Data type: TRTY_VZZKOPAOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FVD_INV_ACC_API_UPDATE_TABLES
E_ERROR - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVD_INV_ACC_API_UPDATE_TABLES 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_error | TYPE BOOLE-BOOLE, " | |||
| lv_i_str_vdarl_old | TYPE VDARL, " | |||
| lv_i_tab_vzzkopa_new | TYPE TRTY_VZZKOPA, " | |||
| lv_i_tab_vdbepp_old | TYPE TRTY_VDBEPP, " | |||
| lv_i_tab_vdbepp_new | TYPE TRTY_VDBEPP, " | |||
| lv_i_flg_chgdoc_vdbepp | TYPE FLAG, " SPACE | |||
| lv_i_tab_vdarlobj_old | TYPE TRTY_VDARLOBJ, " | |||
| lv_i_tab_vdarlobj_new | TYPE TRTY_VDARLOBJ, " | |||
| lv_i_tab_vdarlsic_old | TYPE TRTY_VDARLSIC, " | |||
| lv_i_tab_vdarlsic_new | TYPE TRTY_VDARLSIC, " | |||
| lv_i_tab_vdhgrpf_old | TYPE TRTY_VDHGRPF, " | |||
| lv_i_tab_vdhgrpf_new | TYPE TRTY_VDHGRPF, " | |||
| lv_i_str_vdarl_new | TYPE VDARL, " | |||
| lv_i_tab_vigba3_old | TYPE TRTY_VIGBA3, " | |||
| lv_i_tab_vigba3_new | TYPE TRTY_VIGBA3, " | |||
| lv_i_str_vdarldvs_old | TYPE VDARLDVS, " | |||
| lv_i_str_vdarldvs_new | TYPE VDARLDVS, " | |||
| lv_i_str_vzsort_old | TYPE VZSORT, " | |||
| lv_i_str_vzsort_new | TYPE VZSORT, " | |||
| lv_i_tab_vdzsb_old | TYPE TRTY_VDZSB, " | |||
| lv_i_tab_vdzsb_new | TYPE TRTY_VDZSB, " | |||
| lv_i_tab_ttkwgdata_old | TYPE TRTY_TTKWGDATA, " | |||
| lv_i_tab_ttkwgdata_new | TYPE TRTY_TTKWGDATA, " | |||
| lv_i_tab_vdgpo_old | TYPE TRTY_VDGPO, " | |||
| lv_i_str_onr00_old | TYPE ONR00, " | |||
| lv_i_str_onr00_new | TYPE ONR00, " | |||
| lv_i_tab_vdgpo_new | TYPE TRTY_VDGPO, " | |||
| lv_i_str_vzzkoko_old | TYPE VZZKOKO, " | |||
| lv_i_tab_vzzkoko_new | TYPE TRTY_VZZKOKO, " | |||
| lv_i_tab_vzzkopo_old | TYPE TRTY_VZZKOPO, " | |||
| lv_i_tab_vzzkopo_new | TYPE TRTY_VZZKOPO, " | |||
| lv_i_tab_vzzkopa_old | TYPE TRTY_VZZKOPA. " |
|   CALL FUNCTION 'FVD_INV_ACC_API_UPDATE_TABLES' "Loan Update Details |
| EXPORTING | ||
| I_STR_VDARL_OLD | = lv_i_str_vdarl_old | |
| I_TAB_VZZKOPA_NEW | = lv_i_tab_vzzkopa_new | |
| I_TAB_VDBEPP_OLD | = lv_i_tab_vdbepp_old | |
| I_TAB_VDBEPP_NEW | = lv_i_tab_vdbepp_new | |
| I_FLG_CHGDOC_VDBEPP | = lv_i_flg_chgdoc_vdbepp | |
| I_TAB_VDARLOBJ_OLD | = lv_i_tab_vdarlobj_old | |
| I_TAB_VDARLOBJ_NEW | = lv_i_tab_vdarlobj_new | |
| I_TAB_VDARLSIC_OLD | = lv_i_tab_vdarlsic_old | |
| I_TAB_VDARLSIC_NEW | = lv_i_tab_vdarlsic_new | |
| I_TAB_VDHGRPF_OLD | = lv_i_tab_vdhgrpf_old | |
| I_TAB_VDHGRPF_NEW | = lv_i_tab_vdhgrpf_new | |
| I_STR_VDARL_NEW | = lv_i_str_vdarl_new | |
| I_TAB_VIGBA3_OLD | = lv_i_tab_vigba3_old | |
| I_TAB_VIGBA3_NEW | = lv_i_tab_vigba3_new | |
| I_STR_VDARLDVS_OLD | = lv_i_str_vdarldvs_old | |
| I_STR_VDARLDVS_NEW | = lv_i_str_vdarldvs_new | |
| I_STR_VZSORT_OLD | = lv_i_str_vzsort_old | |
| I_STR_VZSORT_NEW | = lv_i_str_vzsort_new | |
| I_TAB_VDZSB_OLD | = lv_i_tab_vdzsb_old | |
| I_TAB_VDZSB_NEW | = lv_i_tab_vdzsb_new | |
| I_TAB_TTKWGDATA_OLD | = lv_i_tab_ttkwgdata_old | |
| I_TAB_TTKWGDATA_NEW | = lv_i_tab_ttkwgdata_new | |
| I_TAB_VDGPO_OLD | = lv_i_tab_vdgpo_old | |
| I_STR_ONR00_OLD | = lv_i_str_onr00_old | |
| I_STR_ONR00_NEW | = lv_i_str_onr00_new | |
| I_TAB_VDGPO_NEW | = lv_i_tab_vdgpo_new | |
| I_STR_VZZKOKO_OLD | = lv_i_str_vzzkoko_old | |
| I_TAB_VZZKOKO_NEW | = lv_i_tab_vzzkoko_new | |
| I_TAB_VZZKOPO_OLD | = lv_i_tab_vzzkopo_old | |
| I_TAB_VZZKOPO_NEW | = lv_i_tab_vzzkopo_new | |
| I_TAB_VZZKOPA_OLD | = lv_i_tab_vzzkopa_old | |
| IMPORTING | ||
| E_ERROR | = lv_e_error | |
| . " FVD_INV_ACC_API_UPDATE_TABLES | ||
ABAP code using 7.40 inline data declarations to call FM FVD_INV_ACC_API_UPDATE_TABLES
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 BOOLE FROM BOOLE INTO @DATA(ld_e_error). | ||||
| DATA(ld_i_flg_chgdoc_vdbepp) | = ' '. | |||
Search for further information about these or an SAP related objects