2013 Sep 25 9:53 PM
Hi All,
We are using the SAP conversion routine TSTLC, at the domain level to convert short time stamps (data element TZNTSTMPS) from this:
20,121,016,110,336
to a more readable format:
10/16/2012 11:03:36
Does anyone know if there is a similar conversion routine for long time stamps (data element TZNTSTMPL)? I am not able to find one.
Regards,
Steve
2013 Sep 26 1:10 AM
Hi Steve,
Check the class CL_ABAP_TSTMP, that might help you in creating a custom function module/Class to fulfill your requirement.
2013 Sep 26 6:38 AM
Hi,
you can check fm VELO03_CONVERT_FROM_TIMESTAMP.
Regards,
Klaus
2013 Sep 26 6:58 AM
You can use ABI_TIMESTAMP_CONVERT_FROM.
or you may use:
WRF_PBAS_TIMESTAMP_TO_DATE
WSUBST_TIMESTAMP_TO_DATE
TRM_TIMESTAMP_CONVERT_FROM
IB_CONVERT_FROM_TIMESTAMP