05-10-2006 10:27 PM
Hi All,
If I have selection screen variable as 'SERDAT'. How should I get starting and ending values of ERDAT. Is it somthing like SERDAT_LOW and SERDAT_HIGH.
Thanks
Veni.
05-10-2006 10:47 PM
SERDAT-LOW indicates starting value and SERDAT-HIGH indicate ending value.
Nilesh
05-10-2006 10:47 PM
SERDAT-LOW indicates starting value and SERDAT-HIGH indicate ending value.
Nilesh
05-10-2006 10:52 PM
Hi Veni,
Try SERDAT-LOW and SERDAT-HIGH.
Hope it helps.
Regards,
Gilberto Li
05-10-2006 11:54 PM
Hi Veni
Select option SERDAT will be handled as a internal table in SAP. At run time (debugging mode) you can see the structure of the SERDAT internal table. SERDAT table has 4 fields SIGN, OPTION, LOW and HIGH.
SERDAT-LOW is the lower limit assignment of date.
SERDAT-HIGH is the higher limit assignment of date.
You can use this select-option in SQL queries with IN operator. SQL query with this condition check will fetch all the records between specified date range given in select-option.
Bala