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

system time and date

Former Member
0 Likes
848

hi frds

in my report i wants to display system time and date in right top page ?

kindly tell me how to do .

thanks

Pari Vendhan.R

8 REPLIES 8
Read only

Former Member
0 Likes
828

Hi,

On top of page event, use write:/ sy-datum, sy-uzeit.

Reward Points if Useful.

Thanks,

Anita

Read only

0 Likes
828

use system variables

sy-datum. for date

sy-uzeit. for time

Read only

Former Member
0 Likes
828

Hi,

if its a classic report

TOP-OF-PAGE.
write : 120 'Date :' , sy-datum.
write : /120 'Time :' , sy-uzeit.

if its an ALV report.

[http://www.sapdev.co.uk/reporting/alv/alvgrid_rephead.htm]

Cheers,

jose.

Edited by: jose on Feb 21, 2008 6:22 AM

Read only

Former Member
0 Likes
828

Hi,

If it is clasical report,

First you code below statements and go for next output.

WRITE : /0(200) 'DATE :' ,SY_DATUM.

WRITE : /0(200) 'DATE :' ,SY_UZEIT.

Read only

Former Member
0 Likes
828

Hi,

A u want system date and time to be output on ur Top of list..

When u r writing the prgm with Start-of-selection event fot the first Write statement

the Top-of-page event is triggered and u declare the System fields i.e.,

Sy-datum, Sy-uzeit in write statement.

Read only

Former Member
0 Likes
828

use sy-datum for date and sy-uzeit for time

Read only

Former Member
0 Likes
828

hi,

use top-of-page event

write:40(6) sy-datum.50(6) sy-uzeit.

40(8) and 50(8) depends upon the where date and time should be placed

sy-datum will be positioned 40 th position and time will be positioned from 50 th positioned

Read only

Former Member
0 Likes
828

Hi,

in the program

Top-of-page.

write : sy-datum,

sy-uzeit.