MSPAMF05 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 MSPAMF05 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include MSPAMF05
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OCS_GET_LATEST_Q CALL FUNCTION 'OCS_GET_LATEST_Q' IMPORTING et_pat01 = lt_pat01 EXCEPTIONS no_queue_found = 1 OTHERS = 99.
ENQUEUE_E_OCS_QUEUE CALL FUNCTION 'ENQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
OCS_UI_SETTINGS_POPUP CALL FUNCTION 'OCS_UI_SETTINGS_POPUP' EXPORTING iv_display_only = cv_display_only iv_tool = code_spam EXCEPTIONS internal_error = 1 OTHERS = 99.
DEQUEUE_E_OCS_QUEUE CALL FUNCTION 'DEQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _synchron = 'X' _collect = ' '.
ENQUEUE_E_OCS_QUEUE CALL FUNCTION 'ENQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
OCS_ALV_UI_QUEUE * CALL FUNCTION 'SPAM_UI_QUEUE' CALL FUNCTION 'OCS_ALV_UI_QUEUE' "Switch to OCS ALV UI EXPORTING iv_display_only = cv_display_only EXCEPTIONS cancel_function = 1 fdp_needed = 2 no_component_found = 3 no_valid_queue = 4 internal_error = 5 alv_error = 6 OTHERS = 99.
DEQUEUE_E_OCS_QUEUE CALL FUNCTION 'DEQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _synchron = 'X' _collect = ' '.
ENQUEUE_E_OCS_QUEUE CALL FUNCTION 'ENQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
SPAM_RESET_STATUS CALL FUNCTION 'SPAM_RESET_STATUS' EXCEPTIONS OTHERS = 99.
DEQUEUE_E_OCS_QUEUE CALL FUNCTION 'DEQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _synchron = 'X' _collect = ' '.
ENQUEUE_E_OCS_QUEUE CALL FUNCTION 'ENQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
SPAM_RESET_STATUS CALL FUNCTION 'SPAM_RESET_STATUS' EXPORTING its_a_spam_update = on EXCEPTIONS OTHERS = 99.
DEQUEUE_E_OCS_QUEUE CALL FUNCTION 'DEQUEUE_E_OCS_QUEUE' EXPORTING mode_pat01 = 'E' _scope = '1' _synchron = 'X' _collect = ' '.
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 MSPAMF05 or its description.