SAP Reports / Programs

RSTXDPRI SAP ABAP Report - Delete Complete Device Type Definition







RSTXDPRI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use report RSTXDPRI to list or delete the components of a device type in R/3 (also referred to as printer type)...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 RSTXDPRI 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 RSTXDPRI. "Basic submit
SUBMIT RSTXDPRI AND RETURN. "Return to original report after report execution complete
SUBMIT RSTXDPRI 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: DEVTYPE = Device Type
Selection Text: DELETE = Delete or List Only
Title: Delete Complete Device Type Definition
Text Symbol: 026 = The Unicode reference device type is used by printer $
Text Symbol: 025 = The Unicode reference device type is used by device type $
Text Symbol: 024 = Mapping to XDC Files
Text Symbol: 023 = Number of Existing Entries:
Text Symbol: 022 = Texts for Print Options
Text Symbol: 021 = Setting for cascading fonts deleted
Text Symbol: 020 = The device type is the basis device type of
Text Symbol: 019 = The output device uses device type
Text Symbol: 018 = Overview of format types
Text Symbol: 017 = Source device type is currently being processed
Text Symbol: 016 = Release of device type unsuccessful
Text Symbol: 015 = Delete device type definition
Text Symbol: 014 = No entries available
Text Symbol: 013 = Entries deleted
Text Symbol: 012 = Device Type
Text Symbol: 011 = Entry was deleted
Text Symbol: 010 = Printer Bar Codes
Text Symbol: 009 = Printer Fontmetrics
Text Symbol: 008 = Printer Fonts
Text Symbol: 007 = Format types for device type
Text Symbol: 006 = PrintControls
Text Symbol: 005 = Device Types
Text Symbol: 004 = Device type was deleted completely!
Text Symbol: 003 = Device type was not deleted!
Text Symbol: 002 = ?
Text Symbol: 001 = Delete device type


INCLUDES used within this REPORT RSTXDPRI

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_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING OBJECTVALUE = PRINTER TEXT_BEFORE = 'Wollen Sie den Gerätetyp'(001) TEXT_AFTER = ' löschen?'(002) TITEL = 'Löschen Gerätetypdefinition'(015) IMPORTING ANSWER = ANSWER EXCEPTIONS TEXT_TOO_LONG = 01.

I18N_CF_DEL_DEVTYPE CALL FUNCTION 'I18N_CF_DEL_DEVTYPE' EXPORTING IM_DEVTYPE = printer IMPORTING EX_RC = rc.

ADS_DELETE_XDCMAPPING CALL FUNCTION 'ADS_DELETE_XDCMAPPING' EXPORTING DEVTYPE = printer TRANSPORT_TASK = tr_task EXCEPTIONS NO_DELETION_OF_BASISTYP = 1 ENTRY_NOT_DEFINED = 2 DELETION_FAILED = 3 OTHERS = 4.

RSPO_PTYPE_FLUSH CALL FUNCTION 'RSPO_PTYPE_FLUSH' EXPORTING PTYPE = PRINTER 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 = tr_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.



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