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

RSTXCPRI SAP ABAP Report - Copy device type







RSTXCPRI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Copying a device type to a new device type Using references The formatting actions and SAPscript font metrics contained in the source device type are not copied...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 RSTXCPRI 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 RSTXCPRI. "Basic submit
SUBMIT RSTXCPRI AND RETURN. "Return to original report after report execution complete
SUBMIT RSTXCPRI 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: USE_INCL = Use references
Selection Text: TOPRIN = to device type
Selection Text: FROMPRIN = Copy device type
Selection Text: ADJ_INCL = Adapt INCLUDEs to source
Title: Copy device type
Text Symbol: 039 = Text for Print Options
Text Symbol: 038 = Cascading Fonts Settings
Text Symbol: 037 = This device type must be copied without references
Text Symbol: 036 = DataType
Text Symbol: 035 = Number
Text Symbol: 034 = Error
Text Symbol: 031 = Format types - Overview
Text Symbol: 030 = Unlock of target device type failed
Text Symbol: 029 = Unlock of source device type failed
Text Symbol: 028 = Target device type is currently being processed
Text Symbol: 027 = Source device type is currently being processed
Text Symbol: 026 = Assignment to XDC Name
Text Symbol: 025 = Warning: Observe SAP name range
Text Symbol: 024 = for customers. Continue?
Text Symbol: 023 = Device types Y,Z are reserved
Text Symbol: 022 = Warning: Observe customer name range
Text Symbol: 021 = for SAP. Continue?
Text Symbol: 020 = Device types A..X are reserved
Text Symbol: 019 = at the beginning or in the middle
Text Symbol: 018 = Names of device types cannot contain blanks
Text Symbol: 017 = (Format Types - Details)
Text Symbol: 016 = Bar Codes
Text Symbol: 015 = Font Metrics
Text Symbol: 014 = Printer Fonts
Text Symbol: 013 = Print Controls
Text Symbol: 012 = Device Type
Text Symbol: 011 = Number of data records copied:
Text Symbol: 010 = cancelled
Text Symbol: 009 = to
Text Symbol: 008 = Copy device type
Text Symbol: 007 = Spooler/SAPscript: Copy Device Type
Text Symbol: 006 = type?
Text Symbol: 005 = Generate device





Text Symbol: 004 = already exists
Text Symbol: 003 = Device type
Text Symbol: 002 = not available
Text Symbol: 001 = Device type


INCLUDES used within this REPORT RSTXCPRI

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:

SYSTEM_STATUS CALL FUNCTION 'SYSTEM_STATUS' IMPORTING STATUS = STATUS.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC FB_OLDED EXPORTING TEXTLINE1 = 'Gerätetypen A..X sind für SAP'(020)

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC FB_OLDED EXPORTING TEXTLINE1 = 'Gerätetypen Y,Z sind für Kunden'(023) TEXTLINE2 = 'reserviert. Weitermachen?'(024)

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

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' "#EC FB_OLDED EXPORTING TEXT_BEFORE = 'Soll Gerätetyp'(005) TEXT_AFTER = ' erzeugt werden?'(006) TITEL = 'Spooler/SAPscript: Kopieren Gerätetyp'(007) DEFAULTOPTION = 'N' OBJECTVALUE = TOPRIN IMPORTING ANSWER = POPUP_ANSWER EXCEPTIONS TEXT_TOO_LONG = 1 OTHERS = 2.

I18N_CF_COPY_DEVTYPE CALL FUNCTION 'I18N_CF_COPY_DEVTYPE' EXPORTING IM_DEVTYPE_SOURCE = fromprin IM_DEVTYPE_TARGET = toprin IMPORTING EX_RC = rc.

ADS_INSERT_XDCMAPPING CALL FUNCTION 'ADS_INSERT_XDCMAPPING' EXPORTING XDCMAPPING = wa_tsp0b TRANSPORT_TASK = tr_task EXCEPTIONS ENTRY_ALREADY_DEFINED = 1 INSERT_FAILED = 2 NO_INSERT_OF_BASISTYP = 3 INVALID_DRIVER = 4 OTHERS = 5.

