SAP Reports / Programs | Basis Components | Upgrade - General | Online Correction Support (Support Package and Add-On Tools)(BC-UPG-OCS) SAP BC

MSPAMF05 SAP ABAP INCLUDE - documentation and ABAP source code







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


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


Text pool values


Title: Include MSPAMF05


INCLUDES used within this REPORT MSPAMF05

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:

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.

SPAM_UI_QUEUE

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.