SAP ABAP Class CL_BS_SOA_CONVERT_DATE_TIME (Date Time conversion for proxies created before NW 7.00 SP14)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-SOA (Application Component) Enterprise SOA
     BS_SOA_REUSE_COMMON_OBJECTS (Package) Business Suite SOA: Reuseable Tools and Objects
Properties
Class CL_BS_SOA_CONVERT_DATE_TIME  
Short Description Date Time conversion for proxies created before NW 7.00 SP14    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BS_SOA_REUSE_COMMON_OBJECTS   Business Suite SOA: Reuseable Tools and Objects 
Created 20100119   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_BS_SOA_CONVERT_DATE_TIME has no forward declaration.
Interfaces
Class CL_BS_SOA_CONVERT_DATE_TIME has no interface implemented.
Friends
Class CL_BS_SOA_CONVERT_DATE_TIME has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_PATTERN Constant Public See coding 20100119
2 GC_PATTERN_TYPE Constant Public See coding 20100119
3 GC_TZ_SPACE Constant Public Type reference (TYPE) TIMEZONE ' ' Time Zone 20100119
4 GC_TZ_UTC Constant Public Type reference (TYPE) TIMEZONE 'UTC' Time Zone 20100119
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_DATE_TIME Static method Private Method Adapt date and time at 24:00:00 20100119
2 CHECK_CONVERT_COMMAND Static method Private Method check, if CONVERT statement was executed succesfully 20100121
3 CHECK_PATTERN Static method Private Method Check GDT pattern 20100119
4 GET_OFFSET Static method Private Method Get offset for timezone to UTC 20100119
5 MAP_LOCAL_DATE_TIME_IN Static method Public Method Map LOCAL DateTime to ABAP fields Date & Time or Timestamp 20100119
6 MAP_LOCAL_DATE_TIME_OUT Static method Public Method Map ABAP fields Date & Time or Timestamp to LOCAL DateTime 20100119
7 MAP_OFFSET_DATE_TIME_IN Static method Public Method Map OFFSET DateTime to ABAP fields Date & Time or Timestamp 20100119
8 MAP_OFFSET_DATE_TIME_OUT Static method Public Method Map ABAP fields Date & Time or Timestamp to OFFSET DateTime 20100119
9 MAP_UTC_DATE_TIME_IN Static method Public Method Map UTC DateTime to ABAP fields Date & Time or Timestamp 20100119
10 MAP_UTC_DATE_TIME_OUT Static method Public Method Map ABAP fields Date & Time or Timestamp to UTC DateTime 20100119
Events
Class CL_BS_SOA_CONVERT_DATE_TIME has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_OFFSET Public See coding 20100119 TY_OFFSET(6) type c
2 TY_PATTERN Public See coding 20100119 TY_PATTERN(256) type c
3 TY_PATTERN_TYPE Public See coding 20100119 TY_PATTERN_TYPE(10) type c
Method Signatures

Method ADAPT_DATE_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20100119
2 Exporting EV_TIME Call by reference Type reference (TYPE) UZEIT Time 20100119
3 Importing IV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20100119
4 Importing IV_TIME Call by reference Type reference (TYPE) UZEIT Time 20100119

Method ADAPT_DATE_TIME on class CL_BS_SOA_CONVERT_DATE_TIME has no exception.

Method CHECK_CONVERT_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time Zone 20100121
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100121

Method CHECK_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PATTERN_TYPE Call by reference Type reference (TYPE) TY_PATTERN_TYPE 20100119
2 Importing IV_TEXT Call by reference Type reference (TYPE) CSEQUENCE 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method GET_OFFSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20100121
2 Importing IV_TIME Call by reference Type reference (TYPE) UZEIT Time 20100121
3 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time Zone 20100119
4 Returning RV_OFFSET Value transfer Type reference (TYPE) TY_OFFSET 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method MAP_LOCAL_DATE_TIME_IN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) DATS Date with respect to time zone of the receiver 20100119
2 Exporting EV_TIME Call by reference Type reference (TYPE) UZEIT Time with respect to time zone of the receiver 20100119
3 Exporting EV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL Timestamp with respect to time zone of the receiver 20100119
4 Importing IV_LOCAL_DATETIME Call by reference Type reference (TYPE) CSEQUENCE LOCAL DateTime: YYYY-MM-DDThh:mm:ss(.sss)? 20100119
5 Importing IV_SENDER_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time zone of the sender 20100119
6 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time zone of the receiver 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method MAP_LOCAL_DATE_TIME_OUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOCAL_DATETIME Call by reference Type reference (TYPE) CSEQUENCE LOCAL DateTime: YYYY-MM-DDThh:mm:ss(.sss)? 20100119
2 Importing IV_DATE Call by reference Type reference (TYPE) DATS Date with respect to time zone of the receiver 20100119
3 Importing IV_TIME Call by reference Type reference (TYPE) UZEIT Time with respect to time zone of the receiver 20100119
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL Timestamp with respect to time zone of the receiver 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method MAP_OFFSET_DATE_TIME_IN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) DATS Date with respect to time zone of the receiver 20100119
2 Exporting EV_TIME Call by reference Type reference (TYPE) UZEIT Time with respect to time zone of the receiver 20100119
3 Exporting EV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL Timestamp with respect to time zone of the receiver 20100119
4 Importing IV_OFFSET_DATETIME Call by reference Type reference (TYPE) CSEQUENCE LOCAL OFFSET DateTime: YYYY-MM-DDThh:mm:ss(.sss)?(+/-)hh:mm 20100119
5 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time zone of the receiver 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method MAP_OFFSET_DATE_TIME_OUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OFFSET_DATETIME Call by reference Type reference (TYPE) CSEQUENCE LOCAL OFFSET DateTime: YYYY-MM-DDThh:mm:ss(.sss)?(+/-)hh:mm 20100119
2 Importing IV_DATE Call by reference Type reference (TYPE) DATS Date with respect to time zone of the receiver 20100119
3 Importing IV_TIME Call by reference Type reference (TYPE) UZEIT Time with respect to time zone of the receiver 20100119
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL Timestamp with respect to time zone of the receiver 20100119
5 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time Zone of the receiver 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method MAP_UTC_DATE_TIME_IN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) DATS Date with respect to time zone of the receiver 20100119
2 Exporting EV_TIME Call by reference Type reference (TYPE) UZEIT Time with respect to time zone of the receiver 20100119
3 Exporting EV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL Timestamp with respect to time zone of the receiver 20100119
4 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time zone of the receiver 20100119
5 Importing IV_UTC_DATETIME Call by reference Type reference (TYPE) CSEQUENCE UTC DateTime: YYYY-MM-DDThh:mm:ss(.sss)?Z 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119

Method MAP_UTC_DATE_TIME_OUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_UTC_DATETIME Call by reference Type reference (TYPE) CSEQUENCE UTC DateTime: YYYY-MM-DDThh:mm:ss(.sss)?Z 20100119
2 Importing IV_DATE Call by reference Type reference (TYPE) DATS Date with respect to time zone of the receiver 20100119
3 Importing IV_TIME Call by reference Type reference (TYPE) UZEIT Time with respect to time zone of the receiver 20100119
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL Timestamp with respect to time zone of the receiver 20100119
5 Importing IV_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Time zone of the receiver 20100119
# Exception Resumable Description Created on
1 CX_BS_SOA_EXCEPTION Error message occurred 20100119
History
Last changed by/on SAP  20110908 
SAP Release Created in 702