SAP Reports / Programs | Basis Components | ABAP Runtime Environment | Syntax, Compiler, Runtime(BC-ABA-LA) SAP BC

MSOCXF03 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MSOCXF03

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:

OCX_LISTBOX CALL FUNCTION 'OCX_LISTBOX' EXPORTING LEFT = 700 TOP = 125 WIDTH = 200 HEIGHT = 150 DYNNR = '0100' PARENTID = DYNPRO_0 CURR_REPORT = THIS_REPID FORMNAME = 'LOG_SELECTED' DIALOGBOX = 'X' IMPORTING LISTBOX_HANDLE = EVENTLOG_HANDLE WINDOW_HANDLE = EVENTLOG_WINDOW_HANDLE TABLES LIST_ITEMS = EVENT_LOG.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

CONTROL_REGISTER_EVENT CALL FUNCTION 'CONTROL_REGISTER_EVENT' EXPORTING EVENT = SHELL_CLOSE IS_SHELLEVENT = 'x' H_CONTROL = EVENTLOG_WINDOW_HANDLE.

CONTROL_REGISTER_EVT_CB CALL FUNCTION 'CONTROL_REGISTER_EVT_CB' EXPORTING EVENT = SHELL_CLOSE IS_SHELLEVENT = 'x' CALLBACK_PROG = THIS_REPID CALLBACK_FORM = 'EVENTLOG_DESTROY' CHANGING H_CONTROL = EVENTLOG_WINDOW_HANDLE.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

CONTROL_REGISTER_EVENT CALL FUNCTION 'CONTROL_REGISTER_EVENT' EXPORTING EVENT = EVENT-EVENT_ID H_CONTROL = H_OCX.

CONTROL_REGISTER_EVT_CB CALL FUNCTION 'CONTROL_REGISTER_EVT_CB' EXPORTING EVENT = EVENT-EVENT_ID CALLBACK_PROG = THIS_REPID CALLBACK_FORM = 'EVNT_SEL' IMPORTING CALLBACK_ID = EVENT-CALLBACK_ID CHANGING H_CONTROL = H_OCX.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

CONTROL_UNREGISTER_CB CALL FUNCTION 'CONTROL_UNREGISTER_CB' EXPORTING CALLBACK_ID = EVENT-CALLBACK_ID.

CONTROL_UNREGISTER_EVENT CALL FUNCTION 'CONTROL_UNREGISTER_EVENT' EXPORTING H_CONTROL = H_OCX EVENT = EVENT-EVENT_ID.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

CONTROL_CALL_METHOD CALL FUNCTION 'CONTROL_CALL_METHOD' EXPORTING H_CONTROL = EVENTLOG_HANDLE METHOD = ERRORMSG4 "'Addstring' P_COUNT = 1 P1 = LOGITEM.

CONTROL_CALL_METHOD CALL FUNCTION 'CONTROL_CALL_METHOD' EXPORTING H_CONTROL = EVENTLOG_HANDLE METHOD = 'RemoveAll' P_COUNT = 0.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.



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