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

updating time

Former Member
0 Likes
646

dear sir/madam

how to update the time in screenpainter and also send me the coding

dear sir/madam

how to update the time in screenpainter and also send me the coding

4 REPLIES 4
Read only

Former Member
0 Likes
624

You meant o say you have screen and you want to display updated time on it or something else?

Shweta

Read only

Former Member
0 Likes
624

create that field of type sy-uzeit.

Go to element list of that screen and mark that input field so that it will not allow to enter time in that screen to make that filed as output field for SYST-UZEIT

Read only

Former Member
0 Likes
624

create screen program ..then

there will be PBO AND PAI...

in PBO

Module time .

double click on module time .....then write

module time .

time = sy-uzeit .

end module .

activate it ...

so that when ever the screen is displayed the system time will be supplied to time field

time .... the time field is there in the screen as parameter ....

if you want to stored it in the table ... then you have to write the logic for saving , updating .... deleting in the PAI module...

Girish

Read only

Former Member
0 Likes
624

Hi,

If u meant to say to display time on the screen(screen painter) ,

then in the screen painter add a i/o field and name it as SYST-UZEIT

and when u run the time will be displayed.

no need of writing any code in either in PAI or in PBO.

reward points if helpfull.

regards,

subramanya

Message was edited by:

subramanya swamy