PC2UTCN0 is a standard ABAP INCLUDE 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 PC2UTCN0 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: Include PC2UTCN0: subroutine of download/upload MSWORD form
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROGRESS_TEXT.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-012.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-008 EXCEPTIONS OTHERS = 1.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-011 EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-003.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING DEF_FILENAME = ' ' DEF_PATH = PATHFILE MASK = MASK MODE = 'O' TITLE = TEXT-001 IMPORTING FILENAME = RET_STR RC = DUMMY EXCEPTIONS INV_WINSYS = 1 NO_BATCH = 2 SELECTION_CANCEL = 3 SELECTION_ERROR = 4 OTHERS = 5.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-005 EXCEPTIONS OTHERS = 1.
WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = PATHFILE * FILETYPE = 'BIN' * IMPORTING * FILELENGTH = LENGTH * TABLES * DATA_TAB = DATA_CONTAINER * EXCEPTIONS * CONVERSION_ERROR = 1 * FILE_OPEN_ERROR = 2 * FILE_READ_ERROR = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * OTHERS = 8.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = L_PATHFILE FILETYPE = 'BIN' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' IMPORTING FILELENGTH = LENGTH * HEADER = TABLES DATA_TAB = DATA_CONTAINER EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17 .
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-006 EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-003.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-008 EXCEPTIONS OTHERS = 1.
POPUP_TO_DISPLAY_TEXT * CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' * EXPORTING * TITEL = TEXT-002 * TEXTLINE1 = TEXT-010 * EXCEPTIONS * OTHERS = 1.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-009 EXCEPTIONS OTHERS = 1.
HR_CN_CHOOSE_FORM CALL FUNCTION 'HR_CN_CHOOSE_FORM' EXPORTING FORM_AREA = FORM_AREA IMPORTING FORM_ID = FORM_ID FORM_DESC = FORM_DESC.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-008 EXCEPTIONS OTHERS = 1.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING TITEL = TEXT-002 TEXTLINE1 = TEXT-013 EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PC2UTCN0 - Include PC2UTCN0: subroutine of download/upload MSWORD form PC2TXCN9 - CN TAX RPT: Selection screen & data defination: old version PC2TXCN8_ALV - Display tables with structure PC23A , PC2TXCN8 - CN TAX RPT: main program PC2TXCN7_ALV - CN TAX RPT: subroutines: old version PC2TXCN7 - CN TAX RPT: subroutines: old version