SAP Reports / Programs

SAPRDEMODOCUMENTCONTAINER SAP ABAP Report - Demo for OLE container control







SAPRDEMODOCUMENTCONTAINER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This demonstration program shows how you can integrate any desktop application that supports Microsoft OLE or ActiveX technology 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 SAPRDEMODOCUMENTCONTAINER 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 SAPRDEMODOCUMENTCONTAINER. "Basic submit
SUBMIT SAPRDEMODOCUMENTCONTAINER AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRDEMODOCUMENTCONTAINER VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Demo for OLE container control
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
Text Symbol: SDC = Document selection


INCLUDES used within this REPORT SAPRDEMODOCUMENTCONTAINER

INCLUDE RDEMODOCUMENTCONTAINERTOP.


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'(sdc) 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.



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 SAPRDEMODOCUMENTCONTAINER or its description.