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
⤷ 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 | GC_TZ_SPACE | Constant | Private | Type reference (TYPE) | TIMEZONE | ' ' | Time Zone | 20100120 | |
2 | GC_TZ_UTC | Constant | Private | Type reference (TYPE) | TIMEZONE | 'UTC' | Time Zone | 20100120 |
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 | 20100120 |
2 | CHECK_CONVERT_COMMAND | Static method | Private | Method | check, if CONVERT statement was executed succesfully | 20100121 |
3 | GET_OFFSET | Static method | Private | Method | Get OFFSET for timezone to UTC | 20100121 |
4 | GET_UTC_TIMESTAMP_FROM_OFFSET | Static method | Private | Method | Calculate UTC time stamp from local time stamp and OFFSET | 20100121 |
5 | MAP_XSDDATETIME_LOCAL_IN | Static method | Public | Method | Inbound mapping XSDDATETIME_LOCAL to Date and Time | 20100120 |
6 | MAP_XSDDATETIME_LOCAL_OUT | Static method | Public | Method | Inbound mapping Date and Time to XSDDATETIME_LOCAL | 20100120 |
7 | MAP_XSDDATETIME_LONG_Z_IN | Static method | Public | Method | Inbound mapping XSDDATETIME_LONG_Z to Date and Time | 20100120 |
8 | MAP_XSDDATETIME_LONG_Z_OUT | Static method | Public | Method | Outbound mapping Date and Time to XSDDATETIME_LONG_Z | 20100120 |
9 | MAP_XSDDATETIME_OFFSET_IN | Static method | Public | Method | Inbound mapping XSDDATETIME_OFFSET to Date and Time | 20100120 |
10 | MAP_XSDDATETIME_OFFSET_OUT | Static method | Public | Method | Inbound mapping Date and Time to XSDDATETIME_OFFSET | 20100120 |
11 | MAP_XSDDATETIME_Z_IN | Static method | Public | Method | Inbound mapping XSDDATETIME_Z to Date and Time | 20100120 |
12 | MAP_XSDDATETIME_Z_OUT | 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 | Exporting | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100120 | ||
2 | Exporting | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time | 20100120 | ||
3 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100120 | ||
4 | Importing | 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 | 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 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 | 20100121 | ||
4 | Returning | RV_OFFSET | Value transfer | Type reference (TYPE) | TY_XSD_OFFSET | 20100121 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Importing | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_OFFSET | XSDDATETIME_OFFSET | 20100121 | ||
2 | Returning | RV_UTC_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMPL | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | 20100121 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
2 | Exporting | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
3 | Exporting | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_SENDER_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the sender | 20100120 | ||
5 | Importing | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time zone of the receiver | 20100120 | ||
6 | Importing | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LOCAL | XSDDATETIME_LOCAL | 20100120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LOCAL | XSDDATETIME_LOCAL | 20100120 | ||
2 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
3 | Importing | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
4 | Importing | 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 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
2 | Exporting | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
3 | Exporting | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 | ||
5 | Importing | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LONG_Z | XSDDATETIME_LONG_Z | 20100120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_LONG_Z | XSDDATETIME_LONG_Z | 20100120 | ||
2 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
3 | Importing | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timezone of the receiver | 20100120 | ||
5 | Importing | 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 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
2 | Exporting | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
3 | Exporting | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 | ||
5 | Importing | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_OFFSET | XSDDATETIME_OFFSET | 20100120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_OFFSET | XSDDATETIME_OFFSET | 20100120 | ||
2 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
3 | Importing | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMPL | Timestamp with respect to time zone of the receiver | 20100120 | ||
5 | Importing | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Time Zone of the receiver | 20100120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
2 | Exporting | EV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
3 | Exporting | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Timestamp with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 | ||
5 | Importing | IV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_Z | XSDDATETIME_Z | 20100120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | 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 | Exporting | EV_XSD_DATETIME | Call by reference | Type reference (TYPE) | XSDDATETIME_Z | XSDDATETIME_Z | 20100120 | ||
2 | Importing | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Date with respect to time zone of the receiver | 20100120 | ||
3 | Importing | IV_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time with respect to time zone of the receiver | 20100120 | ||
4 | Importing | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Timestamp with respect to time zone of the receiver | 20100120 | ||
5 | Importing | IV_TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Timezone of the receiver | 20100120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_BS_SOA_EXCEPTION | Error message occurred | 20100120 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 702 |