SAP ABAP Class CL_UPE_DEVTYPE (Model for UPE-enhanced device type)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-PRN (Application Component) Print and Output Management
     SPOO (Package) Spool
Properties
Class CL_UPE_DEVTYPE  
Short Description Model for UPE-enhanced device type    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class UPE    
Program status     
Category 0   
Package SPOO   Spool 
Created 20100505   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_UPE_FIT_LANGINFO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_UPE_DEVTYPE has no interface implemented.
Friends
Class CL_UPE_DEVTYPE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_TSP06_NAME_URDTNAME Constant Private Type reference (TYPE) RSPOPAPACT 'URDTNAME' Spool: Action to paper (header, start of line...) 20100505
2 C_TSP06_PAPER_UPEINFO Constant Private Type reference (TYPE) RSPOPAPART 'UPE_INFO' Spool: Format 20100505
3 C_TSPOPTIONS_SPOPTION Constant Private Type reference (TYPE) RSPOPARAM 'UPE_ALLOWED' Parameter name for spool settings 20110429
4 LEGACY_DEVTYPE Instance attribute Public Type reference (TYPE) RSPOPTYPE Spool: Device type name 20100505
5 LEGACY_DEVTYPE_DRIVER Instance attribute Public Type reference (TYPE) RSPODRIVER Spool: Driver name 20100519
6 LIST_FORMAT_TABLE Instance attribute Private Type reference (TYPE) T_FORMATTAB List of abap list formats 20100914
7 NO_UPE_FOR_ABAPLISTS Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Do not use UPE for ABAP list printing? 20120516
8 PCL5_USE_TYPE15_FONTDOWNLOAD Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Use "extended type-15" format for TrueType Font download 20120420
9 SAP_FORMATS_USE_LISTDRIVER Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE All SAP List Formats use list driver? 20120419
10 STATUS_CHANGED Instance attribute Public Type reference (TYPE) ABAP_BOOL Has status changed? 20100506
11 UPE_ENABLED Instance attribute Public Type reference (TYPE) ABAP_BOOL Is UPE-enabled? 20100505
12 UPE_POSSIBLE Instance attribute Public Type reference (TYPE) ABAP_BOOL Is UPE possible? 20100506
13 UPE_STATUS_TEXT Instance attribute Public Type reference (TYPE) STRING Info: is enabled, can be enabled, cannot, ... 20100506
14 URDT Instance attribute Public Type reference (TYPE) RSPOPTYPE Spool: Device type name 20100505
15 URDT_OBJREF Instance attribute Private Object reference (TYPE REF TO) CL_UPE_URDT Utilities for Unicode Reference Devtypes 20120809
16 USE_ONLY_TTFONTS Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Ignore resident fonts, print only via URDT TTfonts 20120326
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20100505
2 CREATE_FROM_DB Static method Public Method Create from saved DT data 20100505
3 DELETE_RUNTIME_OBJECTS Instance method Private Method Delete SAPscript load in STXL 20100511
4 GET_METRIC_FOR_CUSTOM_FONT Instance method Private Method Get fontmetric for SAPfont which is not in URDT 20120511
5 GET_METRIC_FOR_URDTFONT Instance method Public Method Get fontmetric of URDT-SAPfont 20100511
6 GET_SUP_LANGUAGES Instance method Public Method Get list of supported languages/charsets 20130117
7 GET_UPE_DEVTYPES Static method Public Method Get list of UPE-enhanced devtypes in system 20100511
8 IS_LIST_DRIVER_USED Instance method Private Method Is ABAP list driver used for all SAP formats for legacy DT ? 20100914
9 IS_UPE_POSSIBLE Instance method Private Method Is UPE possible for legacy DT? 20100506
10 SAVE_TO_DB Instance method Public Method Save data to DB 20100505
11 SHOW_SUP_LANGUAGES Instance method Public Method Show list of supported languages/charsets 20100506
12 UPDATE_STATUSTEXT Instance method Private Method Update info text on status 20100506
13 UPE_DISABLE Instance method Public Method UPE-disable 20100505
14 UPE_ENABLE Instance method Public Method UPE-enable 20100505
15 UPE_ENABLE_DIALOG Instance method Public Method UPE-enable a legacy DT via dialog popup 20100506
Events
Class CL_UPE_DEVTYPE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_DEVTYPETAB Public See coding List of device types 20100511 T_DEVTYPETAB type standard table of rspoptype with default key
2 T_FORMATTAB Private See coding List of spool formats 20100914 T_FORMATTAB type standard table of TSP1D with default key
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LEGACY_DT Call by reference Type reference (TYPE) RSPOPTYPE Spool: Device type name 20100505
2 Importing IM_NO_UPE_FOR_ABAPLISTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120608
3 Importing IM_PCL5_USE_TYPE15_FTDOWNLOAD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120608
4 Importing IM_URDT Call by reference Type reference (TYPE) RSPOPTYPE SPACE Spool: Device type name 20100505
5 Importing IM_USE_ONLY_TTFONTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120608

