SAP ABAP Class CL_RECA_STRING_SERVICES (Strings: Utilities)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
RE-FX (Application Component) Flexible Real Estate Management
⤷
RE_CA_BC (Package) RE: Base (Technical Objects - Library)
⤷
⤷
Properties
| Class | CL_RECA_STRING_SERVICES | |
| Short Description | Strings: Utilities | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | RE_CA_BC | RE: Base (Technical Objects - Library) |
| Created | 20040107 | SAP |
| Last change | 20110908 | 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_RECA_STRING_SERVICES has no interface implemented.
Friends
Class CL_RECA_STRING_SERVICES has no friend class.
Attributes
Class CL_RECA_STRING_SERVICES has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Converts String to Number | 20080305 | |
| 2 | Static method | Public | Method | Fills a Text with Parameters (String) | 20060717 | |
| 3 | Static method | Public | Method | Gets ANZAHL Characters from the Left and the Remainder | 20060310 | |
| 4 | Static method | Public | Method | Removal of Leading Spaces | 20050221 | |
| 5 | Static method | Public | Method | Gets Number of Characters from the Left (Incl. Spaces!) | 20060721 | |
| 6 | Static method | Public | Method | Returns MAX Characters from Left w/o Space, to Remainder | 20050224 | |
| 7 | Static method | Public | Method | Outputs String as T100 Message | 20041220 | |
| 8 | Static method | Public | Method | Gets Number of Characters from "Right" | 20040107 | |
| 9 | Static method | Public | Method | Breaks Down String into the Four SY-MSGV* Variables | 20041220 | |
| 10 | Static method | Public | Method | Writes Currency Amount in Character-Like Field | 20060123 | |
| 11 | Static method | Public | Method | Writes Date to Character-Like Field | 20060602 | |
| 12 | Static method | Public | Method | WRITE Field INTO String | 20041110 | |
| 13 | Static method | Public | Method | Writes Value as Floating Comma Number to Character-Like Fld | 20080208 | |
| 14 | Static method | Public | Method | Writes Value as an Integer to a Character-Like Field | 20070223 | |
| 15 | Static method | Public | Method | Writes Period to Character-Like Field | 20060602 | |
| 16 | Static method | Public | Method | Writes Value with Unit in Character-Like Field | 20050511 | |
| 17 | Static method | Public | Method | Writes Time Stamp to Character-Like Field | 20060707 | |
| 18 | Static method | Private | Method | Unicode Compatible Splitting of a Text | 20110228 |
Events
Class CL_RECA_STRING_SERVICES has no event.
Types
Class CL_RECA_STRING_SERVICES has no local type.
Method Signatures
Method CONVERT_STRING_TO_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_NUMBER | Call by reference | Type reference (TYPE) | NUMERIC | Nummer | 20080305 | |||
| 2 | ID_STRING | Call by reference | Type reference (TYPE) | CLIKE | String (Zahl) | 20080305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Konvertierung | 20080305 |
Method FILL_TEXT_WITH_VARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Text, ggf. mit Platzhaltern (&1-&9) | 20060717 | |||
| 2 | ID_VAR1 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 1 | 20060731 | |||
| 3 | ID_VAR2 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 2 | 20060731 | |||
| 4 | ID_VAR3 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 3 | 20060731 | |||
| 5 | ID_VAR4 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 4 | 20060731 | |||
| 6 | ID_VAR5 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 5 | 20060731 | |||
| 7 | ID_VAR6 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 6 | 20060731 | |||
| 8 | ID_VAR7 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 7 | 20060731 | |||
| 9 | ID_VAR8 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 8 | 20060731 | |||
| 10 | ID_VAR9 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 9 | 20060731 | |||
| 11 | RD_TEXT | Value transfer | Type reference (TYPE) | STRING | Versorgter Text | 20060717 |
Method FILL_TEXT_WITH_VARS on class CL_RECA_STRING_SERVICES has no exception.
Method GET_CHARS_FROM_LEFT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Resttext | 20060310 | |||
| 2 | ED_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Abgesplittete Zeichen (<= Anzahl) | 20060310 | |||
| 3 | ID_NUMBER_CHARS | Call by reference | Type reference (TYPE) | I | Anzahl Zeichen die abzusplitten sind | 20060310 |
Method GET_CHARS_FROM_LEFT on class CL_RECA_STRING_SERVICES has no exception.
Method IGNORE_LEADING_BLANKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20050221 |
Method IGNORE_LEADING_BLANKS on class CL_RECA_STRING_SERVICES has no exception.
Method LEFT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_LENGTH | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Zeichen | 20060721 | |||
| 2 | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20060721 | |||
| 3 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Ergebnis | 20060721 |
Method LEFT on class CL_RECA_STRING_SERVICES has no exception.
Method LEFT_UPTO_SPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Text ohne ED_TEXT | 20050224 | |||
| 2 | ED_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Anzahl Zeichen Text | 20050224 | |||
| 3 | ID_MAX_CHAR | Call by reference | Type reference (TYPE) | I | Maximale Anzahl Zeichen | 20050224 |
Method LEFT_UPTO_SPACE on class CL_RECA_STRING_SERVICES has no exception.
Method RAISE_STRING_AS_SYMSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_MSGTY | Value transfer | Type reference (TYPE) | SYMSGTY | 'E' | Nachrichtentyp | 20041220 | ||
| 2 | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20041220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausgabe in T100-Form (wird immer erzeugt) | 20041220 |
Method RIGHT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_LENGTH | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Zeichen | 20040107 | |||
| 2 | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20040107 | |||
| 3 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Ergebnis | 20040107 |
Method RIGHT on class CL_RECA_STRING_SERVICES has no exception.
Method SPLIT_INTO_SYMSGV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 1 | 20041220 | |||
| 2 | ED_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 2 | 20041220 | |||
| 3 | ED_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 3 | 20041220 | |||
| 4 | ED_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 4 | 20041220 | |||
| 5 | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20041220 | |||
| 6 | IF_SPLIT_AT_SPACES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | An Leerzeichen aufteilen wenn möglich | 20050223 |
Method SPLIT_INTO_SYMSGV on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel (z.B. "EUR") | 20060123 | |||
| 2 | ID_VALUE | Call by reference | Type reference (TYPE) | P | Betrag (z.b. "12") | 20060123 | |||
| 3 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Betrag + Währung (z.B. "12,00 Euro") | 20060602 |
Method WRITE_CURRENCY on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | ANY | Feld mit Inhalt | 20060602 | |||
| 2 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Feld als String | 20060602 |
Method WRITE_DATE on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_FIELD | Call by reference | Type reference (TYPE) | ANY | Feld mit Inhalt | 20041110 | |||
| 2 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Feld als String | 20041110 |
Method WRITE_FIELD on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_FLOAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DECIMALS | Call by reference | Type reference (TYPE) | NUMERIC | 4 | Anzahl Nachkommastellen | 20080208 | ||
| 2 | ID_FIELD | Call by reference | Type reference (TYPE) | NUMERIC | Numerisches Feld | 20080208 | |||
| 3 | IF_NOZERO | Call by reference | Type reference (TYPE) | RECABOOL | ABAP_TRUE | No Zero? | 20080612 | ||
| 4 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Feld als String | 20080208 |
Method WRITE_FLOAT on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_INTEGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_FIELD | Call by reference | Type reference (TYPE) | NUMERIC | Numerisches Feld | 20070223 | |||
| 2 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Feld als String | 20070223 |
Method WRITE_INTEGER on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_VALIDFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | Datum: Gültig ab | 20060602 | |||
| 2 | ID_VALIDTO | Call by reference | Type reference (TYPE) | RECADATETO | Datum: Gültig bis | 20060602 | |||
| 3 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Feld als String | 20060602 |
Method WRITE_PERIOD on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_QUANTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_QUANTITY | Call by reference | Type reference (TYPE) | P | Wert (z.b. "100") | 20050511 | |||
| 2 | ID_UNIT | Call by reference | Type reference (TYPE) | MSEHI | Einheit (z.B. "M2") | 20050511 | |||
| 3 | IF_NO_UNIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Einheit bei der Ausgabe unterdrücken | 20060630 | ||
| 4 | IF_SHORT_UNIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Einheitenkürzel nehmen | 20060630 | ||
| 5 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Wert + Einheit (z.B. "12,0000 m²") | 20060602 |
Method WRITE_QUANTITY on class CL_RECA_STRING_SERVICES has no exception.
Method WRITE_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20060707 | |||
| 2 | RD_STRING | Value transfer | Type reference (TYPE) | STRING | Feld als String | 20060707 |
Method WRITE_TIMESTAMP on class CL_RECA_STRING_SERVICES has no exception.
Method _STRING_SPLIT_AT_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_STRING1 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | ||||
| 2 | ED_STRING2 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | ||||
| 3 | ED_STRING3 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | ||||
| 4 | ED_STRING4 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | ||||
| 5 | ID_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | Sprache | 20110228 | |||
| 6 | ID_LENGTH | Call by reference | Type reference (TYPE) | I | Länge der Teilstücke | 20110228 | |||
| 7 | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | Eingabestring zeichenartig | 20110228 |
Method _STRING_SPLIT_AT_POSITION on class CL_RECA_STRING_SERVICES has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 500 |