RN2LN204 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Administration of PC templates for a document category...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 RN2LN204 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.
Management of Document Templates and PC Programs
Title: Management of Document Templates and PC Programs
Text Symbol: 010 = Delete?
Text Symbol: 011 = Confirmation Prompt: Delete Entry
Text Symbol: 013 = This table is empty. Load a file first.
Text Symbol: 015 = @01\Q@ Error INSERT
Text Symbol: I01 = re-created
Text Symbol: I02 = re-initialized
Text Symbol: M01 = File Name:
Text Symbol: M02 = File Size :
Text Symbol: M03 = Creation Date:
Text Symbol: M04 = Creation Time:
Text Symbol: M05 = User:
Text Symbol: M06 = Next Entry:
Text Symbol: T03 = Enter comments for file to be transferred
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ISH_N2_AUTHORITY *CALL FUNCTION 'ISH_N2_AUTHORITY'.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC FB_OLDED EXPORTING defaultoption = 'Y' textline1 = filename textline2 = text-010 titel = text-011 start_column = 25 start_row = 6 IMPORTING answer = answer.
ISH_N2_GUI_UPLOAD CALL FUNCTION 'ISH_N2_GUI_UPLOAD' EXPORTING ss_filename = file_name_i ss_filetype = 'BIN' IMPORTING ss_filelength = file_size_i ss_new_filename = file_name_i TABLES ss_data_tab = pcfile_i EXCEPTIONS cancel = 1 OTHERS = 2.
UPLOAD * CALL FUNCTION 'UPLOAD' * EXPORTING ** CODEPAGE = ' ' * FILENAME = file_name_i * FILETYPE = 'BIN' ** ITEM = ' ' ** FILEMASK_MASK = ' ' ** FILEMASK_TEXT = ' ' * FILETYPE_NO_CHANGE = 'x' ** FILEMASK_ALL = ' ' * FILETYPE_NO_SHOW = 'x' ** LINE_EXIT = ' ' ** USER_FORM = ' ' ** USER_PROG = ' ' * SILENT = 'S' * IMPORTING * FILESIZE = file_size_i * CANCEL = cancel * ACT_FILENAME = file_name_i *" ACT_FILETYPE = * TABLES * DATA_TAB = pcfile_i * EXCEPTIONS * CONVERSION_ERROR = 1 * INVALID_TABLE_WIDTH = 2 * INVALID_TYPE = 3 * NO_BATCH = 4 * UNKNOWN_ERROR = 5 * OTHERS = 6.
POPUP_GET_VALUES_DB_CHECKED CALL FUNCTION 'POPUP_GET_VALUES_DB_CHECKED' EXPORTING check_existence = ' ' popup_title = text-t03 start_column = '7' start_row = '1' TABLES fields = l_fields.
ISH_N2_GUI_DOWNLOAD CALL FUNCTION 'ISH_N2_GUI_DOWNLOAD' EXPORTING ss_filename = n2dir-n2_name ss_filesize = n2dir-n2_bytes * SS_POPUP = ' ' ss_filetype = 'BIN' * SS_NOFILECHECK = ' ' IMPORTING ss_new_filename = n2dir-n2_name TABLES ss_data_tab = pcfile_i EXCEPTIONS cancel = 1 OTHERS = 2.
DOWNLOAD * CALL FUNCTION 'DOWNLOAD' * EXPORTING * BIN_FILESIZE = N2DIR-N2_BYTES ** CODEPAGE = ' ' * FILENAME = n2dir-n2_name * FILETYPE = 'BIN' ** ITEM = ' ' * MODE = space ** WK1_N_FORMAT = ' ' ** WK1_N_SIZE = ' ' ** WK1_T_FORMAT = ' ' ** WK1_T_SIZE = ' ' ** FILEMASK_MASK = ' ' ** FILEMASK_TEXT = ' ' * FILETYPE_NO_CHANGE = 'X' ** FILEMASK_ALL = ' ' * FILETYPE_NO_SHOW = 'X' ** SILENT = 'S' ** COL_SELECT = ' ' ** COL_SELECTMASK = ' ' ** NO_AUTH_CHECK = ' ' * IMPORTING * ACT_FILENAME = n2dir-n2_name ** ACT_FILETYPE = * FILESIZE = N2DIR-N2_BYTES ** CANCEL = * TABLES * DATA_TAB = PCFILE_i ** FIELDNAMES = * EXCEPTIONS * INVALID_FILESIZE = 1 * INVALID_TABLE_WIDTH = 2 * INVALID_TYPE = 3 * NO_BATCH = 4 * UNKNOWN_ERROR = 5 * GUI_REFUSE_FILETRANSFER = 6 * OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN2LN204 - Management of Document Templates and PC Programs RN2LN204 - Management of Document Templates and PC Programs RN2LLPAT - Evaluation for Services, Patients and Employees RN2LLPAT - Evaluation for Services, Patients and Employees RN2LIST_TN2DTFORMATSCR - Document Category Formats RN2LIST_TN2DTFORMATSCR - Document Category Formats