SAP Reports / Programs | Basis Components | Frontend Services - Use subcomponents (see SAP Note 1322184) | SAP Desktop Office Integration(BC-FES-OFF) SAP BC

SAPRDEMO_MS_DEMO SAP ABAP Report - Program SAPRDEMO_MS_DEMO







SAPRDEMO_MS_DEMO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAPRDEMO_MS_DEMO 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 SAPRDEMO_MS_DEMO. "Basic submit
SUBMIT SAPRDEMO_MS_DEMO AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRDEMO_MS_DEMO VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program SAPRDEMO_MS_DEMO


INCLUDES used within this REPORT SAPRDEMO_MS_DEMO

INCLUDE OFFICEINTEGRATIONINCLUDE.


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = 'Office Integration Demo'"#EC NOTEXT TEXT_QUESTION = 'Save Document?'"#EC NOTEXT DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = ANSWER EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

CONTROL_INIT CALL FUNCTION 'CONTROL_INIT' EXCEPTIONS CONTROL_INIT_ERROR = 1 OTHERS = 2.

CONTROL_EXIT CALL FUNCTION 'CONTROL_EXIT'.

SAP_OI_GET_UNIQUE_URL CALL FUNCTION 'SAP_OI_GET_UNIQUE_URL' IMPORTING UNIQUE_URL = DOC_URL EXCEPTIONS OTHERS = 0.

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING URL = DOC_URL IMPORTING SIZE = DOC_SIZE TABLES DATA = DOC_TABLE EXCEPTIONS DP_FAIL = 1 DP_FAILED_INIT = 2 OTHERS = 3.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'x-oleobject' SIZE = DOC_SIZE TABLES DATA = DOC_TABLE CHANGING URL = DOC_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.



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