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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Private | Type reference (TYPE) | RSPOPAPACT | 'URDTNAME' | Spool: Action to paper (header, start of line...) | 20100505 | ||
| 2 | Constant | Private | Type reference (TYPE) | RSPOPAPART | 'UPE_INFO' | Spool: Format | 20100505 | ||
| 3 | Constant | Private | Type reference (TYPE) | RSPOPARAM | 'UPE_ALLOWED' | Parameter name for spool settings | 20110429 | ||
| 4 | Instance attribute | Public | Type reference (TYPE) | RSPOPTYPE | Spool: Device type name | 20100505 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | RSPODRIVER | Spool: Driver name | 20100519 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | T_FORMATTAB | List of abap list formats | 20100914 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not use UPE for ABAP list printing? | 20120516 | ||
| 8 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Use "extended type-15" format for TrueType Font download | 20120420 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | All SAP List Formats use list driver? | 20120419 | ||
| 10 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Has status changed? | 20100506 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Is UPE-enabled? | 20100505 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Is UPE possible? | 20100506 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | STRING | Info: is enabled, can be enabled, cannot, ... | 20100506 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | RSPOPTYPE | Spool: Device type name | 20100505 | |||
| 15 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_UPE_URDT | Utilities for Unicode Reference Devtypes | 20120809 | |||
| 16 | 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 | Instance method | Public | Constructor | Constructor | 20100505 | |
| 2 | Static method | Public | Method | Create from saved DT data | 20100505 | |
| 3 | Instance method | Private | Method | Delete SAPscript load in STXL | 20100511 | |
| 4 | Instance method | Private | Method | Get fontmetric for SAPfont which is not in URDT | 20120511 | |
| 5 | Instance method | Public | Method | Get fontmetric of URDT-SAPfont | 20100511 | |
| 6 | Instance method | Public | Method | Get list of supported languages/charsets | 20130117 | |
| 7 | Static method | Public | Method | Get list of UPE-enhanced devtypes in system | 20100511 | |
| 8 | Instance method | Private | Method | Is ABAP list driver used for all SAP formats for legacy DT ? | 20100914 | |
| 9 | Instance method | Private | Method | Is UPE possible for legacy DT? | 20100506 | |
| 10 | Instance method | Public | Method | Save data to DB | 20100505 | |
| 11 | Instance method | Public | Method | Show list of supported languages/charsets | 20100506 | |
| 12 | Instance method | Private | Method | Update info text on status | 20100506 | |
| 13 | Instance method | Public | Method | UPE-disable | 20100505 | |
| 14 | Instance method | Public | Method | UPE-enable | 20100505 | |
| 15 | 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 | IM_LEGACY_DT | Call by reference | Type reference (TYPE) | RSPOPTYPE | Spool: Device type name | 20100505 | |||
| 2 | IM_NO_UPE_FOR_ABAPLISTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120608 | |||
| 3 | IM_PCL5_USE_TYPE15_FTDOWNLOAD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120608 | |||
| 4 | IM_URDT | Call by reference | Type reference (TYPE) | RSPOPTYPE | SPACE | Spool: Device type name | 20100505 | ||
| 5 | 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 | IM_DEVTYPE | Call by reference | Type reference (TYPE) | RSPOPTYPE | Spool: Device type name | 20100505 | |||
| 2 | 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 | IM_BOLD | Call by reference | Type reference (TYPE) | TDBOLD | Font attribute bold type | 20120511 | |||
| 2 | IM_ITALIC | Call by reference | Type reference (TYPE) | TDITALIC | Font attribute italic | 20120511 | |||
| 3 | IM_SAPFONT | Call by reference | Type reference (TYPE) | TDFAMILY | Font attribute: Name of font family | 20120511 | |||
| 4 | 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 | IM_BOLD | Call by reference | Type reference (TYPE) | TDBOLD | Font attribute bold type | 20100511 | |||
| 2 | IM_ITALIC | Call by reference | Type reference (TYPE) | TDITALIC | Font attribute italic | 20100511 | |||
| 3 | IM_SAPFONT | Call by reference | Type reference (TYPE) | TDFAMILY | Font attribute: Name of font family | 20100511 | |||
| 4 | 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 | 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 | 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 | IM_LEGACY_DT_INFO | Call by reference | Type reference (TYPE) | TSP0A | Spool: Device types | 20100914 | |||
| 2 | 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 | 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 | IM_NO_UPE_FOR_ABAPLISTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not use UPE for list printing | 20120516 | ||
| 2 | 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 | IM_URDT | Call by reference | Type reference (TYPE) | RSPOPTYPE | Spool: Device type name | 20100505 | |||
| 4 | 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 |