SAP Reports / Programs | Basis Components | Internationalization (I18N)(BC-I18) SAP BC

RSCP0013 SAP ABAP Report - Test Bytes on Frontend







RSCP0013 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for RSCP0013 processes the character set conversion between the frontend (SAPGUI) and application server...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 RSCP0013 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 RSCP0013. "Basic submit
SUBMIT RSCP0013 AND RETURN. "Return to original report after report execution complete
SUBMIT RSCP0013 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: W_LIST = with interactive list
Selection Text: W_DY_UPP = with screen uppercase only
Selection Text: W_DYNPRO = with screen
Selection Text: WITH_CR = Line end with CR+LF?
Selection Text: WANTTEST = Perform test?
Selection Text: WANTDOWN = Store file on frontend?
Selection Text: P_APPLCP = Char. set of appl. server
Selection Text: FRONTCP = Character set of SAPgui
Selection Text: FIX_ALSO = Output fields btw. input flds?
Selection Text: DYNPLIST = Screen (d,D) or list (l) ?
Selection Text: CNTLALSO = Control char. also ( < ' ') ?
Selection Text: BYTEPERL = Bytes per line
Title: Test Bytes on Frontend
Text Symbol: 130 = Server file "&1" has an unexpected format
Text Symbol: 131 = Row:
Text Symbol: 132 = Frontend file "&2" remains incomplete
Text Symbol: 133 = Delete it again
Text Symbol: 134 = RFC does not need a table for the same char. sets
Text Symbol: 135 = Could not open file on frontend:
Text Symbol: 136 = Could not write file on frontend:
Text Symbol: 137 = &1 bytes written in file &2 on frontend
Text Symbol: 138 = File "&1" cannot be read in the application server
Text Symbol: 139 = Could not send file to front end. Error:
Text Symbol: 141 = Display
Text Symbol: 142 = Default settings
Text Symbol: 143 = Input
Text Symbol: 144 = Transcription 1
Text Symbol: 145 = Transcription 2
Text Symbol: 200 = Not tested:
Text Symbol: 210 = Damaged:
Text Symbol: 220 = Original
Text Symbol: 222 = hexadecimal (high)
Text Symbol: 224 = hexadecimal (low)
Text Symbol: 226 = back
Text Symbol: 230 = Low-Level Byte Test
Text Symbol: 231 = ;; 232&233 together are a two line popup window.
Text Symbol: 232 = Despite Unicode
Text Symbol: 233 = try again?





Text Symbol: 234 = Try despite Unicode?
Text Symbol: 002 = Interactive test
Text Symbol: 003 = Create conversion table for RFC
Text Symbol: 005 = Either test or store - unfortunately.
Text Symbol: 010 = User Instructions
Text Symbol: 012 = Change the digit in every field in the
Text Symbol: 013 = first column
Text Symbol: 014 = and then choose
Text Symbol: 015 = [Check].
Text Symbol: 016 = When you have changed all the fields,
Text Symbol: 017 = choose [Final report].
Text Symbol: 020 = Test with a screen
Text Symbol: 021 = Test with a screen with capital letters
Text Symbol: 022 = Test with a report list
Text Symbol: 024 = Value range for bytes per line:
Text Symbol: 026 = Unknown character set
Text Symbol: 027 = ** unknown **
Text Symbol: 050 = Bytes after screen output and re-input
Text Symbol: 051 = Page
Text Symbol: 052 = Application servers
Text Symbol: 054 = SAPgui
Text Symbol: 056 = Test method
Text Symbol: 057 = System
Text Symbol: 058 = Date
Text Symbol: 060 = ABAP list processing
Text Symbol: 061 = Screen method
Text Symbol: 062 = Screen method with capital letters
Text Symbol: 070 = Test result after send and receive
Text Symbol: 072 = &1 errors and &2 warnings.
Text Symbol: 081 = Call not successful. Refer to source program RSCP0013
Text Symbol: 082 = Cont.
Text Symbol: 083 = Exit
Text Symbol: 101 = --write field
Text Symbol: 102 = Bytes
Text Symbol: 109 = ;; 110&111 together are a two line title, which is only 9 columns wide.
Text Symbol: 110 = -
Text Symbol: 111 = Changed
Text Symbol: 119 = ;; 120&121 together are a two line title, which is only 9 columns wide.
Text Symbol: 120 = -





Text Symbol: 121 = Damaged


INCLUDES used within this REPORT RSCP0013

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:

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Call ''CUR_LCL''' "#EC NOTEXT * DIAGNOSE_OBJECT = ' ' text_question = 'Call funktioniert nicht. Details siehe RSCP0013-Quellprogramm.'(081)

RFC_PUT_CODEPAGE * call function 'RFC_PUT_CODEPAGE' * exporting * frompage = applcp * " PATHNAME LIKE RFCPUT-PATH DEFAULT SPACE * topage = frontcp_n * " exceptions * " bad_table_shape = 1 * " codepage_not_found = 2 * " output_failed = 3 * " string_concatenate = 4 * .

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting BIN_FILESIZE = filesize filename = ws_filename FILETYPE = 'BIN' " 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' IMPORTING FILELENGTH = cnt_lines tables data_tab = cdp_crlf EXCEPTIONS FILE_WRITE_ERROR = 2 NO_BATCH = 23 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 1 DP_OUT_OF_MEMORY = 16 DISK_FULL = 2 DP_TIMEOUT = 18 FILE_NOT_FOUND = 1 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22 .

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting BIN_FILESIZE = filesize filename = ws_filename FILETYPE = 'BIN' " not 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' IMPORTING FILELENGTH = cnt_lines tables data_tab = cdp_lf EXCEPTIONS FILE_WRITE_ERROR = 2 NO_BATCH = 23 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 1 DP_OUT_OF_MEMORY = 16 DISK_FULL = 2 DP_TIMEOUT = 18 FILE_NOT_FOUND = 1 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = 'low-level Byte-Test'(230) TEXT_QUESTION = 'Trotz Unicode versuchen?'(234) DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = jorn .



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