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 | Constant | Public | See coding | 20100119 | |||||
| 2 | Constant | Public | See coding | 20100119 | |||||
| 3 | Constant | Public | Type reference (TYPE) | TIMEZONE | ' ' | Time Zone | 20100119 | ||
| 4 | Constant | Public | Type reference (TYPE) | TIMEZONE | 'UTC' | Time Zone | 20100119 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Adapt date and time at 24:00:00 | 20100119 | |
| 2 | Static method | Private | Method | check, if CONVERT statement was executed succesfully | 20100121 | |
| 3 | Static method | Private | Method | Check GDT pattern | 20100119 | |
| 4 | Static method | Private | Method | Get offset for timezone to UTC | 20100119 | |
| 5 | Static method | Public | Method | Map LOCAL DateTime to ABAP fields Date & Time or Timestamp | 20100119 | |
| 6 | Static method | Public | Method | Map ABAP fields Date & Time or Timestamp to LOCAL DateTime | 20100119 | |
| 7 | Static method | Public | Method | Map OFFSET DateTime to ABAP fields Date & Time or Timestamp | 20100119 | |
| 8 | Static method | Public | Method | Map ABAP fields Date & Time or Timestamp to OFFSET DateTime | 20100119 | |
| 9 | Static method | Public | Method | Map UTC DateTime to ABAP fields Date & Time or Timestamp | 20100119 | |
| 10 | 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 | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100119 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time | 20100119 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100119 | |||
| 4 | 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 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time Zone | 20100121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100121 |
Method CHECK_PATTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PATTERN_TYPE | Call by reference | Type reference (TYPE) | TY_PATTERN_TYPE | 20100119 | ||||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100119 |
Method GET_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100121 | |||
| 2 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time | 20100121 | |||
| 3 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time Zone | 20100119 | |||
| 4 | RV_OFFSET | Value transfer | Type reference (TYPE) | TY_OFFSET | 20100119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100119 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100119 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100119 | |||
| 4 | IV_LOCAL_DATETIME | Call by reference | Type reference (TYPE) | CSEQUENCE | LOCAL DateTime: YYYY-MM-DDThh:mm:ss(.sss)? | 20100119 | |||
| 5 | IV_SENDER_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the sender | 20100119 | |||
| 6 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the receiver | 20100119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_LOCAL_DATETIME | Call by reference | Type reference (TYPE) | CSEQUENCE | LOCAL DateTime: YYYY-MM-DDThh:mm:ss(.sss)? | 20100119 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100119 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100119 | |||
| 4 | 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 | 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 | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100119 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100119 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100119 | |||
| 4 | IV_OFFSET_DATETIME | Call by reference | Type reference (TYPE) | CSEQUENCE | LOCAL OFFSET DateTime: YYYY-MM-DDThh:mm:ss(.sss)?(+/-)hh:mm | 20100119 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the receiver | 20100119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_OFFSET_DATETIME | Call by reference | Type reference (TYPE) | CSEQUENCE | LOCAL OFFSET DateTime: YYYY-MM-DDThh:mm:ss(.sss)?(+/-)hh:mm | 20100119 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100119 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100119 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100119 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time Zone of the receiver | 20100119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100119 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100119 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100119 | |||
| 4 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the receiver | 20100119 | |||
| 5 | 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 | 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 | EV_UTC_DATETIME | Call by reference | Type reference (TYPE) | CSEQUENCE | UTC DateTime: YYYY-MM-DDThh:mm:ss(.sss)?Z | 20100119 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100119 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100119 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100119 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the receiver | 20100119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100119 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |