MSPAMF01 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 MSPAMF01 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: MSPAMF01: FORMS FOR MP SAPMSPAM
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EPS_GET_DIRECTORY_PATH CALL FUNCTION 'EPS_GET_DIRECTORY_PATH' EXPORTING eps_subdir = lc_subdir IMPORTING dir_name = lv_dir_name EXCEPTIONS invalid_eps_subdir = 1 sapgparam_failed = 2 build_directory_failed = 3.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = lv_text textline2 = text-007 titel = text-009 start_column = 25 start_row = 6 cancel_display = ' ' IMPORTING answer = p_answer_yes.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-038 start_column = '17' start_row = '1' IMPORTING returncode = lv_answer_no TABLES fields = lt_help_field EXCEPTIONS error_in_fields = 1 OTHERS = 99.
OCS_EXTENDED_UPLOAD CALL FUNCTION 'OCS_EXTENDED_UPLOAD' EXPORTING iv_patch = lv_patch iv_force = 'X' EXCEPTIONS unknown_patch = 1 processed_patch = 2 patch_file_error = 3 internal_error = 4 OTHERS = 99.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-044 start_column = '17' start_row = '1' IMPORTING returncode = lv_answer_no TABLES fields = lt_help_field EXCEPTIONS error_in_fields = 1 OTHERS = 99.
OCS_EXTENDED_UPLOAD CALL FUNCTION 'OCS_EXTENDED_UPLOAD' EXPORTING iv_patch = lv_patch EXCEPTIONS processed_patch = 0 "no error unknown_patch = 1 patch_file_error = 2 internal_error = 3 OTHERS = 99.
OCS_PATCH_DISASSEMBLER CALL FUNCTION 'OCS_PATCH_DISASSEMBLER' EXPORTING iv_patch = lv_patch iv_create_df = on EXCEPTIONS cannot_determine_eps_parcel = 1 cannot_determine_data_files = 2 file_open_error = 3 cannot_disassemble_r_data_file = 4 cannot_disassemble_d_data_file = 5 cannot_disassemble_allow_file = 6 unknown_block = 7 cannot_create_cofile = 8 patch_file_error = 9 cannot_build_allow_file_name = 10 unknown_seq_type = 11 patch_file_read_error = 12 OTHERS = 99.
OCS_GET_ARCHIVE_FROM_FRONTEND CALL FUNCTION 'OCS_GET_ARCHIVE_FROM_FRONTEND' TABLES et_filelist = lt_filelist EXCEPTIONS transfer_cancelled = 1 list_failed = 2 archive_delete_failed = 3 selection_cancelled = 4 OTHERS = 99.
SPAM_UPLOAD CALL FUNCTION 'SPAM_UPLOAD' TABLES patch_list = lt_upload EXCEPTIONS nothing_to_upload = 1 OTHERS = 99.
SPAM_CALCULATE_PREDECESSOR CALL FUNCTION 'SPAM_CALCULATE_PREDECESSOR' EXPORTING iv_patch = ls_pat03-patch IMPORTING ev_predecessor = lv_ancestor EXCEPTIONS wrong_patch_number = 1 number_underflow = 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.