04-13-2006 4:03 PM
Hi,
I have 3 dates 1 date i will fetch from one table <b>Delivery Date[VBEP-EDATU]</b> and another 2 dates from my <b>Z</b> Table as <b>Start Date[GANDA],End Date[GENDA].</b>
Now the validation i have to do over here is if the <b>Delivery Date</b> is outside the range of <b>Start and End Dates</b> i need to issue a warning message.
What would be the exact condition over here.
Can anybody suggest!
Thanks in advance.
Thanks & Regards,
Prasad.
04-13-2006 4:09 PM
Hi,
Try this coding.
ranges : r_date for sy-datum.
r_date-low = GANDA.
r_date-high = GENDA.
r_date-sign = 'I'.
r_date-option = 'BT'.
Append r_date.
If VBEP-EDATU IN r_date.
else.
*Then Issue a warning message.
endif.
Regards,
GSR.
04-13-2006 4:06 PM
Hello,
IF not deliverydate BETWEEN stdate AND enddate.
warning.
ENDIF.
regards,
Naimesh
04-13-2006 4:09 PM
Hi,
Try this coding.
ranges : r_date for sy-datum.
r_date-low = GANDA.
r_date-high = GENDA.
r_date-sign = 'I'.
r_date-option = 'BT'.
Append r_date.
If VBEP-EDATU IN r_date.
else.
*Then Issue a warning message.
endif.
Regards,
GSR.
04-13-2006 4:15 PM
Hi,
Can i use above solution [Range] to below condition also!
<b>Assignment date is not inside start and end dates</b>
Thanks,
Prasad.
04-13-2006 4:21 PM
U can use the same range.
if assignment_date in r_date.
else.
*issue message
endif.