VDBUSOP_WRITE_DOCUMENT 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 VDBUSOP_WRITE_DOCUMENT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FVDBUS
Released Date:
Not Released
Processing type: Start of update delayed (Start Delayed)
CALL FUNCTION 'VDBUSOP_WRITE_DOCUMENT' "CHDO VDBUSOP => Gen. by RSSCD000
EXPORTING
objectid = " cdhdr-objectid
tcode = " cdhdr-tcode
utime = " cdhdr-utime
udate = " cdhdr-udate
username = " cdhdr-username
planned_change_number = SPACE " cdhdr-planchngnr
object_change_indicator = 'U' " cdhdr-change_ind
planned_or_real_changes = SPACE " cdhdr-change_ind
no_change_pointers = SPACE " cdhdr-change_ind
upd_vdausz = SPACE " cdpos-chngind
upd_vdbobepp = SPACE " cdpos-chngind
n_vdbohead = " vdbohead
o_vdbohead = " vdbohead
upd_vdbohead = SPACE " cdpos-chngind
upd_vdcaptr = SPACE " cdpos-chngind
upd_vddebttrans = SPACE " cdpos-chngind
upd_vddisb = SPACE " cdpos-chngind
upd_vdextskip = SPACE " cdpos-chngind
upd_vdioa_calc_head = SPACE " cdpos-chngind
upd_vdrepayment = SPACE " cdpos-chngind
TABLES
xvdausz = " fvvdausz
yvdausz = " fvvdausz
xvdbobepp = " fvvdbobepp
yvdbobepp = " fvvdbobepp
xvdcaptr = " fvvdcaptr
yvdcaptr = " fvvdcaptr
xvddebttrans = " fvvddebttrans
yvddebttrans = " fvvddebttrans
xvddisb = " fvvddisb
yvddisb = " fvvddisb
xvdextskip = " fvvdextskip
yvdextskip = " fvvdextskip
xvdioa_calc_head = " fvvdioa_calc_head
yvdioa_calc_head = " fvvdioa_calc_head
xvdrepayment = " fvvdrepayment
yvdrepayment = " fvvdrepayment
. " VDBUSOP_WRITE_DOCUMENT
The ABAP code below is a full code listing to execute function module VDBUSOP_WRITE_DOCUMENT 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).
| it_xvdausz | TYPE STANDARD TABLE OF FVVDAUSZ,"TABLES PARAM |
| wa_xvdausz | LIKE LINE OF it_xvdausz , |
| it_yvdausz | TYPE STANDARD TABLE OF FVVDAUSZ,"TABLES PARAM |
| wa_yvdausz | LIKE LINE OF it_yvdausz , |
| it_xvdbobepp | TYPE STANDARD TABLE OF FVVDBOBEPP,"TABLES PARAM |
| wa_xvdbobepp | LIKE LINE OF it_xvdbobepp , |
| it_yvdbobepp | TYPE STANDARD TABLE OF FVVDBOBEPP,"TABLES PARAM |
| wa_yvdbobepp | LIKE LINE OF it_yvdbobepp , |
| it_xvdcaptr | TYPE STANDARD TABLE OF FVVDCAPTR,"TABLES PARAM |
| wa_xvdcaptr | LIKE LINE OF it_xvdcaptr , |
| it_yvdcaptr | TYPE STANDARD TABLE OF FVVDCAPTR,"TABLES PARAM |
| wa_yvdcaptr | LIKE LINE OF it_yvdcaptr , |
| it_xvddebttrans | TYPE STANDARD TABLE OF FVVDDEBTTRANS,"TABLES PARAM |
| wa_xvddebttrans | LIKE LINE OF it_xvddebttrans , |
| it_yvddebttrans | TYPE STANDARD TABLE OF FVVDDEBTTRANS,"TABLES PARAM |
| wa_yvddebttrans | LIKE LINE OF it_yvddebttrans , |
| it_xvddisb | TYPE STANDARD TABLE OF FVVDDISB,"TABLES PARAM |
| wa_xvddisb | LIKE LINE OF it_xvddisb , |
| it_yvddisb | TYPE STANDARD TABLE OF FVVDDISB,"TABLES PARAM |
| wa_yvddisb | LIKE LINE OF it_yvddisb , |
| it_xvdextskip | TYPE STANDARD TABLE OF FVVDEXTSKIP,"TABLES PARAM |
| wa_xvdextskip | LIKE LINE OF it_xvdextskip , |
| it_yvdextskip | TYPE STANDARD TABLE OF FVVDEXTSKIP,"TABLES PARAM |
| wa_yvdextskip | LIKE LINE OF it_yvdextskip , |
| it_xvdioa_calc_head | TYPE STANDARD TABLE OF FVVDIOA_CALC_HEAD,"TABLES PARAM |
| wa_xvdioa_calc_head | LIKE LINE OF it_xvdioa_calc_head , |
| it_yvdioa_calc_head | TYPE STANDARD TABLE OF FVVDIOA_CALC_HEAD,"TABLES PARAM |
| wa_yvdioa_calc_head | LIKE LINE OF it_yvdioa_calc_head , |
| it_xvdrepayment | TYPE STANDARD TABLE OF FVVDREPAYMENT,"TABLES PARAM |
| wa_xvdrepayment | LIKE LINE OF it_xvdrepayment , |
| it_yvdrepayment | TYPE STANDARD TABLE OF FVVDREPAYMENT,"TABLES PARAM |
| wa_yvdrepayment | LIKE LINE OF it_yvdrepayment . |
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_objectid | TYPE CDHDR-OBJECTID , |
| it_xvdausz | TYPE STANDARD TABLE OF FVVDAUSZ , |
| wa_xvdausz | LIKE LINE OF it_xvdausz, |
| ld_tcode | TYPE CDHDR-TCODE , |
| it_yvdausz | TYPE STANDARD TABLE OF FVVDAUSZ , |
| wa_yvdausz | LIKE LINE OF it_yvdausz, |
| ld_utime | TYPE CDHDR-UTIME , |
| it_xvdbobepp | TYPE STANDARD TABLE OF FVVDBOBEPP , |
| wa_xvdbobepp | LIKE LINE OF it_xvdbobepp, |
| ld_udate | TYPE CDHDR-UDATE , |
| it_yvdbobepp | TYPE STANDARD TABLE OF FVVDBOBEPP , |
| wa_yvdbobepp | LIKE LINE OF it_yvdbobepp, |
| ld_username | TYPE CDHDR-USERNAME , |
| it_xvdcaptr | TYPE STANDARD TABLE OF FVVDCAPTR , |
| wa_xvdcaptr | LIKE LINE OF it_xvdcaptr, |
| ld_planned_change_number | TYPE CDHDR-PLANCHNGNR , |
| it_yvdcaptr | TYPE STANDARD TABLE OF FVVDCAPTR , |
| wa_yvdcaptr | LIKE LINE OF it_yvdcaptr, |
| ld_object_change_indicator | TYPE CDHDR-CHANGE_IND , |
| it_xvddebttrans | TYPE STANDARD TABLE OF FVVDDEBTTRANS , |
| wa_xvddebttrans | LIKE LINE OF it_xvddebttrans, |
| ld_planned_or_real_changes | TYPE CDHDR-CHANGE_IND , |
| it_yvddebttrans | TYPE STANDARD TABLE OF FVVDDEBTTRANS , |
| wa_yvddebttrans | LIKE LINE OF it_yvddebttrans, |
| ld_no_change_pointers | TYPE CDHDR-CHANGE_IND , |
| it_xvddisb | TYPE STANDARD TABLE OF FVVDDISB , |
| wa_xvddisb | LIKE LINE OF it_xvddisb, |
| ld_upd_vdausz | TYPE CDPOS-CHNGIND , |
| it_yvddisb | TYPE STANDARD TABLE OF FVVDDISB , |
| wa_yvddisb | LIKE LINE OF it_yvddisb, |
| it_xvdextskip | TYPE STANDARD TABLE OF FVVDEXTSKIP , |
| wa_xvdextskip | LIKE LINE OF it_xvdextskip, |
| ld_upd_vdbobepp | TYPE CDPOS-CHNGIND , |
| it_yvdextskip | TYPE STANDARD TABLE OF FVVDEXTSKIP , |
| wa_yvdextskip | LIKE LINE OF it_yvdextskip, |
| ld_n_vdbohead | TYPE VDBOHEAD , |
| it_xvdioa_calc_head | TYPE STANDARD TABLE OF FVVDIOA_CALC_HEAD , |
| wa_xvdioa_calc_head | LIKE LINE OF it_xvdioa_calc_head, |
| ld_o_vdbohead | TYPE VDBOHEAD , |
| it_yvdioa_calc_head | TYPE STANDARD TABLE OF FVVDIOA_CALC_HEAD , |
| wa_yvdioa_calc_head | LIKE LINE OF it_yvdioa_calc_head, |
| ld_upd_vdbohead | TYPE CDPOS-CHNGIND , |
| it_xvdrepayment | TYPE STANDARD TABLE OF FVVDREPAYMENT , |
| wa_xvdrepayment | LIKE LINE OF it_xvdrepayment, |
| ld_upd_vdcaptr | TYPE CDPOS-CHNGIND , |
| it_yvdrepayment | TYPE STANDARD TABLE OF FVVDREPAYMENT , |
| wa_yvdrepayment | LIKE LINE OF it_yvdrepayment, |
| ld_upd_vddebttrans | TYPE CDPOS-CHNGIND , |
| ld_upd_vddisb | TYPE CDPOS-CHNGIND , |
| ld_upd_vdextskip | TYPE CDPOS-CHNGIND , |
| ld_upd_vdioa_calc_head | TYPE CDPOS-CHNGIND , |
| ld_upd_vdrepayment | TYPE CDPOS-CHNGIND . |
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 VDBUSOP_WRITE_DOCUMENT or its description.
VDBUSOP_WRITE_DOCUMENT - CHDO VDBUSOP => Gen. by RSSCD000 VDBUSOPER_WRITE_DOCUMENT - VDBEPP_SCHREIBEN - Delete Planning Records that have been Processed Correctly VDBEPP_CONSTRUCT_EOD_CMLCHN - Update Cash Flow for EOD Job VDBEPP_CONSTRUCT - Create Flows from Several Condition Headers VDBEKI_SELECT_REVERSE_ACCOUNT - Selections from VDBEKI for Reversal According to Various Criteria