SAP ABAP Class CL_BS_SOA_CONVERT_XSDDATETIME (Date Time conversions based on XSD domains)
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_XSDDATETIME | |
| Short Description | Date Time conversions based on XSD domains | |
| 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 | 20100120 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_BS_SOA_CONVERT_XSDDATETIME has no forward declaration.
Interfaces
Class CL_BS_SOA_CONVERT_XSDDATETIME has no interface implemented.
Friends
Class CL_BS_SOA_CONVERT_XSDDATETIME has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TIMEZONE | ' ' | Time Zone | 20100120 | ||
| 2 | Constant | Private | Type reference (TYPE) | TIMEZONE | 'UTC' | Time Zone | 20100120 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Adapt date and time at 24:00:00 | 20100120 | |
| 2 | Static method | Private | Method | check, if CONVERT statement was executed succesfully | 20100121 | |
| 3 | Static method | Private | Method | Get OFFSET for timezone to UTC | 20100121 | |
| 4 | Static method | Private | Method | Calculate UTC time stamp from local time stamp and OFFSET | 20100121 | |
| 5 | Static method | Public | Method | Inbound mapping XSDDATETIME_LOCAL to Date and Time | 20100120 | |
| 6 | Static method | Public | Method | Inbound mapping Date and Time to XSDDATETIME_LOCAL | 20100120 | |
| 7 | Static method | Public | Method | Inbound mapping XSDDATETIME_LONG_Z to Date and Time | 20100120 | |
| 8 | Static method | Public | Method | Outbound mapping Date and Time to XSDDATETIME_LONG_Z | 20100120 | |
| 9 | Static method | Public | Method | Inbound mapping XSDDATETIME_OFFSET to Date and Time | 20100120 | |
| 10 | Static method | Public | Method | Inbound mapping Date and Time to XSDDATETIME_OFFSET | 20100120 | |
| 11 | Static method | Public | Method | Inbound mapping XSDDATETIME_Z to Date and Time | 20100120 | |
| 12 | Static method | Public | Method | Inbound mapping Date and Time to XSDDATETIME_Z | 20100120 |
Events
Class CL_BS_SOA_CONVERT_XSDDATETIME has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_XSD_OFFSET | Public | See coding | 20100121 | TY_XSD_OFFSET(4) 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 | 20100120 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time | 20100120 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100120 | |||
| 4 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time | 20100120 |
Method ADAPT_DATE_TIME on class CL_BS_SOA_CONVERT_XSDDATETIME 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 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 | 20100121 | |||
| 4 | RV_OFFSET | Value transfer | Type reference (TYPE) | TY_XSD_OFFSET | 20100121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100121 |
Method GET_UTC_TIMESTAMP_FROM_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_OFFSET | XSDDATETIME_OFFSET | 20100121 | |||
| 2 | RV_UTC_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMPL | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20100121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100121 |
Method MAP_XSDDATETIME_LOCAL_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 | 20100120 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_SENDER_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the sender | 20100120 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the receiver | 20100120 | |||
| 6 | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LOCAL | XSDDATETIME_LOCAL | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_LOCAL_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LOCAL | XSDDATETIME_LOCAL | 20100120 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_LONG_Z_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 | 20100120 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 | |||
| 5 | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LONG_Z | XSDDATETIME_LONG_Z | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_LONG_Z_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LONG_Z | XSDDATETIME_LONG_Z | 20100120 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timezone of the receiver | 20100120 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timestamp with respect to time zone of the receiver | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_OFFSET_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 | 20100120 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 | |||
| 5 | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_OFFSET | XSDDATETIME_OFFSET | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_OFFSET_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_OFFSET | XSDDATETIME_OFFSET | 20100120 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time Zone of the receiver | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_Z_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 | 20100120 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 3 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Timestamp with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 | |||
| 5 | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_Z | XSDDATETIME_Z | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
Method MAP_XSDDATETIME_Z_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_Z | XSDDATETIME_Z | 20100120 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Timestamp with respect to time zone of the receiver | 20100120 | |||
| 5 | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error message occurred | 20100120 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 702 |