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

re: time format

Former Member
0 Likes
632

Hi,

Iam implementing exits. I am reading using

dynpvaluesread fm one date field from screen. but is coming in this form 12:00:00. So i want to convert this time format to sy-uzeit format. Is there any fmodule to do this.

rgds

p.kp

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
597

Hi Use

CONVERT_TIME_INPUT for time conversion

regards

vijay

5 REPLIES 5
Read only

Former Member
0 Likes
598

Hi Use

CONVERT_TIME_INPUT for time conversion

regards

vijay

Read only

Former Member
0 Likes
597

Hi Prasad,

Check these function modules may be it will help you.

<b>IB_CONVERT_INTO_TIMESTAMP</b>

<b>RKE_TIMESTAMP_CONVERT_INPUT</b>

Thanks & Regards,

Siri.

Read only

Former Member
0 Likes
597

Try this FM CONVERT_TIME_INPUT.

Read only

venkata_ramisetti
Active Contributor
0 Likes
597

Hi,

You can do the following...

DATA: V_TIME(8), V_TIME1(8).

DATA: V_UZEIT LIKE SY-UZEIT.

CONCATENATE V_TIME5(2) V_TIME2(2) V_TIME+0(2)

INTO V_TIME1.

V_UZEIT = V_TIME1.

You can use v_uzeit.

12:00:00

Thanks,

Ramakrishna

Read only

Former Member
0 Likes
597

hi

chek this

CONVERT_TIME_INPUT Convert a time from external to internal format

function group SCON Conversion to internal/external format

cheers