SAP Function Modules

FVD_BCT_HANDLE_VDBIW_DATA SAP Function module - Processing of VDBIW_DATA (Shadow Table)







FVD_BCT_HANDLE_VDBIW_DATA is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name FVD_BCT_HANDLE_VDBIW_DATA into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FVD_BCT_VDBIW_DATA
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FVD_BCT_HANDLE_VDBIW_DATA - FVD BCT HANDLE VDBIW DATA





CALL FUNCTION 'FVD_BCT_HANDLE_VDBIW_DATA' "Processing of VDBIW_DATA (Shadow Table)
  EXPORTING
    i_flg_firstdelta =          " xfeld         Checkbox
    i_str_vdarl =               " vdarl         Loan
    i_bwsysid =                 " sysysid       Communication ID/number
    i_infosource =              " sbiwa_s_interface-isource
    i_lastdate =                " dats          DATS Field Type
    i_tab_vzzbepp_plan =        " trty_vzzbepp  Table Type for Structure VZZBEPP
    i_tab_vzzbepp_act =         " trty_vzzbepp  Table Type for Structure VZZBEPP
  IMPORTING
    e_tab_vdbiw_data_insert =   " trty_vdbiw_data  Table Type for Shadow Table CML / BW
    e_tab_vdbiw_data_update =   " trty_vdbiw_data  Table Type for Shadow Table CML / BW
    e_tab_vdbiw_data_delete =   " trty_vdbiw_data  Table Type for Shadow Table CML / BW
    e_tab_vzzbepp_delete =      " trty_vzzbepp  Table Type for Structure VZZBEPP
    e_tab_vzzbepp_new_upd =     " trty_vzzbepp  Table Type for Structure VZZBEPP
  EXCEPTIONS
    ERROR = 1                   "
    .  "  FVD_BCT_HANDLE_VDBIW_DATA

ABAP code example for Function Module FVD_BCT_HANDLE_VDBIW_DATA





The ABAP code below is a full code listing to execute function module FVD_BCT_HANDLE_VDBIW_DATA including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_tab_vdbiw_data_insert  TYPE TRTY_VDBIW_DATA ,
ld_e_tab_vdbiw_data_update  TYPE TRTY_VDBIW_DATA ,
ld_e_tab_vdbiw_data_delete  TYPE TRTY_VDBIW_DATA ,
ld_e_tab_vzzbepp_delete  TYPE TRTY_VZZBEPP ,
ld_e_tab_vzzbepp_new_upd  TYPE TRTY_VZZBEPP .

DATA(ld_i_flg_firstdelta) = 'Check type of data required'.
DATA(ld_i_str_vdarl) = 'Check type of data required'.
DATA(ld_i_bwsysid) = 'some text here'.

DATA(ld_i_infosource) = some text here
DATA(ld_i_lastdate) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp_plan) = 'Check type of data required'.
DATA(ld_i_tab_vzzbepp_act) = 'Check type of data required'. . CALL FUNCTION 'FVD_BCT_HANDLE_VDBIW_DATA' EXPORTING i_flg_firstdelta = ld_i_flg_firstdelta i_str_vdarl = ld_i_str_vdarl i_bwsysid = ld_i_bwsysid i_infosource = ld_i_infosource i_lastdate = ld_i_lastdate i_tab_vzzbepp_plan = ld_i_tab_vzzbepp_plan i_tab_vzzbepp_act = ld_i_tab_vzzbepp_act IMPORTING e_tab_vdbiw_data_insert = ld_e_tab_vdbiw_data_insert e_tab_vdbiw_data_update = ld_e_tab_vdbiw_data_update e_tab_vdbiw_data_delete = ld_e_tab_vdbiw_data_delete e_tab_vzzbepp_delete = ld_e_tab_vzzbepp_delete e_tab_vzzbepp_new_upd = ld_e_tab_vzzbepp_new_upd EXCEPTIONS ERROR = 1 . " FVD_BCT_HANDLE_VDBIW_DATA
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_tab_vdbiw_data_insert  TYPE TRTY_VDBIW_DATA ,
ld_i_flg_firstdelta  TYPE XFELD ,
ld_e_tab_vdbiw_data_update  TYPE TRTY_VDBIW_DATA ,
ld_i_str_vdarl  TYPE VDARL ,
ld_e_tab_vdbiw_data_delete  TYPE TRTY_VDBIW_DATA ,
ld_i_bwsysid  TYPE SYSYSID ,
ld_e_tab_vzzbepp_delete  TYPE TRTY_VZZBEPP ,
ld_i_infosource  TYPE SBIWA_S_INTERFACE-ISOURCE ,
ld_e_tab_vzzbepp_new_upd  TYPE TRTY_VZZBEPP ,
ld_i_lastdate  TYPE DATS ,
ld_i_tab_vzzbepp_plan  TYPE TRTY_VZZBEPP ,
ld_i_tab_vzzbepp_act  TYPE TRTY_VZZBEPP .

ld_i_flg_firstdelta = 'Check type of data required'.
ld_i_str_vdarl = 'Check type of data required'.
ld_i_bwsysid = 'some text here'.

ld_i_infosource = some text here
ld_i_lastdate = 'Check type of data required'.
ld_i_tab_vzzbepp_plan = 'Check type of data required'.
ld_i_tab_vzzbepp_act = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FVD_BCT_HANDLE_VDBIW_DATA or its description.