Dear All,
when I try to run this ,
REPORT ZAK_SOLUTION4.
data: i1 type i,mon(2) type c, i2 type i , year(4) type c.
select-options : date1 for sy-datum,
date2 for sy-datum no intervals,
ccode for i1.
note I have to do the following due to conversion rules in ABAP.
write : date1-low+4(2) to mon(2).
write date1-low+5(3) to year. <----
note this
write : mon,year.
i2 = mon.
write i2.
************************************
I want to do 5(4) in the above mentioned line , but it says 54 > 8 . Can someone point out my silly mistake ?
Thanks,
Ashim