Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module for TIMESTAMPL

Former Member
0 Likes
1,151

I have a function module SWN_UWL_GET_WORKLIST to get worklist.

It returns parameter WORKLIST of type UWLITEMLIST in which there is a field CREATED_TIME.

Now i want to extract YYYYMMDDhhmmss from this field. Is there any standard function module available for this?

as i dont want to do extraction.

Here CREATED_TIME is of type TIMESTAMPL (data element : DEC 21 7 UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun))

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
672

Hi NIdhi,

You can use this Function module to get desired output.

CONVERSION_EXIT_TSTPS_OUTPUT

By this you get your Date and Time exactly by truncating milli and micro seconds.

2 REPLIES 2
Read only

Former Member
0 Likes
673

Hi NIdhi,

You can use this Function module to get desired output.

CONVERSION_EXIT_TSTPS_OUTPUT

By this you get your Date and Time exactly by truncating milli and micro seconds.

Read only

Former Member
0 Likes
672

Hi Nidhi Sharma ,

use this FM to convert the time stamp to separate the date and time - ABI_TIMESTAMP_CONVERT_FROM

sample i/P :
IV_TIMESTAMP                    20,090,421,183,221
O/P 
 O_DATE                          04/21/2009
 O_TIME                          20:32:21

regards,

chinnaiya P