SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAPscript(BC-SRV-SCR) SAP BC

RSTXR3TR SAP ABAP Report - Transport Program For SAPscript Transport Objects







RSTXR3TR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RSTXR3TR allows SAPscript objects (texts, styles, forms) and device types to be transported between R/3 and a local or central file...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 RSTXR3TR 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 RSTXR3TR. "Basic submit
SUBMIT RSTXR3TR AND RETURN. "Return to original report after report execution complete
SUBMIT RSTXR3TR 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: TRKORR = Transport Request
Selection Text: SERVFIL = File System: Server
Selection Text: PLANGVEC = Language vector
Selection Text: MODE = Mode (EXPORT/IMPORT)
Selection Text: MASTLANG = Only export original language
Selection Text: LOCALFIL = File System: GUI
Selection Text: LISTFILE = Display File Contents
Selection Text: DATASET = File Name
Selection Text: BINFILE = Binary file format
Title: Transport Program For SAPscript Transport Objects
Text Symbol: 207 = Not all fonts for this URDT are available in the system
Text Symbol: 206 = There is no URDT &1 in the system
Text Symbol: 205 = Target character set for import changed:
Text Symbol: 204 = Error: Decompressed table is empty
Text Symbol: 203 = Error: Too few compressed blocks, file incomplete
Text Symbol: 202 = Error: Invalid block ID, incorrect file format
Text Symbol: 201 = Error in TABLE DECOMPRESS
Text Symbol: 200 = Error in TABLE COMPRESS
Text Symbol: 080 = No authorization for IMPORT
Text Symbol: 062 = Dataset contains an unknown code page
Text Symbol: 061 = Dataset does not contain a correct binary format
Text Symbol: 060 = Binary dataset contains data in code page
Text Symbol: 057 = Spooler informed of change
Text Symbol: 052 = Message & number & language & is not maintained!
Text Symbol: 051 = ERROR - only use EXPORT or IMPORT as mode parameters
Text Symbol: 033 = Timestamp in system (&1) newe than in file (&2)
Text Symbol: 032 = Continue anyway?
Text Symbol: 031 = Version in system (&1) newer than in file (&2)
Text Symbol: 030 = Warning against overwriting device type &1
Text Symbol: 023 = Control of language versions
Text Symbol: 022 = Ctrl parameters for file operation
Text Symbol: 021 = Request selection and session ctrl
Text Symbol: 020 = ****************************** End SAPscript Transporter RSTXR3TR *********
Text Symbol: 019 = ****************************** Start SAPscript Transporter RSTXR3TR *******
Text Symbol: 018 = Unable to open file for reading:
Text Symbol: 017 = Unable to open file for writing:


INCLUDES used within this REPORT RSTXR3TR

INCLUDE RSTXDATA.


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:

TRINT_TP_CHECK_AUTHORITY call function 'TRINT_TP_CHECK_AUTHORITY' exporting iv_tp_command = 'IMPORT' exceptions permission_denied = 1 others = 2.

SELECT_TEXT call function 'SELECT_TEXT' exporting * CLIENT = SY-MANDT database_only = 'X' id = textlow-tdid language = textlow-tdspras name = textlow-tdname object = textlow-tdobject * TEXTMEMORY_ONLY = ' ' * ARCHIVE_HANDLE = 0 importing entries = fill tables selections = header_tab exceptions wrong_access_to_archive = 1 others = 2.

SAPSCRIPT_DELETE_LOAD call function 'SAPSCRIPT_DELETE_LOAD' exporting all = 'X' client = allclients delete = 'X' write = ' '.

RSPO_CF_IS_CASCADING_DEVTYPE CALL FUNCTION 'RSPO_CF_IS_CASCADING_DEVTYPE' EXPORTING DEVTYPE = printer EXCEPTIONS DEVICETYPE_NOT_FOUND = 1 DEVICETYPE_NOT_CASCADING = 2 OTHERS = 3.

I18N_CF_INIT_DEVICETYPE CALL FUNCTION 'I18N_CF_INIT_DEVICETYPE' EXPORTING IM_DEVNAME = printer IM_PDLTYPE = 'SAPWIN' IMPORTING EX_RC = erc.

RSPO_PTYPE_FLUSH call function 'RSPO_PTYPE_FLUSH' exporting ptype = printer exceptions call_error = 1 operation_failed = 2 others = 3.

SAVE_TEXT call function 'SAVE_TEXT' exporting header = header savemode_direct = 'X' tables lines = lines exceptions id = 1 language = 2 name = 3 object = 4 others = 5.

SAPSCRIPT_MESSAGE_GET_NO call function 'SAPSCRIPT_MESSAGE_GET_NO' importing no = itcrs-msgno v1 = itcrs-msgv1 v2 = itcrs-msgv2 v3 = itcrs-msgv3 v4 = itcrs-msgv4.

