Hi,
I've searched the whole SDN but i could not find the answer for this.
I want to substract two dates and get the return value as a date only.
For example:
Data : v_date1 type sy-datum default '20090702',
v_date2 type sy-datum default '20090602',
v_date TYPE sy-datum.
After the execution of below code,
v_date = v_date1 - v_date2.
I get the value for v_date as 0.
And if i take the v_date as type I, it is giving me the differennce in dates but not a Date.
I want to get the difference as date only such as 20090702.
Please help me to get this.
Thanks,
Shamim