RSPO_PTYPE_FLUSH CALL FUNCTION 'RSPO_PTYPE_FLUSH' EXPORTING PTYPE = TOPRIN EXCEPTIONS CALL_ERROR = 1 OPERATION_FAILED = 2 OTHERS = 3.

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' EXPORTING IV_NO_SHOW_OPTION = 'X' IMPORTING WE_ORDER = tr_order WE_TASK = tr_task * WE_OBJECTS_APPENDABLE = TABLES WT_KO200 = tr_objects WT_E071K = tr_object_keys EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 3.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' EXPORTING WI_ORDER = tr_order IMPORTING WE_ORDER = tr_order WE_TASK = tr_task TABLES WT_KO200 = tr_objects WT_E071K = tr_object_keys EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 3.

TR_APPEND_TO_COMM CALL FUNCTION 'TR_APPEND_TO_COMM' EXPORTING PI_KORRNUM = tr_task WI_E071 = wa_e071 * WI_SIMULATION = ' ' * WI_SUPPRESS_KEY_CHECK = ' ' TABLES WT_E071K = tr_object_keys EXCEPTIONS NO_AUTHORIZATION = 1 NO_SYSTEMNAME = 2 NO_SYSTEMTYPE = 3 TR_CHECK_KEYSYNTAX_ERROR = 4 TR_CHECK_OBJ_ERROR = 5 TR_ENQUEUE_FAILED = 6 TR_ILL_KORRNUM = 7 TR_KEY_WITHOUT_HEADER = 8 TR_LOCKMOD_FAILED = 9 TR_LOCK_ENQUEUE_FAILED = 10 TR_MODIF_ONLY_IN_MODIF_ORDER = 11 TR_NOT_OWNER = 12 TR_NO_APPEND_OF_CORR_ENTRY = 13 TR_NO_APPEND_OF_C_MEMBER = 14 TR_NO_SHARED_REPAIRS = 15 TR_ORDER_NOT_EXIST = 16 TR_ORDER_RELEASED = 17 TR_ORDER_UPDATE_ERROR = 18 TR_REPAIR_ONLY_IN_REPAIR_ORDER = 19 TR_WRONG_ORDER_TYPE = 20 WRONG_CLIENT = 21 OTHERS = 22.

TR_APPEND_TO_COMM CALL FUNCTION 'TR_APPEND_TO_COMM' EXPORTING PI_KORRNUM = tr_task WI_E071 = wa_e071 * WI_SIMULATION = ' ' * WI_SUPPRESS_KEY_CHECK = ' ' TABLES WT_E071K = tr_object_keys EXCEPTIONS NO_AUTHORIZATION = 1 NO_SYSTEMNAME = 2 NO_SYSTEMTYPE = 3 TR_CHECK_KEYSYNTAX_ERROR = 4 TR_CHECK_OBJ_ERROR = 5 TR_ENQUEUE_FAILED = 6 TR_ILL_KORRNUM = 7 TR_KEY_WITHOUT_HEADER = 8 TR_LOCKMOD_FAILED = 9 TR_LOCK_ENQUEUE_FAILED = 10 TR_MODIF_ONLY_IN_MODIF_ORDER = 11 TR_NOT_OWNER = 12 TR_NO_APPEND_OF_CORR_ENTRY = 13 TR_NO_APPEND_OF_C_MEMBER = 14 TR_NO_SHARED_REPAIRS = 15 TR_ORDER_NOT_EXIST = 16 TR_ORDER_RELEASED = 17 TR_ORDER_UPDATE_ERROR = 18 TR_REPAIR_ONLY_IN_REPAIR_ORDER = 19 TR_WRONG_ORDER_TYPE = 20 WRONG_CLIENT = 21 OTHERS = 22.



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