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)
⤷ 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 | ABAP | 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 | CONVERT_STRING_TO_NUMBER | Static method | Public | Method | Converts String to Number | 20080305 |
2 | FILL_TEXT_WITH_VARS | Static method | Public | Method | Fills a Text with Parameters (String) | 20060717 |
3 | GET_CHARS_FROM_LEFT | Static method | Public | Method | Gets ANZAHL Characters from the Left and the Remainder | 20060310 |
4 | IGNORE_LEADING_BLANKS | Static method | Public | Method | Removal of Leading Spaces | 20050221 |
5 | LEFT | Static method | Public | Method | Gets Number of Characters from the Left (Incl. Spaces!) | 20060721 |
6 | LEFT_UPTO_SPACE | Static method | Public | Method | Returns MAX Characters from Left w/o Space, to Remainder | 20050224 |
7 | RAISE_STRING_AS_SYMSG | Static method | Public | Method | Outputs String as T100 Message | 20041220 |
8 | RIGHT | Static method | Public | Method | Gets Number of Characters from "Right" | 20040107 |
9 | SPLIT_INTO_SYMSGV | Static method | Public | Method | Breaks Down String into the Four SY-MSGV* Variables | 20041220 |
10 | WRITE_CURRENCY | Static method | Public | Method | Writes Currency Amount in Character-Like Field | 20060123 |
11 | WRITE_DATE | Static method | Public | Method | Writes Date to Character-Like Field | 20060602 |
12 | WRITE_FIELD | Static method | Public | Method | WRITE Field INTO String | 20041110 |
13 | WRITE_FLOAT | Static method | Public | Method | Writes Value as Floating Comma Number to Character-Like Fld | 20080208 |
14 | WRITE_INTEGER | Static method | Public | Method | Writes Value as an Integer to a Character-Like Field | 20070223 |
15 | WRITE_PERIOD | Static method | Public | Method | Writes Period to Character-Like Field | 20060602 |
16 | WRITE_QUANTITY | Static method | Public | Method | Writes Value with Unit in Character-Like Field | 20050511 |
17 | WRITE_TIMESTAMP | Static method | Public | Method | Writes Time Stamp to Character-Like Field | 20060707 |
18 | _STRING_SPLIT_AT_POSITION | 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 | Exporting | ED_NUMBER | Call by reference | Type reference (TYPE) | NUMERIC | Nummer | 20080305 | ||
2 | Importing | ID_STRING | Call by reference | Type reference (TYPE) | CLIKE | String (Zahl) | 20080305 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | 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 | Importing | ID_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Text, ggf. mit Platzhaltern (&1-&9) | 20060717 | ||
2 | Importing | ID_VAR1 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 1 | 20060731 | ||
3 | Importing | ID_VAR2 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 2 | 20060731 | ||
4 | Importing | ID_VAR3 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 3 | 20060731 | ||
5 | Importing | ID_VAR4 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 4 | 20060731 | ||
6 | Importing | ID_VAR5 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 5 | 20060731 | ||
7 | Importing | ID_VAR6 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 6 | 20060731 | ||
8 | Importing | ID_VAR7 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 7 | 20060731 | ||
9 | Importing | ID_VAR8 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 8 | 20060731 | ||
10 | Importing | ID_VAR9 | Call by reference | Type reference (TYPE) | ANY | Wert für Platzhalter 9 | 20060731 | ||
11 | Returning | 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 | Changing | CD_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Resttext | 20060310 | ||
2 | Exporting | ED_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Abgesplittete Zeichen (<= Anzahl) | 20060310 | ||
3 | Importing | 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 | Changing | 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 | Importing | ID_LENGTH | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Zeichen | 20060721 | ||
2 | Importing | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20060721 | ||
3 | Returning | 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 | Changing | CD_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Text ohne ED_TEXT | 20050224 | ||
2 | Exporting | ED_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Anzahl Zeichen Text | 20050224 | ||
3 | Importing | 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 | Importing | ID_MSGTY | Value transfer | Type reference (TYPE) | SYMSGTY | 'E' | Nachrichtentyp | 20041220 | |
2 | Importing | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20041220 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | MESSAGE | 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 | Importing | ID_LENGTH | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Zeichen | 20040107 | ||
2 | Importing | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20040107 | ||
3 | Returning | 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 | Exporting | ED_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 1 | 20041220 | ||
2 | Exporting | ED_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 2 | 20041220 | ||
3 | Exporting | ED_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 3 | 20041220 | ||
4 | Exporting | ED_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable 4 | 20041220 | ||
5 | Importing | ID_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | String | 20041220 | ||
6 | Importing | 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 | Importing | ID_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Währungsschlüssel (z.B. "EUR") | 20060123 | ||
2 | Importing | ID_VALUE | Call by reference | Type reference (TYPE) | P | Betrag (z.b. "12") | 20060123 | ||
3 | Returning | 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 | Importing | ID_DATE | Call by reference | Type reference (TYPE) | ANY | Feld mit Inhalt | 20060602 | ||
2 | Returning | 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 | Importing | ID_FIELD | Call by reference | Type reference (TYPE) | ANY | Feld mit Inhalt | 20041110 | ||
2 | Returning | 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 | Importing | ID_DECIMALS | Call by reference | Type reference (TYPE) | NUMERIC | 4 | Anzahl Nachkommastellen | 20080208 | |
2 | Importing | ID_FIELD | Call by reference | Type reference (TYPE) | NUMERIC | Numerisches Feld | 20080208 | ||
3 | Importing | IF_NOZERO | Call by reference | Type reference (TYPE) | RECABOOL | ABAP_TRUE | No Zero? | 20080612 | |
4 | Returning | 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 | Importing | ID_FIELD | Call by reference | Type reference (TYPE) | NUMERIC | Numerisches Feld | 20070223 | ||
2 | Returning | 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 | Importing | ID_VALIDFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | Datum: Gültig ab | 20060602 | ||
2 | Importing | ID_VALIDTO | Call by reference | Type reference (TYPE) | RECADATETO | Datum: Gültig bis | 20060602 | ||
3 | Returning | 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 | Importing | ID_QUANTITY | Call by reference | Type reference (TYPE) | P | Wert (z.b. "100") | 20050511 | ||
2 | Importing | ID_UNIT | Call by reference | Type reference (TYPE) | MSEHI | Einheit (z.B. "M2") | 20050511 | ||
3 | Importing | IF_NO_UNIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Einheit bei der Ausgabe unterdrücken | 20060630 | |
4 | Importing | IF_SHORT_UNIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Einheitenkürzel nehmen | 20060630 | |
5 | Returning | 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 | Importing | ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20060707 | ||
2 | Returning | 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 | Exporting | ED_STRING1 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | |||
2 | Exporting | ED_STRING2 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | |||
3 | Exporting | ED_STRING3 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | |||
4 | Exporting | ED_STRING4 | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110228 | |||
5 | Importing | ID_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | Sprache | 20110228 | ||
6 | Importing | ID_LENGTH | Call by reference | Type reference (TYPE) | I | Länge der Teilstücke | 20110228 | ||
7 | Importing | 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 |