SAPMSIGP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Download You can use this function to download your Customizing project data to a PC to process the data in a project management program...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SAPMSIGP 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.
Selection Text: FLG_UD = Download (D), Upload (U)
Selection Text: PC_PNAME = PC file name
Selection Text: PRJNO = Project number
Title: PC Interface for Project Structure Data (MPX Format)
Text Symbol: 020 = File Already Exists
Text Symbol: 021 = Overwrite?
Text Symbol: 022 = Overwrite a file
INCLUDE LPROJECT_ADMINISTRATIONCON.
No SAP DATABASE tables are accessed within this REPORT code!
SPROJECT_CHECK_AUTHORITY CALL FUNCTION 'SPROJECT_CHECK_AUTHORITY' EXPORTING project_id = prjno * PROJECT_CLASS = action = maintain_project IMPORTING message = message * CONFIDENTIAL = .
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING query = 'WS' IMPORTING return = winsys.
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING query = 'CD' IMPORTING return = curdir EXCEPTIONS inv_query = 1 no_batch = 2.
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING query = 'FE' filename = pc_fname IMPORTING return = flag EXCEPTIONS inv_query = 1 no_batch = 2.
SPROJECT_EXPORT_DATA CALL FUNCTION 'SPROJECT_EXPORT_DATA' EXPORTING project_id = prjno view_id = simgscr-p_vin_0100 TABLES project_tab = inttab resources = intress * KEYWORDS = EXCEPTIONS no_project_id = 1 project_not_found = 2 OTHERS = 3.
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING " ENVIRONMENT = ' ' filename = pc_fname query = 'FE' IMPORTING return = answer " WINID = ' ' EXCEPTIONS inv_query = 01 no_batch = 02.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING " DEFAULTOPTION = 'Y' textline1 = 'Datei existiert bereits.'(020)
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = pc_fname_str * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = mpx EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.
REGISTRY_GET * CALL FUNCTION 'REGISTRY_GET' "FB only for Windows / Windows NT * EXPORTING * KEY = '\protocol\StdFileEditing\Server' * SECTION = '.mpx'
WS_EXECUTE * CALL FUNCTION 'WS_EXECUTE' * EXPORTING * COMMANDLINE = PC_FNAME * PROGRAM = PROG_PATH * EXCEPTIONS * FRONTEND_ERROR = 1 * NO_BATCH = 2 * PROG_NOT_FOUND = 3.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = pc_fname_str * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = pc_file EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.
SPROJECT_IMPORT_DATA CALL FUNCTION 'SPROJECT_IMPORT_DATA' EXPORTING project_id = prjno * VIEW = TABLES project_tab = intupld * RESOURCES = * KEYWORDS = EXCEPTIONS no_project_id = 1 project_not_found = 2 project_is_locked = 3 no_authority = 4 OTHERS = 5.
TOCX_READ_DISPLAY_VERSION CALL FUNCTION 'TOCX_READ_DISPLAY_VERSION' EXPORTING outline = 'CUS_VGM' spras = sy-langu viewname = 'STANDARD' TABLES hierarchy = gli_hier EXCEPTIONS missing_parameters = 01 not_found = 02.
SPROJECT_PROJECTVIEW_F4 CALL FUNCTION 'SPROJECT_PROJECTVIEW_F4' EXPORTING project_id = prjno * LANGUAGE = SY-LANGU * SCREEN_TITLE = * PROJECT_CLASS = * PROJECT_RANGE = multiple_select = ' ' TABLES object_id_and_text = object_id_and_text EXCEPTIONS selection_cancelled = 1 no_data_found = 2 OTHERS = 3.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = repid dynumb = dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.
WS_ULDL_PATH CALL FUNCTION 'WS_ULDL_PATH' IMPORTING download_path = dpath upload_path = upath.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = '*.MPX'
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPMSIGP - PC Interface for Project Structure Data (MPX Format) SAPMSIGP - PC Interface for Project Structure Data (MPX Format) SAPMSIC8 - documentation and ABAP source code SAPMSI01 - documentation and ABAP source code SAPMSHM_MONITOR - Program SAPMSHM_MONITOR SAPMSHM_MONITOR - Program SAPMSHM_MONITOR