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 C_AMOUNT Constant Private Type reference (TYPE) STRING 'Amount' 20021122
2 C_COUNTRY_CODE Constant Private Type reference (TYPE) STRING 'CountryCode' 20021122
3 C_CURRENCY_CODE Constant Private Type reference (TYPE) STRING 'CurrencyCode' 20021122
4 C_DATE_TIME Constant Private Type reference (TYPE) STRING 'DateTime' 20021122
5 C_DURATION Constant Private Type reference (TYPE) STRING 'Duration' 20041013
6 C_FALSE Constant Private Type reference (TYPE) STRING 'false' 20031110
7 C_GUID Constant Private Type reference (TYPE) STRING 'GUID' 20030822
8 C_INDICATOR Constant Private Type reference (TYPE) STRING 'Indicator' 20031110
9 C_LANGUAGE_CODE Constant Private Type reference (TYPE) STRING 'LanguageCode' 20021122
10 C_TRUE Constant Private Type reference (TYPE) STRING 'true' 20031110
11 C_UNIT_CODE Constant Private Type reference (TYPE) STRING 'UnitCode' 20021122
Methods
# Method Level Visibility Method type Description Created on
1 AMOUNT_INBOUND Static method Public Method Amount and Currency Key from XI to SP 20021016
2 AMOUNT_OUTBOUND Static method Public Method Amount and Currency Key from SAP to XI 20021017
3 COUNTRY_CODE_INBOUND Static method Public Method Country Key from XI to SAP 20021115
4 COUNTRY_CODE_OUTBOUND Static method Public Method Country Key from SAP to XI 20021115
5 CURRENCY_CODE_INBOUND Static method Public Method Currency Key from XI to SAP 20030822
6 CURRENCY_CODE_OUTBOUND Static method Public Method Currency Key from SAP to XI 20030822
7 DATE_TIME_INBOUND Static method Public Method Time Stamp (Seconds) from XI to SAP 20021017
8 DATE_TIME_OUTBOUND Static method Public Method Time Stamp (Seconds) from SAP to XI 20021017
9 DURATION_INBOUND Static method Public Method Duration from XI to SAP 20041013
10 DURATION_OUTBOUND Static method Public Method Duration from SAP to XI 20041013
11 FILL_RETURN_MESSAGE Static method Private Method Fill Return Message for Exception Class 20021122
12 GUID_INBOUND Static method Public Method GUID / UUID fron XI to SAP 20030822
13 GUID_OUTBOUND Static method Public Method GUID / UUID from SAP to XI 20030822
14 INDICATOR_INBOUND Static method Public Method Indicator (True/False) from XI to SAP (ABAP Flag) 20031110
15 INDICATOR_OUTBOUND Static method Public Method Indicator (ABAP Flag) from SAP to XI (True/False) 20031110
16 LANGUAGE_CODE_INBOUND Static method Public Method Language Key from XI to SAP 20021024
17 LANGUAGE_CODE_OUTBOUND Static method Public Method Language Key from SAP to XI 20021016
18 UNIT_CODE_INBOUND Static method Public Method Unit from XI to SAP 20021024
19 UNIT_CODE_OUTBOUND 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 Exporting EX_CURRENCY_CODE Call by reference Type reference (TYPE) TCURC-WAERS Währungsschlüssel 20021016
2 Exporting EX_VALUE Call by reference Type reference (TYPE) P Betrag (intern) 20021016
3 Importing IM_CURRENCY_CODE Call by reference Type reference (TYPE) TCURC-ISOCD Iso-Code Währung 20021016
4 Importing IM_USE_ROUNDING Call by reference Type reference (TYPE) FLAG 'X': Nachkommastellen währungsgerecht runden 20070703
5 Importing IM_VALUE Call by reference Type reference (TYPE) P Betrag (extern) 20021016
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_CURRENCY_CODE Call by reference Type reference (TYPE) TCURC-ISOCD Iso-Code Währung 20021017
2 Exporting EX_VALUE Call by reference Type reference (TYPE) P Betrag (extern) 20021017
3 Importing IM_CURRENCY_CODE Call by reference Type reference (TYPE) WAERS_CURC Währungsschlüssel 20021017
4 Importing IM_VALUE Call by reference Type reference (TYPE) P Betrag (intern) 20021017
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) LAND1 Länderschlüssel 20021115
2 Importing IM_VALUE Call by reference Type reference (TYPE) CSEQUENCE ISO-Code des Landes 20021115
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE ISO-Code des Landes 20021115
2 Importing IM_VALUE Call by reference Type reference (TYPE) LAND1 Länderschlüssel 20021115
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) TCURC-WAERS Währungsschlüssel 20030822
2 Importing IM_VALUE Call by reference Type reference (TYPE) TCURC-ISOCD Iso-Code Währung 20030822
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) TCURC-ISOCD Iso-Code Währung 20030822
2 Importing IM_VALUE Call by reference Type reference (TYPE) TCURC-WAERS Währungsschlüssel 20030822
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_DATE Call by reference Type reference (TYPE) SY-DATUM Datum und Zeit, aktuelles (Applikationsserver-)Datum 20021205
2 Exporting EX_LOCAL_TIME Call by reference Type reference (TYPE) FLAG Zeitstempel ist lokale Zeit, sonst UTC 20031110
3 Exporting EX_TIME Call by reference Type reference (TYPE) SY-UZEIT Datum und Zeit, aktuelle (Applikationsserver-) Uhrzeit 20021205
4 Exporting EX_VALUE_LONG Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20021017
5 Exporting EX_VALUE_SHORT Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20021017
6 Importing IM_VALUE Call by reference Type reference (TYPE) CSEQUENCE Zeitstempel gem. Aufbau ISO 8601 20021017
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE Zeitstempel gem. Aufbau ISO 8601 20021024
2 Importing IM_DATE Call by reference Type reference (TYPE) SY-DATUM Datum und Zeit, aktuelles (Applikationsserver-)Datum 20021205
3 Importing IM_LOCAL_TIME Call by reference Type reference (TYPE) FLAG Zeitstempel ist lokale Zeit, sonst UTC 20031110
4 Importing IM_TIME Call by reference Type reference (TYPE) SY-UZEIT Datum und Zeit, aktuelle (Applikationsserver-) Uhrzeit 20021205
5 Importing IM_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Zeitzone 20040928
6 Importing IM_VALUE_LONG Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20021114
7 Importing IM_VALUE_SHORT Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20021114
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_DURATION Call by reference Type reference (TYPE) SDURATION Zeitspanne in Jahren, Monaten, Tagen, Stunden, Minuten, Sek. 20041013
2 Importing IM_VALUE Call by reference Type reference (TYPE) CSEQUENCE Zeitdauer gemäß Aufbau ISO 8601 20041013
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE Zeitdauer gemäß Aufbau ISO 8601 20041013
2 Importing IM_DURATION Call by reference Type reference (TYPE) SDURATION Zeitspanne in Jahren, Monaten, Tagen, Stunden, Minuten, Sek. 20041013
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Importing IM_MSGID Call by reference Type reference (TYPE) SY-MSGID Nachrichten, Nachrichtenklasse 20021122
2 Importing IM_MSGNO Call by reference Type reference (TYPE) SY-MSGNO Nachrichten, Nachrichtennummer 20021122
3 Importing IM_MSGTY Call by reference Type reference (TYPE) SY-MSGTY Nachrichten, Nachrichtentyp 20021122
4 Importing IM_MSGV1 Call by reference Type reference (TYPE) SIMPLE Nachrichten, Nachrichtenvariable 20021122
5 Importing IM_MSGV2 Call by reference Type reference (TYPE) SIMPLE Nachrichten, Nachrichtenvariable 20021122
6 Importing IM_MSGV3 Call by reference Type reference (TYPE) SIMPLE Nachrichten, Nachrichtenvariable 20021122
7 Importing IM_MSGV4 Call by reference Type reference (TYPE) SIMPLE Nachrichten, Nachrichtenvariable 20021122
8 Returning 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 Exporting EX_GUID_C Call by reference Type reference (TYPE) SYSUUID_C GUID in X-Form (binär) 20030822
2 Exporting EX_GUID_X Call by reference Type reference (TYPE) SYSUUID_X GUID in Character-Darstellung 20030822
3 Importing IM_VALUE Call by reference Type reference (TYPE) CSEQUENCE GUID / UUID in XML Darstellung 20030822
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE GUID / UUID in XML Darstellung 20030822
2 Importing IM_GUID_C Call by reference Type reference (TYPE) SYSUUID_C GUID in Character-Darstellung 20030822
3 Importing IM_GUID_X Call by reference Type reference (TYPE) SYSUUID_X GUID in X-Form (binär) 20030822
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) FLAG ABAP Flag: 'X' ="wahr, ' ' = falsch 20031110
2 Importing IM_VALUE Call by reference Type reference (TYPE) CSEQUENCE XSD:Indicator 20031110
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE XSD:Indicator 20031110
2 Importing 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 Exporting EX_VALUE Call by reference Type reference (TYPE) SPRAS Sprachenschlüssel 20021024
2 Importing IM_VALUE Call by reference Type reference (TYPE) CSEQUENCE Sprachenschlüssel nach RFC 3066 20021024
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE Sprachenschlüssel nach ISO 639-1 20021024
2 Importing IM_VALUE Call by reference Type reference (TYPE) SPRAS Sprachenschlüssel 20021016
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) T006-MSEHI Maßeinheit 20021024
2 Importing 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 CX_GDT_CONVERSION 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 Exporting EX_VALUE Call by reference Type reference (TYPE) CSEQUENCE Einheit gemäß UN/ECE Recommendation #20 bzw. X12 355 20021024
2 Importing IM_VALUE Call by reference Type reference (TYPE) T006-MSEHI Maßeinheit 20021016
# Exception Resumable Description Created on
1 CX_GDT_CONVERSION Fehler bei Global Data Types Konvertierung 20021122
History
Last changed by/on SAP  20110908 
SAP Release Created in 640