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

MSPAMF04 SAP ABAP INCLUDE - documentation and ABAP source code







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


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 MSPAMF04. "Basic submit
SUBMIT MSPAMF04 AND RETURN. "Return to original report after report execution complete
SUBMIT MSPAMF04 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 MSPAMF04


INCLUDES used within this REPORT MSPAMF04

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:

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.



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