DELETE_FORM call function 'DELETE_FORM' exporting form = formname language = '*' importing found = found.

DELETE_STYLE call function 'DELETE_STYLE' exporting style = stylename language = '*' importing found = found.

SYSTEM_INSTALLED_LANGUAGES call function 'SYSTEM_INSTALLED_LANGUAGES' importing languages = langvec. "#EC *

SYSTEM_CODEPAGE call function 'SYSTEM_CODEPAGE' importing codepage = appl_syscp current_dynamic_codepage = system_codepage.

READ_TEXT call function 'READ_TEXT' exporting object = object id = id name = name language = language importing header = header tables lines = lines exceptions id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 others = 7.

SAPSCRIPT_MESSAGE_GET_NO call function 'SAPSCRIPT_MESSAGE_GET_NO' importing no = itcrs-msgno v1 = itcrs-msgv1 v2 = itcrs-msgv2 v3 = itcrs-msgv3 v4 = itcrs-msgv4.

SAPSCRIPT_CHANGE_OLANGUAGE call function 'SAPSCRIPT_CHANGE_OLANGUAGE' exporting forced = true object = tdobject name = tdname olanguage = tdolang exceptions others = 1.

ACTIVATE_STYLE call function 'ACTIVATE_STYLE' exporting style = style status = status_sap importing result = itcrs.

ACTIVATE_FORM call function 'ACTIVATE_FORM' exporting form = form status = status_sap importing result = itcrs.

TR_READ_COMM call function 'TR_READ_COMM' exporting wi_trkorr = trkorr * WI_DIALOG = 'X' * WI_LANGU = SY-LANGU * WI_SEL_E070 = ' ' wi_sel_e071 = 'X' * WI_SEL_E071K = ' ' * IV_SEL_E071KF = ' ' * WI_SEL_E07T = ' ' * WI_SEL_E070C = ' ' * IV_SEL_E070M = ' ' * IMPORTING * WE_E070 = * WE_E07T = * WE_E070C = * ES_E070M = * WE_E07T_DOESNT_EXIST = * WE_E070C_DOESNT_EXIST = * EV_E070M_DOESNT_EXIST = tables wt_e071 = e071_tab * WT_E071K = * ET_E071KF = exceptions not_exist_e070 = 1 no_authorization = 2.

GUI_DOWNLOAD





call function 'GUI_DOWNLOAD' exporting bin_filesize = bin_filesize filename = fullpath filetype = mode * APPEND = ' ' codepage = '4110' * NO_BYTEORDER_MARK = ' ' importing filelength = bin_filesize tables data_tab = datatab * FORMAT_TAB = exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6.

GUI_UPLOAD call function 'GUI_UPLOAD' exporting filename = name filetype = filetype codepage = '4110' importing filelength = bin_filesize tables data_tab = datatab exceptions file_open_error = 2 file_read_error = 3 invalid_type = 4 no_batch = 5 others = 6.

TABLE_COMPRESS call function 'TABLE_COMPRESS' * IMPORTING * COMPRESSED_SIZE = tables in = fc_full_tab out = fc_comp_tab exceptions compress_error = 1 others = 2.

TABLE_DECOMPRESS call function 'TABLE_DECOMPRESS' tables in = fc_comp_tab out = fc_full_tab exceptions compress_error = 1 table_not_compressed = 2 others = 3.

NLS_GET_FRONTEND_CP call function 'NLS_GET_FRONTEND_CP' exporting langu = record_nostruct+89(1) importing frontend_codepage = cop exceptions others = 4.

SCP_CODEPAGES_MIXED call function 'SCP_CODEPAGES_MIXED' importing ismixed = l_mnls_active.

SCP_GET_CODEPAGE_NUMBER call function 'SCP_GET_CODEPAGE_NUMBER' importing appl_codepage = l_codepage.

CONVERSION_EXIT_ISOLA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_INPUT' EXPORTING INPUT = p_line-lang IMPORTING OUTPUT = p_tsp06pot-lang EXCEPTIONS UNKNOWN_LANGUAGE = 1 OTHERS = 2.

RSPO_PTYPE_FLUSH CALL FUNCTION 'RSPO_PTYPE_FLUSH' EXPORTING ptype = devtype EXCEPTIONS call_error = 1 operation_failed = 2 others = 3.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = bin_filesize filename = name filetype = 'ASC' codepage = '4110' TABLES data_tab = datatab EXCEPTIONS others = 31.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = name filetype = ftype codepage = '4110' IMPORTING filelength = bin_filesize TABLES data_tab = datatab EXCEPTIONS others = 32.



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