SAP ABAP Class CL_GDT_CONVERSION (Conversions for Global Data Types)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
S_FORMULA_BUILDER (Package) Formula Builder
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_EAM_DEFAULT_HANDLER_BASIC | Basic default handler | 20090508 |
Properties
| Class | CL_GDT_CONVERSION | |
| Short Description | Conversions for Global Data Types | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_FORMULA_BUILDER | Formula Builder |
| Created | 20021016 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GDT_CONVERSION has no forward declaration.
Interfaces
Class CL_GDT_CONVERSION has no interface implemented.
Friends
Class CL_GDT_CONVERSION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | 'Amount' | 20021122 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'CountryCode' | 20021122 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | 'CurrencyCode' | 20021122 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'DateTime' | 20021122 | |||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'Duration' | 20041013 | |||
| 6 | Constant | Private | Type reference (TYPE) | STRING | 'false' | 20031110 | |||
| 7 | Constant | Private | Type reference (TYPE) | STRING | 'GUID' | 20030822 | |||
| 8 | Constant | Private | Type reference (TYPE) | STRING | 'Indicator' | 20031110 | |||
| 9 | Constant | Private | Type reference (TYPE) | STRING | 'LanguageCode' | 20021122 | |||
| 10 | Constant | Private | Type reference (TYPE) | STRING | 'true' | 20031110 | |||
| 11 | Constant | Private | Type reference (TYPE) | STRING | 'UnitCode' | 20021122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Amount and Currency Key from XI to SP | 20021016 | |
| 2 | Static method | Public | Method | Amount and Currency Key from SAP to XI | 20021017 | |
| 3 | Static method | Public | Method | Country Key from XI to SAP | 20021115 | |
| 4 | Static method | Public | Method | Country Key from SAP to XI | 20021115 | |
| 5 | Static method | Public | Method | Currency Key from XI to SAP | 20030822 | |
| 6 | Static method | Public | Method | Currency Key from SAP to XI | 20030822 | |
| 7 | Static method | Public | Method | Time Stamp (Seconds) from XI to SAP | 20021017 | |
| 8 | Static method | Public | Method | Time Stamp (Seconds) from SAP to XI | 20021017 | |
| 9 | Static method | Public | Method | Duration from XI to SAP | 20041013 | |
| 10 | Static method | Public | Method | Duration from SAP to XI | 20041013 | |
| 11 | Static method | Private | Method | Fill Return Message for Exception Class | 20021122 | |
| 12 | Static method | Public | Method | GUID / UUID fron XI to SAP | 20030822 | |
| 13 | Static method | Public | Method | GUID / UUID from SAP to XI | 20030822 | |
| 14 | Static method | Public | Method | Indicator (True/False) from XI to SAP (ABAP Flag) | 20031110 | |
| 15 | Static method | Public | Method | Indicator (ABAP Flag) from SAP to XI (True/False) | 20031110 | |
| 16 | Static method | Public | Method | Language Key from XI to SAP | 20021024 | |
| 17 | Static method | Public | Method | Language Key from SAP to XI | 20021016 | |
| 18 | Static method | Public | Method | Unit from XI to SAP | 20021024 | |
| 19 | Static method | Public | Method | Unit from SAP to XI | 20021016 |
Events
Class CL_GDT_CONVERSION has no event.
Types
Class CL_GDT_CONVERSION has no local type.
Method Signatures
Method AMOUNT_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CURRENCY_CODE | Call by reference | Type reference (TYPE) | TCURC-WAERS | Währungsschlüssel | 20021016 | |||
| 2 | EX_VALUE | Call by reference | Type reference (TYPE) | P | Betrag (intern) | 20021016 | |||
| 3 | IM_CURRENCY_CODE | Call by reference | Type reference (TYPE) | TCURC-ISOCD | Iso-Code Währung | 20021016 | |||
| 4 | IM_USE_ROUNDING | Call by reference | Type reference (TYPE) | FLAG | 'X': Nachkommastellen währungsgerecht runden | 20070703 | |||
| 5 | IM_VALUE | Call by reference | Type reference (TYPE) | P | Betrag (extern) | 20021016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method AMOUNT_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CURRENCY_CODE | Call by reference | Type reference (TYPE) | TCURC-ISOCD | Iso-Code Währung | 20021017 | |||
| 2 | EX_VALUE | Call by reference | Type reference (TYPE) | P | Betrag (extern) | 20021017 | |||
| 3 | IM_CURRENCY_CODE | Call by reference | Type reference (TYPE) | WAERS_CURC | Währungsschlüssel | 20021017 | |||
| 4 | IM_VALUE | Call by reference | Type reference (TYPE) | P | Betrag (intern) | 20021017 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method COUNTRY_CODE_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | LAND1 | Länderschlüssel | 20021115 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | ISO-Code des Landes | 20021115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method COUNTRY_CODE_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | ISO-Code des Landes | 20021115 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | LAND1 | Länderschlüssel | 20021115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method CURRENCY_CODE_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | TCURC-WAERS | Währungsschlüssel | 20030822 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | TCURC-ISOCD | Iso-Code Währung | 20030822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20030822 |
Method CURRENCY_CODE_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | TCURC-ISOCD | Iso-Code Währung | 20030822 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | TCURC-WAERS | Währungsschlüssel | 20030822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20030822 |
Method DATE_TIME_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20021205 | |||
| 2 | EX_LOCAL_TIME | Call by reference | Type reference (TYPE) | FLAG | Zeitstempel ist lokale Zeit, sonst UTC | 20031110 | |||
| 3 | EX_TIME | Call by reference | Type reference (TYPE) | SY-UZEIT | Datum und Zeit, aktuelle (Applikationsserver-) Uhrzeit | 20021205 | |||
| 4 | EX_VALUE_LONG | Call by reference | Type reference (TYPE) | TIMESTAMPL | UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) | 20021017 | |||
| 5 | EX_VALUE_SHORT | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20021017 | |||
| 6 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeitstempel gem. Aufbau ISO 8601 | 20021017 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method DATE_TIME_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeitstempel gem. Aufbau ISO 8601 | 20021024 | |||
| 2 | IM_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20021205 | |||
| 3 | IM_LOCAL_TIME | Call by reference | Type reference (TYPE) | FLAG | Zeitstempel ist lokale Zeit, sonst UTC | 20031110 | |||
| 4 | IM_TIME | Call by reference | Type reference (TYPE) | SY-UZEIT | Datum und Zeit, aktuelle (Applikationsserver-) Uhrzeit | 20021205 | |||
| 5 | IM_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Zeitzone | 20040928 | |||
| 6 | IM_VALUE_LONG | Call by reference | Type reference (TYPE) | TIMESTAMPL | UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) | 20021114 | |||
| 7 | IM_VALUE_SHORT | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20021114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method DURATION_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DURATION | Call by reference | Type reference (TYPE) | SDURATION | Zeitspanne in Jahren, Monaten, Tagen, Stunden, Minuten, Sek. | 20041013 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeitdauer gemäß Aufbau ISO 8601 | 20041013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20041013 |
Method DURATION_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeitdauer gemäß Aufbau ISO 8601 | 20041013 | |||
| 2 | IM_DURATION | Call by reference | Type reference (TYPE) | SDURATION | Zeitspanne in Jahren, Monaten, Tagen, Stunden, Minuten, Sek. | 20041013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20041013 |
Method FILL_RETURN_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MSGID | Call by reference | Type reference (TYPE) | SY-MSGID | Nachrichten, Nachrichtenklasse | 20021122 | |||
| 2 | IM_MSGNO | Call by reference | Type reference (TYPE) | SY-MSGNO | Nachrichten, Nachrichtennummer | 20021122 | |||
| 3 | IM_MSGTY | Call by reference | Type reference (TYPE) | SY-MSGTY | Nachrichten, Nachrichtentyp | 20021122 | |||
| 4 | IM_MSGV1 | Call by reference | Type reference (TYPE) | SIMPLE | Nachrichten, Nachrichtenvariable | 20021122 | |||
| 5 | IM_MSGV2 | Call by reference | Type reference (TYPE) | SIMPLE | Nachrichten, Nachrichtenvariable | 20021122 | |||
| 6 | IM_MSGV3 | Call by reference | Type reference (TYPE) | SIMPLE | Nachrichten, Nachrichtenvariable | 20021122 | |||
| 7 | IM_MSGV4 | Call by reference | Type reference (TYPE) | SIMPLE | Nachrichten, Nachrichtenvariable | 20021122 | |||
| 8 | RE_RETURN | Value transfer | Type reference (TYPE) | BAPIRET2 | Returnparameter | 20021122 |
Method FILL_RETURN_MESSAGE on class CL_GDT_CONVERSION has no exception.
Method GUID_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_GUID_C | Call by reference | Type reference (TYPE) | SYSUUID_C | GUID in X-Form (binär) | 20030822 | |||
| 2 | EX_GUID_X | Call by reference | Type reference (TYPE) | SYSUUID_X | GUID in Character-Darstellung | 20030822 | |||
| 3 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | GUID / UUID in XML Darstellung | 20030822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20030822 |
Method GUID_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | GUID / UUID in XML Darstellung | 20030822 | |||
| 2 | IM_GUID_C | Call by reference | Type reference (TYPE) | SYSUUID_C | GUID in Character-Darstellung | 20030822 | |||
| 3 | IM_GUID_X | Call by reference | Type reference (TYPE) | SYSUUID_X | GUID in X-Form (binär) | 20030822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20030822 |
Method INDICATOR_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | FLAG | ABAP Flag: 'X' ="wahr, ' ' = falsch | 20031110 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | XSD:Indicator | 20031110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20031110 |
Method INDICATOR_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | XSD:Indicator | 20031110 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | FLAG | ABAP Flag: 'X' ="wahr, ' ' = falsch | 20031110 |
Method INDICATOR_OUTBOUND on class CL_GDT_CONVERSION has no exception.
Method LANGUAGE_CODE_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | SPRAS | Sprachenschlüssel | 20021024 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Sprachenschlüssel nach RFC 3066 | 20021024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method LANGUAGE_CODE_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Sprachenschlüssel nach ISO 639-1 | 20021024 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | SPRAS | Sprachenschlüssel | 20021016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method UNIT_CODE_INBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | T006-MSEHI | Maßeinheit | 20021024 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Einheit gemäß UN/ECE Recommendation #20 bzw. X12 355 | 20021024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
Method UNIT_CODE_OUTBOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_VALUE | Call by reference | Type reference (TYPE) | CSEQUENCE | Einheit gemäß UN/ECE Recommendation #20 bzw. X12 355 | 20021024 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | T006-MSEHI | Maßeinheit | 20021016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Global Data Types Konvertierung | 20021122 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 640 |