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

at selection screen

Former Member
0 Likes
341

Hi,

In my selection screen I have date and time fields as selection, First time I will enter date and time manually then it will update

date and time values in ztables. But for next run of the program it has to get from_date and from_time values from ztables

But to_date will be sy-datum , to_time will by sy_uzeit .

Example : selection screen :

1st run: From_date : 12.04.2010 to_date : sy-datum

from_time : 14:20:00 to_time : sy-uzeit.

after execution of the program ( to_date ) and ( to_time ) will be saved in ztables.

for next run of this program , instead of taking from selection it has to take it from ztables as from_date and from_time

again to_date and to_time will be sy-datum and sy_uzeit. again update in ztables.

I need to use this manually execution as well as background job .

Please help me on this.

Thanks,

Vinay.

1 ACCEPTED SOLUTION
Read only

Subhankar
Active Contributor
0 Likes
308

Hi,

1. At INITIALIZATION event select the date time from the custom table. If found assign the values to the selection screen field.

2. After execution update the custom table with current date time.

BR

Subhankar

1 REPLY 1
Read only

Subhankar
Active Contributor
0 Likes
309

Hi,

1. At INITIALIZATION event select the date time from the custom table. If found assign the values to the selection screen field.

2. After execution update the custom table with current date time.

BR

Subhankar