SAP Reports / Programs

DX_DOC_BDS SAP ABAP Report - Demonstration for Using BDS In Office Integration







DX_DOC_BDS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This demo report shows how any desktop Office applications that support Microsoft OLE and ActiveX technologies can be integrated into an R/3 transaction...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter DX_DOC_BDS into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT DX_DOC_BDS. "Basic submit
SUBMIT DX_DOC_BDS AND RETURN. "Return to original report after report execution complete
SUBMIT DX_DOC_BDS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Demonstration for Using BDS In Office Integration
Text Symbol: 000 = Demo: Document Container Control
Text Symbol: 003 = Document Type Selection
Text Symbol: DO1 = Interfaces for SAP Office Integration
Text Symbol: DO2 = Concept Paper: "SAP Office Integration"
Text Symbol: DO3 = PowerPoint Presentation
Text Symbol: DO4 = WordPro Example Document
Text Symbol: OID = Demo: Document Container Control
Text Symbol: SAV = Save document?
Text Symbol: SDO = Document Selection


INCLUDES used within this REPORT DX_DOC_BDS

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

GUI_HAS_ACTIVEX CALL FUNCTION 'GUI_HAS_ACTIVEX' IMPORTING return = b_has_activex.

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING left_upper_col = 5 left_upper_row = 5 pagesize = 10 title = 'Select document'(sdo) IMPORTING linenumber = l_nr TABLES field_desc = field_desc value_tab = documents EXCEPTIONS OTHERS = 1.

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING left_upper_col = 5 left_upper_row = 5 pagesize = 10 title = 'Select document'(sdo) IMPORTING linenumber = l_nr TABLES field_desc = field_desc value_tab = documents EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM * call function 'POPUP_TO_CONFIRM' * exporting * titlebar = 'Office Integration Demo'(oid) * text_question = 'Save Document?'(sav) * display_cancel_button = ' ' * importing * answer = answer.

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING * COLUMN_HEADING = ' ' * CURSOR_FIELD = 1 * CURSOR_LINE = 1 left_upper_col = 5 left_upper_row = 5 pagesize = 10 title = dialog_title IMPORTING linenumber = l_nr TABLES field_desc = field_desc value_tab = descr_list EXCEPTIONS OTHERS = 1.

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING * COLUMN_HEADING = ' ' * CURSOR_FIELD = 1 * CURSOR_LINE = 1 left_upper_col = 5 left_upper_row = 5 pagesize = 10 title = dialog_title IMPORTING linenumber = l_nr TABLES field_desc = field_desc value_tab = descr_list EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name DX_DOC_BDS or its description.