RN2LN205N is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Server Utility...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 RN2LN205N into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
N2UX - Application Server Utility
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: Application Server Directory Files Utility
Text Symbol: F06 = Time
Text Symbol: F07 = Time
Text Symbol: F08 = Bytes
Text Symbol: F09 = File Size
Text Symbol: M01 = *** Directory is not entirely displayed! ***
Text Symbol: M02 = File:
Text Symbol: M06 = Transfer
Text Symbol: M08 = successfully created
Text Symbol: M10 = Cannot create empty files
Text Symbol: M11 = Not changed
Text Symbol: Q01 = Yes, delete
Text Symbol: Q02 = No
Text Symbol: Q03 = Should the file really be deleted?
Text Symbol: Q04 = Delete all selected files?
Text Symbol: Q05 = Files are marked for deletion!
Text Symbol: Q10 = Select files for transfer
Text Symbol: S01 = No page or node selected
Text Symbol: S03 = was successfully saved
Text Symbol: S04 = no file selected
Text Symbol: T02 = Hex
Text Symbol: T03 = New File
Text Symbol: T07 = Change File
Text Symbol: U01 = You are already logged on.
Text Symbol: U02 = Log off first.
Text Symbol: U03 = Logon to FTP server successful
Text Symbol: U04 = Logoff from FTP server successful
Text Symbol: U05 = No connection to FTP
Text Symbol: U06 = Log on first.
Text Symbol: V01 = Directory
Text Symbol: V02 = FTP:
Text Symbol: F05 = Date
Text Symbol: 100 = Error While Creating the Container
Text Symbol: 101 = Error While Creating the Tree
Text Symbol: 300 = Directory/Files
Text Symbol: 400 = Current View
Text Symbol: 801 = Error in: Automation Queue
Text Symbol: 802 = Internal Error
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Fehler in: Automation Queue'(801) txt1 = 'Interner Fehler'(802) txt2 = 'Eine Methode der Automation Queue'(803) txt3 = 'verursachte einen Fehler.'(804).
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = l_titlebar * DIAGNOSE_OBJECT = ' ' text_question = 'Sollen alle markierten Dateien gelöscht werden?'(q04) text_button_1 = 'Ja, löschen'(q01) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(q02) icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = p_answer.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = g_current_file * DIAGNOSE_OBJECT = ' ' text_question = 'Soll die Datei wirklich gelöscht werden?'(q03) text_button_1 = 'Ja, löschen'(q01) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(q02) icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = p_answer.
ISH_N2_READ_FILE_APP_SERVER CALL FUNCTION 'ISH_N2_READ_FILE_APP_SERVER' EXPORTING ss_file = p_file_name IMPORTING ss_file_size = l_file_size TABLES ss_bin_file = l_rn2pcraw255 EXCEPTIONS error = 1 OTHERS = 2.
ISH_N2_GUI_DOWNLOAD CALL FUNCTION 'ISH_N2_GUI_DOWNLOAD' EXPORTING ss_filename = l_filename ss_filesize = l_file_size ss_popup = space IMPORTING ss_new_filename = l_filename TABLES ss_data_tab = l_rn2pcraw255 EXCEPTIONS cancel = 1 OTHERS = 2.
CALL FUNCTION 'ISH_N2_GUI_UPLOAD' EXPORTING ss_filename = l_filename IMPORTING ss_filelength = l_file_size ss_new_filename = l_filename TABLES ss_data_tab = l_file_table EXCEPTIONS cancel = 1 OTHERS = 2.
ISH_N2_WRITE_FILE_APP_SERVER CALL FUNCTION 'ISH_N2_WRITE_FILE_APP_SERVER' EXPORTING ss_file = l_file_full ss_filesize = l_file_size TABLES ss_bin_file = l_file_table EXCEPTIONS error = 1 OTHERS = 2.
GUI_IS_ITS CALL FUNCTION 'GUI_IS_ITS' IMPORTING return = l_auth.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = c_logical_filename * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * USE_PRESENTATION_SERVER = ' ' * WITH_FILE_EXTENSION = ' ' use_buffer = abap_true eleminate_blanks = abap_false including_dir = abap_true IMPORTING emergency_flag = l_emergency_flag * FILE_FORMAT = FILE_FORMAT file_name = l_file_name EXCEPTIONS file_not_found = 1.
HTTP_SCRAMBLE CALL FUNCTION 'HTTP_SCRAMBLE' EXPORTING source = g_ftp_password sourcelen = l_slen key = c_key IMPORTING destination = g_ftp_password.
FTP_CONNECT CALL FUNCTION 'FTP_CONNECT' EXPORTING user = g_ftp_user password = g_ftp_password * ACCOUNT = host = g_ftp_host rfc_destination = 'SAPFTPA' * GATEWAY_USER = * GATEWAY_PASSWORD = * GATEWAY_HOST = IMPORTING handle = g_ftp_handle EXCEPTIONS not_connected = 1 OTHERS = 2.
FTP_DISCONNECT CALL FUNCTION 'FTP_DISCONNECT' EXPORTING handle = g_ftp_handle.
FTP_COMMAND CALL FUNCTION 'FTP_COMMAND' EXPORTING handle = g_ftp_handle command = g_command * COMPRESS = * RFC_DESTINATION = * VERIFY = * IMPORTING * FILESIZE = * FILEDATE = * FILETIME = TABLES data = lt_result EXCEPTIONS tcpip_error = 1 command_error = 2 data_error = 3 OTHERS = 4.
FTP_COMMAND CALL FUNCTION 'FTP_COMMAND' EXPORTING handle = g_ftp_handle command = c_dir * COMPRESS = * RFC_DESTINATION = * VERIFY = * IMPORTING * FILESIZE = * FILEDATE = * FILETIME = TABLES data = lt_result EXCEPTIONS tcpip_error = 1 command_error = 2 data_error = 3 OTHERS = 4.
FTP_SERVER_TO_R3 CALL FUNCTION 'FTP_SERVER_TO_R3' EXPORTING handle = g_ftp_handle fname = g_edit_filename * CHARACTER_MODE = IMPORTING blob_length = l_blob_length TABLES blob = lt_blob * TEXT = EXCEPTIONS tcpip_error = 1 command_error = 2 data_error = 3 OTHERS = 4.
ISH_N2_WRITE_FILE_APP_SERVER CALL FUNCTION 'ISH_N2_WRITE_FILE_APP_SERVER' EXPORTING ss_filename = g_current_file ss_filesize = l_blob_length TABLES ss_bin_file = lt_blob EXCEPTIONS error = 1 OTHERS = 2.
ISH_N2_READ_FILE_APP_SERVER CALL FUNCTION 'ISH_N2_READ_FILE_APP_SERVER' EXPORTING ss_file = gw_t_file_list-full_name IMPORTING ss_file_size = l_file_size TABLES ss_bin_file = l_rn2pcraw255 EXCEPTIONS error = 1 OTHERS = 2.
FTP_R3_TO_SERVER CALL FUNCTION 'FTP_R3_TO_SERVER' EXPORTING handle = g_ftp_handle fname = gw_t_file_list-name blob_length = l_file_size TABLES blob = l_rn2pcraw255 EXCEPTIONS tcpip_error = 1 command_error = 2 data_error = 3 OTHERS = 4.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = c_logical_filename * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * USE_PRESENTATION_SERVER = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' eleminate_blanks = abap_false including_dir = abap_true IMPORTING emergency_flag = l_emergency_flag * FILE_FORMAT = FILE_FORMAT file_name = l_file_name EXCEPTIONS file_not_found = 1.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = c_logical_filename * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = VALIDATION_ACTIVE * TS_ALIAS = TS_ALIAS CHANGING physical_filename = p_filename EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2.
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 RN2LN205N or its description.
RN2LN205N - Application Server Directory Files Utility RN2LN205N - Application Server Directory Files Utility RN2LN204N - Management of Document Templates and PC Programs RN2LN204N - Management of Document Templates and PC Programs RN2LN204 - Management of Document Templates and PC Programs RN2LN204 - Management of Document Templates and PC Programs