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

Clock Program

Former Member
0 Likes
1,084

Hi,

Can anybody please help me in doing a clock program.

Thanks, Ahmed.

7 REPLIES 7
Read only

GauthamV
Active Contributor
0 Likes
931

hi,

use this function module.

F4_CLOCK.

Read only

Former Member
0 Likes
931

hi

use 'SAPGUI_PROGRESS_INDICATOR' Function module .

if you say u r requirement clearly it is helpful others for providing exact solution to you .

regards

chinnaiya

Read only

0 Likes
931

Hi,

I just want to display digital clock in a list or screen.

Thanks, Ahmed.

Read only

0 Likes
931

Ahmed,refer above link,it will resolve your problem.

Regards,

Syf

Read only

Former Member
0 Likes
931

Hi Ahmed,

Check this link,may be useful

Regards,

Syf

Read only

Former Member
0 Likes
931

Dear Ahmed,

Try using the code below.

DATA d_time TYPE SY-UZEIT.

CALL FUNCTION 'F4_CLOCK'

EXPORTING

start_time = sy-uzeit

display = ' '

IMPORTING

selected_time = d_time.

In case you would like to display the time for a specific location, you can use the function modle - 'TZ_LOCATION_SYSTEMCLOCK' instead.

The system variable 'sy-timlo' contains the time for the user. You can use it directly in your program. Hope this solves your problem.

Regards,

Nimish

Read only

Former Member