this is my part of coding, this is the place where my program goes to dump for time exceeds.
how to correct this coding and how about the performance of the tables cdhdr and cdpos.
pls suggest me on this.
Regards
Rajaram
loop at it1.
if zdate-high is not initial.
select single CHANGENR UDATE UTIME
from cdhdr
into (it1-CHANGENR1 , it1-UDATE , it1-UTIME)
where CHANGENR = it1-CHANGENR and
UDATE BETWEEN ZDATE-LOW AND ZDATE-HIGH.
IF SY-SUBRC = 0.
modify it1.
ELSE.
DELETE IT1.
ENDIF.
else.
select single CHANGENR UDATE UTIME
from cdhdr
into (it1-CHANGENR1 , it1-UDATE , it1-UTIME)
where CHANGENR = it1-CHANGENR and
UDATE = ZDATE-LOW.
IF SY-SUBRC = 0.
modify it1.
ELSE.
DELETE IT1.
ENDIF.
endif.
endloop.