‎2007 Sep 04 8:35 AM
HI.
am using date field in select-options. i want to display date on that field how to do this ..
Ex :
date 01.01.2007 to 31.01.2007.
Regards
Prajwal.
‎2007 Sep 04 8:42 AM
you can use the intialization event to write values to selection screen variable
initialization.
so_date-sign = 'I'.
so_date-options = 'EQ'.
so_date-low = '02.02.2007'.
so_date-high = '04.09.2007'.
append so_date.Regards
Gopi
‎2007 Sep 04 8:38 AM
if your select-options is called SO_DATUM
you just do:
WRITE: / 'Date:', so_datum-low DD/MM/YYYY, 'to', so_datum-high DD/MM/YYYY.
‎2007 Sep 04 8:42 AM
‎2007 Sep 04 8:42 AM
you can use the intialization event to write values to selection screen variable
initialization.
so_date-sign = 'I'.
so_date-options = 'EQ'.
so_date-low = '02.02.2007'.
so_date-high = '04.09.2007'.
append so_date.Regards
Gopi
‎2007 Sep 04 8:43 AM
Hi,
u can do this in initialization event.
select-options : s_date for ekko-aedat.
initialization.
s_date-sign = 'I'.
s_date-option = 'BT'.
s_date-low = ' 01.01.2007 '.
s_date-high = ' 31.01.2007'.
append s_date.
Regards,
nagaraj
‎2007 Sep 04 8:53 AM
Hi
You can do it by using initialization event by assigning low = 01.01.2007 and high=31.01.2007.
And you can create a variant in selection screen by entering the values in the low and high options whatever dates you want and you can create a variant and maintain it you can use it anytime you want to create variant
in your selection screen enter the required dates and select GOTO in the menu and select Variants and give a name and every time you come to selection screen you will find an additional icon on application toolbar you just click on that and select your variant the dates will be assigned.
Regards
Tharanatha
‎2007 Sep 04 9:13 AM
Hi Prajwal..
Do this way...
select-options : s_date for sy-datum.
Initialization.
s_date-sign = 'I'.
s_date-option = 'BT'.
s_date-low = ' 20070101 '.
s_date-high = ' 20070131'.
append s_date.
<b>reward if Helpful</b>
‎2007 Sep 04 9:29 AM