SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN2LN204 SAP ABAP Report - Management of Document Templates and PC Programs







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


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


Text pool values


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


INCLUDES used within this REPORT RN2LN204

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:

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.



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