Method CONSTRUCTOR on class CL_UPE_DEVTYPE has no exception.

Method CREATE_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DEVTYPE Call by reference Type reference (TYPE) RSPOPTYPE Spool: Device type name 20100505
2 Returning RT_UPEDT Value transfer Object reference (TYPE REF TO) CL_UPE_DEVTYPE Utilities for manipulating UPE devtypes 20100505

Method CREATE_FROM_DB on class CL_UPE_DEVTYPE has no exception.

Method DELETE_RUNTIME_OBJECTS Signature

Method DELETE_RUNTIME_OBJECTS on class CL_UPE_DEVTYPE has no parameter.
Method DELETE_RUNTIME_OBJECTS on class CL_UPE_DEVTYPE has no exception.

Method GET_METRIC_FOR_CUSTOM_FONT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BOLD Call by reference Type reference (TYPE) TDBOLD Font attribute bold type 20120511
2 Importing IM_ITALIC Call by reference Type reference (TYPE) TDITALIC Font attribute italic 20120511
3 Importing IM_SAPFONT Call by reference Type reference (TYPE) TDFAMILY Font attribute: Name of font family 20120511
4 Returning RT_FONTMETRIC Value transfer Object reference (TYPE REF TO) CL_UPE_FONTMETRIC Fontmetrics for UPE 20120511

Method GET_METRIC_FOR_CUSTOM_FONT on class CL_UPE_DEVTYPE has no exception.

Method GET_METRIC_FOR_URDTFONT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BOLD Call by reference Type reference (TYPE) TDBOLD Font attribute bold type 20100511
2 Importing IM_ITALIC Call by reference Type reference (TYPE) TDITALIC Font attribute italic 20100511
3 Importing IM_SAPFONT Call by reference Type reference (TYPE) TDFAMILY Font attribute: Name of font family 20100511
4 Returning RT_FONTMETRIC Value transfer Object reference (TYPE REF TO) CL_UPE_FONTMETRIC Fontmetrics for UPE 20100511

Method GET_METRIC_FOR_URDTFONT on class CL_UPE_DEVTYPE has no exception.

Method GET_SUP_LANGUAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_LANGOBJTAB Value transfer Type reference (TYPE) CL_UPE_FIT_LANGINFO=>T_LANGOBJLIST CLAS CL_UPE_FIT_LANGINFO 20130117

Method GET_SUP_LANGUAGES on class CL_UPE_DEVTYPE has no exception.

Method GET_UPE_DEVTYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_UPE_DEVTYPES Value transfer Type reference (TYPE) T_DEVTYPETAB List of device types 20100511

Method GET_UPE_DEVTYPES on class CL_UPE_DEVTYPE has no exception.

Method IS_LIST_DRIVER_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LEGACY_DT_INFO Call by reference Type reference (TYPE) TSP0A Spool: Device types 20100914
2 Returning RT_LISTDRIVER_USED Value transfer Type reference (TYPE) ABAP_BOOL List driver is used 20100914

Method IS_LIST_DRIVER_USED on class CL_UPE_DEVTYPE has no exception.

Method IS_UPE_POSSIBLE Signature

Method IS_UPE_POSSIBLE on class CL_UPE_DEVTYPE has no parameter.
Method IS_UPE_POSSIBLE on class CL_UPE_DEVTYPE has no exception.

Method SAVE_TO_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_ERRMSG Value transfer Type reference (TYPE) STRING error msg 20100505

Method SAVE_TO_DB on class CL_UPE_DEVTYPE has no exception.

Method SHOW_SUP_LANGUAGES Signature

Method SHOW_SUP_LANGUAGES on class CL_UPE_DEVTYPE has no parameter.
Method SHOW_SUP_LANGUAGES on class CL_UPE_DEVTYPE has no exception.

Method UPDATE_STATUSTEXT Signature

Method UPDATE_STATUSTEXT on class CL_UPE_DEVTYPE has no parameter.
Method UPDATE_STATUSTEXT on class CL_UPE_DEVTYPE has no exception.

Method UPE_DISABLE Signature

Method UPE_DISABLE on class CL_UPE_DEVTYPE has no parameter.
Method UPE_DISABLE on class CL_UPE_DEVTYPE has no exception.

Method UPE_ENABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NO_UPE_FOR_ABAPLISTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Do not use UPE for list printing 20120516
2 Importing IM_PCL5_USE_TYPE15_DOWNLOAD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Use extended type-15 format for TrueType font download 20120420
3 Importing IM_URDT Call by reference Type reference (TYPE) RSPOPTYPE Spool: Device type name 20100505
4 Importing IM_USE_ONLY_TTFONTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Ignore all resident fonts, use only TTFonts from URDT 20120326

Method UPE_ENABLE on class CL_UPE_DEVTYPE has no exception.

Method UPE_ENABLE_DIALOG Signature

Method UPE_ENABLE_DIALOG on class CL_UPE_DEVTYPE has no parameter.
Method UPE_ENABLE_DIALOG on class CL_UPE_DEVTYPE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 703