MSPAMF04 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 MSPAMF04 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 MSPAMF04
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-000 start_column = '17' start_row = '2' IMPORTING returncode = lv_rc TABLES fields = lt_value_field EXCEPTIONS error_in_fields = 1 OTHERS = 2.
SPAM_PATCH_TP_LOG CALL FUNCTION 'SPAM_PATCH_TP_LOG' EXPORTING patch = lv_patch verify_patch_existence = on iv_sysid = sy-sysid EXCEPTIONS inexistent_patch = 01.
SPAM_PATCH_TP_LOG CALL FUNCTION 'SPAM_PATCH_TP_LOG' EXPORTING patch = space "read and displays the queue iv_sysid = sy-sysid EXCEPTIONS inexistent_patch = 0.
SPAM_GET_LAST_APPLIED_SPAM_FIX CALL FUNCTION 'SPAM_GET_LAST_APPLIED_SPAM_FIX' IMPORTING ev_patch = lv_patch EXCEPTIONS no_spam_fix_found = 1 internal_error = 2 OTHERS = 99.
SPAM_PATCH_TP_LOG CALL FUNCTION 'SPAM_PATCH_TP_LOG' EXPORTING patch = lv_patch verify_patch_existence = on iv_sysid = sy-sysid EXCEPTIONS OTHERS = 99.
SPAM_PATCH_OBJECT_LIST CALL FUNCTION 'SPAM_PATCH_OBJECT_LIST' EXPORTING patch = space verify_patch_existence = on EXCEPTIONS failure = 1 inexistent_patch = 2 OTHERS = 99.
SPAM_GET_LAST_APPLIED_SPAM_FIX CALL FUNCTION 'SPAM_GET_LAST_APPLIED_SPAM_FIX' IMPORTING ev_patch = lv_patch EXCEPTIONS no_spam_fix_found = 1 internal_error = 2 OTHERS = 99.
SPAM_PATCH_OBJECT_LIST CALL FUNCTION 'SPAM_PATCH_OBJECT_LIST' EXPORTING patch = lv_patch verify_patch_existence = on EXCEPTIONS failure = 1 inexistent_patch = 2 OTHERS = 99.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-000 start_column = '17' start_row = '2' IMPORTING returncode = lv_rc TABLES fields = lt_value_field EXCEPTIONS error_in_fields = 1 OTHERS = 2.
SPAM_PATCH_OBJECT_LIST CALL FUNCTION 'SPAM_PATCH_OBJECT_LIST' EXPORTING patch = lv_patch verify_patch_existence = on EXCEPTIONS failure = 1 inexistent_patch = 2 OTHERS = 99.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-000 start_column = '17' start_row = '2' IMPORTING returncode = lv_rc TABLES fields = lt_value_field EXCEPTIONS error_in_fields = 1 OTHERS = 2.
SPAM_GET_LAST_APPLIED_SPAM_FIX CALL FUNCTION 'SPAM_GET_LAST_APPLIED_SPAM_FIX' IMPORTING ev_patch = lv_patch EXCEPTIONS no_spam_fix_found = 1 internal_error = 2 OTHERS = 99.
SPAM_GET_SPAM_FIX CALL FUNCTION 'SPAM_GET_SPAM_FIX' IMPORTING patch = lv_patch status = lv_status.
OCS_UI_SHOW_PROCESSING_PHASE CALL FUNCTION 'OCS_UI_SHOW_PROCESSING_PHASE' EXCEPTIONS no_queue = 1 OTHERS = 99.
OCS_UI_SHOW_STATUS CALL FUNCTION 'OCS_UI_SHOW_STATUS' EXCEPTIONS no_queue = 1 update_failure = 2 OTHERS = 99.
OCS_DISPLAY_CURRENT_LOG CALL FUNCTION 'OCS_DISPLAY_CURRENT_LOG' EXPORTING iv_log_name = lv_log_name iv_titlebar = lv_titlebar EXCEPTIONS empty_log = 1 internal_error = 2 OTHERS = 99.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.