CONVERT_JAVA_TIMESTAMP_TO_ABAP SAP Method Converts a JAVA Timestamp into ABAP Date/Time Format
Below is documentation, parameters and attributes of ABAP Method CONVERT_JAVA_TIMESTAMP_TO_ABAP within SAP class CL_PCO_UTILITY. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PCO_UTILITY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CONVERT_JAVA_TIMESTAMP_TO_ABAP can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT_JAVA_TIMESTAMP_TO_ABAP
.Name | Type | Data Type | Description | Default Value |
IV_TIMESTAMP | Importing | TYPE STRING | Time in Milliseconds Since 1.1.1970, 00:00:00 GMT | |
EV_DATE | Exporting | TYPE SYDATE | Date Data Element for SYST | |
EV_MSEC | Exporting | TYPE NUM03 | Remaining Milliseconds | |
EV_TIME | Exporting | TYPE SYUZEIT | Date and Time, Current Application Server Time |
Exceptions of Method CONVERT_JAVA_TIMESTAMP_TO_ABAP
This method does not have any exceptionsExample ABAP coding
DATA: lv_EV_DATE TYPE SYDATE,
lv_EV_MSEC TYPE NUM03,
lv_EV_TIME TYPE SYUZEIT,
lv_IV_TIMESTAMP TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_PCO_UTILITY=>CONVERT_JAVA_TIMESTAMP_TO_ABAP(
EXPORTING
IV_TIMESTAMP = lv_IV_TIMESTAMP
IMPORTING
EV_DATE = lv_EV_DATE
EV_MSEC = lv_EV_MSEC
EV_TIME = lv_EV_TIME ).
Links to Related Class(s)
CL_PCO_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects