SAP ABAP Class CL_CHR_TEMPLATE (Characteristics: Template)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-CL-CHR (Application Component) Characteristics
⤷
CT (Package) Characteristics
⤷
⤷
Properties
| Class | CL_CHR_TEMPLATE | |
| Short Description | Characteristics: Template | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CT | Characteristics |
| Created | 20020813 | SAP |
| Last change | 00000000 | 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) |
Interfaces
Class CL_CHR_TEMPLATE has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_CACL_VALUEFORMAT | 20020814 | Values: Check and Conversion |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | T_TEMPLATE_DATE | Template for Date Format | 20020911 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | TT_TEMPLATE | Created Templates | 20020814 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | TT_TEMPLATE_CHECK | Checked Templates | 20020814 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_CHR_CONST | Characteristics: Constants | 20020813 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | CHAR1 | Decimal Point | 20020813 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | CHAR1 | Thousand Separator | 20020813 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check Characteristic Template (CHAR Only!) | 20020813 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20020813 | |
| 3 | Static method | Public | Method | Convert Characteristic Template to External Format | 20020813 | |
| 4 | Static method | Public | Method | Convert Characteristic Template to Internal Format | 20020813 | |
| 5 | Static method | Public | Method | Create Characteristic Template | 20020813 | |
| 6 | Static method | Public | Method | Create Runtime Template for Time and Date Format | 20020911 | |
| 7 | Static method | Protected | Method | Read Template Characters from Customizing | 20020814 | |
| 8 | Static method | Public | Method | Read User Data | 20020814 | |
| 9 | Static method | Public | Method | Delete Thousand Separator from Template | 20020815 |
Events
Class CL_CHR_TEMPLATE has no event.
Types
Class CL_CHR_TEMPLATE has no local type.
Method Signatures
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_CHANGED | Value transfer | Type reference (TYPE) | FLAG | Schablone OK, aber geändert | 20020814 | |||
| 2 | ES_FORMAT | Value transfer | Type reference (TYPE) | CHR_FORMAT | Schablone und Formatangaben | 20020814 | |||
| 3 | I_DATATYPE | Value transfer | Type reference (TYPE) | ATUDF | Datentyp | 20020814 | |||
| 4 | I_TEMPLATE | Value transfer | Type reference (TYPE) | ATSCH | Wert mit Schablone | 20020814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültiger Exponent | 20020814 | ||
| 2 | Ungültiges erstes Zeichen | 20020814 | ||
| 3 | Ungültiges Schablonenzeichen | 20020814 | ||
| 4 | Tausendertrenner falsch gesetzt | 20020814 | ||
| 5 | Mehrere Dezimaltrenner | 20020814 | ||
| 6 | Fehlende Angaben | 20020814 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_CHR_TEMPLATE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CHR_TEMPLATE has no exception.
Method CONVERT_TO_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TEMPLATE | Value transfer | Type reference (TYPE) | ATSCH | Schablone | 20020813 |
Method CONVERT_TO_EXT on class CL_CHR_TEMPLATE has no exception.
Method CONVERT_TO_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TEMPLATE | Value transfer | Type reference (TYPE) | ATSCH | Schablone | 20020813 |
Method CONVERT_TO_INT on class CL_CHR_TEMPLATE has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_FORMAT | Value transfer | Type reference (TYPE) | CHR_FORMAT | Angepasstes Format | 20020814 | |||
| 2 | E_TEMPLATE | Value transfer | Type reference (TYPE) | ATSCH | Wert mit Schablone | 20020813 | |||
| 3 | IF_NEUTRAL | Value transfer | Type reference (TYPE) | FLAG | Benutzerneutral | 20020814 | |||
| 4 | IS_FORMAT | Value transfer | Type reference (TYPE) | CHR_FORMAT | Formatangaben eines Merkmals | 20020813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20020813 | ||
| 2 | Ungültiges Merkmalformat | 20020813 | ||
| 3 | Zu viele Dezimalstellen | 20020813 | ||
| 4 | Stellenzahl fehlt | 20020814 | ||
| 5 | Stellenzahl zu groß | 20020813 | ||
| 6 | Keine Exponentialdarstellung bei Währung | 20020814 | ||
| 7 | Anzahl Stellen ist zu klein | 20020813 |
Method CREATE_TEMP_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TEMPLATE | Value transfer | Type reference (TYPE) | ATSCH | Wert mit Schablone | 20020911 | |||
| 2 | E_TEMPLATE_CODE | Value transfer | Type reference (TYPE) | CHAR1 | Benutzercode für Darstellung | 20020911 | |||
| 3 | E_TEMPLATE_SIGN | Value transfer | Type reference (TYPE) | CHAR1 | Schablonenzeichen | 20020911 | |||
| 4 | IF_DATE | Value transfer | Type reference (TYPE) | FLAG | Datumsformat | 20020911 | |||
| 5 | IF_TIME | Value transfer | Type reference (TYPE) | FLAG | Zeitformat | 20020911 | |||
| 6 | I_LANGUAGE | Value transfer | Type reference (TYPE) | SYLANGU | SY-LANGU | Sprache | 20020911 |
Method CREATE_TEMP_TEMPLATE on class CL_CHR_TEMPLATE has no exception.
Method GET_TEMPLATE_SIGNS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SIGNS | Value transfer | Type reference (TYPE) | RCTPS | Schablonenzeichen | 20020814 |
Method GET_TEMPLATE_SIGNS on class CL_CHR_TEMPLATE has no exception.
Method INIT_USER Signature
Method INIT_USER on class CL_CHR_TEMPLATE has no parameter.
Method INIT_USER on class CL_CHR_TEMPLATE has no exception.
Method REMOVE_SEPARATOR_SIGN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TEMPLATE | Value transfer | Type reference (TYPE) | ATSCH | Schablone | 20020815 |
Method REMOVE_SEPARATOR_SIGN on class CL_CHR_TEMPLATE has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 630 |