SAP Reports / Programs | Specification 2000 | Aerospace & Defence Industry Solution | Specification 2000(IS-AD-SPC) SAP IS

SPEC2000_PC_TO_R3 SAP ABAP Report - Copy SPEC Message Files from local PC to ERP Server







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


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 SPEC2000_PC_TO_R3. "Basic submit
SUBMIT SPEC2000_PC_TO_R3 AND RETURN. "Return to original report after report execution complete
SUBMIT SPEC2000_PC_TO_R3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT SPEC2000_PC_TO_R3

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:

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.



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