2006 Oct 12 9:59 AM
I have date range comming in my selection screen:
for eg: 23/08/2006 and 31/11/2006.
I need to validate these two dates in two select criteria.
a) For Daily -> I need the dates from 23/08/2006 to 31/08/2006.
b) For Monthly -> I need 09/2006 to 11/2006.
Can Anyone tell me how Do i go about this.
Thanks in Advance
Prince
I have date range comming in my selection screen:
for eg: 23/08/2006 and 31/11/2006.
I need to validate these two dates in two select criteria.
a) For Daily -> I need the dates from 23/08/2006 to 31/08/2006.
b) For Monthly -> I need 09/2006 to 11/2006.
Can Anyone tell me how Do i go about this.
Thanks in Advance
Prince
2006 Oct 12 10:07 AM
hi,
Put two radiabuttons in selection-screen. and validate the date based on the radiobutton selected.
ex:
if daily eq 'X'.
-
else.
-
endif.
2006 Oct 12 10:12 AM
Hi
Use the seltab values as such
if seltab-low lt '20060803'
ENDIF.
IF seltab-high gt'20060831'
ENDIF.
2006 Oct 12 10:18 AM
Hi ,
To validate the first field ie: sdate-low .
at selection-screen on sdate-low.
< here use the function module to get the last day of the month as entred in selection screen and take the day given in the selection screen .
check for the day between the two.
similarly for sdate-high.
at selection-screen on sdate-high.
<here use the function module to get the periods and check as per your requirement.
regards,
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |