Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding DATE Validation/Manipulation

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.

Tags:
Former Member
replied

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.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question