SPEC2000_PC_TO_R3 is a standard Executable ABAP Report 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 SPEC2000_PC_TO_R3 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: Copy SPEC Message Files from local PC to ERP Server
Text Symbol: 001 = An exception condition occured in function module
Text Symbol: 004 = Check the file!
Text Symbol: 005 = SPEC 2000 flatfile was not processed successfully!
Text Symbol: 006 = ATTENTION: Please doubleclick on the
Text Symbol: 007 = document number to see the corresponding SPEC2K IDoc!
Text Symbol: 008 = The SPEC 2000 inbound file is empty.
Text Symbol: 009 = The file could not be opened for read.
Text Symbol: 010 = The file does not contain a valid SPEC 2000 Message.
Text Symbol: 011 = The SPEC2K IDoc was not saved.
Text Symbol: 012 = The SPEC Message is incomplete.
Text Symbol: 013 = No valid Command Code could be found.
Text Symbol: 014 = No Command Code available.
Text Symbol: 015 = Unknown error.
Text Symbol: 016 = File could not be opened for input.
Text Symbol: 017 = Document number:
Text Symbol: 018 = Message
Text Symbol: 019 = SPEC2000 loc. Pfad
Text Symbol: 101 = SPEC 2000 Information Text
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' EXPORTING logical_path = l_logfilepath operating_system = sy-opsys file_name = filename IMPORTING file_name_with_path = filepath_r3 EXCEPTIONS path_not_found = 1 missing_parameter = 2 operating_system_not_found = 3 file_system_not_found = 4 others = 5.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = text-101 txt1 = text-001 txt2 = l_txt2 txt3 = l_txt3 txt4 = text-004.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING * DEF_FILENAME = ' ' * DEF_PATH = ' ' mask = string_mask mode = 'O' title = 'SPEC2000 local Path' IMPORTING filename = locpath * RC = EXCEPTIONS inv_winsys = 1 no_batch = 2 selection_cancel = 3 selection_error = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SPEC2000_PC_TO_R3 - Copy SPEC Message Files from local PC to ERP Server SPEC2000_PC_TO_R3 - Copy SPEC Message Files from local PC to ERP Server SPEC2000M_PC_TO_R3 - Copy SPEC Message Files from local PC to ERP Server SPEC2000M_PC_TO_R3 - Copy SPEC Message Files from local PC to ERP Server SPC_MV45AOUTPUT - Include SPC_MV45AOUTPUT SPC_MV45AINPUT - Include SPC_MV45AINPUT