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

DEMOOFFICEINTEGRATIONUTILS SAP ABAP INCLUDE - Forms which are used in demo reports for Office integration







DEMOOFFICEINTEGRATIONUTILS is a standard ABAP INCLUDE 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 DEMOOFFICEINTEGRATIONUTILS 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 DEMOOFFICEINTEGRATIONUTILS. "Basic submit
SUBMIT DEMOOFFICEINTEGRATIONUTILS AND RETURN. "Return to original report after report execution complete
SUBMIT DEMOOFFICEINTEGRATIONUTILS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Forms which are used in demo reports for Office integration


INCLUDES used within this REPORT DEMOOFFICEINTEGRATIONUTILS

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:

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING LEFT_UPPER_COL = 5 LEFT_UPPER_ROW = 5 PAGESIZE = 10 TITLE = DIALOG_TITLE IMPORTING LINENUMBER = L_NR TABLES FIELD_DESC = FIELD_DESC VALUE_TAB = DOCUMENTS EXCEPTIONS OTHERS = 1.

SAP_OI_SEND_MIME_DATA CALL FUNCTION 'SAP_OI_SEND_MIME_DATA' EXPORTING OBJECT_ID = DESCR-DOCUMENT_ID * TYPE = 'application' * SUBTYPE = 'x-oleobject' CHANGING URL = URL EXCEPTIONS OBJECT_NOT_FOUND = 1 INTERNAL_ERROR = 2 DP_INVALID_PARAMETER = 3 DP_ERROR_PUT_TABLE = 4 DP_ERROR_GENERAL = 5 OTHERS = 6.

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING LEFT_UPPER_COL = 5 LEFT_UPPER_ROW = 5 PAGESIZE = 10 TITLE = DIALOG_TITLE IMPORTING LINENUMBER = L_NR TABLES FIELD_DESC = FIELD_DESC VALUE_TAB = DOCUMENTS EXCEPTIONS OTHERS = 1.

SAP_OI_LOAD_MIME_DATA CALL FUNCTION 'SAP_OI_LOAD_MIME_DATA' EXPORTING OBJECT_ID = DESCR-DOCUMENT_ID IMPORTING DATA_SIZE = DOC_SIZE DOCUMENT_FORMAT = DOC_FORMAT DOCUMENT_TYPE = DOC_TYPE TABLES DATA_TABLE = DOC_TABLE EXCEPTIONS OBJECT_NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

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.

SAP_OI_LOAD_MIME_DATA * CALL FUNCTION 'SAP_OI_LOAD_MIME_DATA' * EXPORTING * OBJECT_ID = DOCUMENT_ID * IMPORTING * DATA_SIZE = DOC_SIZE * TABLES * DATA_TABLE = DOC_TABLE * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3.

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.



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