Hi experts
I used the following code in my program, but it leads to dump error says that time exeeds, how to change this query and what could be the reason for this.
pls advise me on this. thanks in advance.
Regards
Rajaram
if zdate-high is not initial.
select OBJECTCLAS
OBJECTID
CHANGENR
UDATE
UTIME
TCODE
from cdhdr
into corresponding fields of table it2
for all entries in it1
where
OBJECTCLAS = it1-OBJECTCLAS and
OBJECTID = it1-OBJECTID and
CHANGENR = it1-CHANGENR and
TCODE = 'VA02' and
( UDATE BETWEEN ZDATE-LOW AND ZDATE-HIGH ).
else.
select OBJECTCLAS
OBJECTID
CHANGENR
UDATE
UTIME
TCODE
from cdhdr
into corresponding fields of table it2
for all entries in it1
where
OBJECTCLAS = it1-OBJECTCLAS and
OBJECTID = it1-OBJECTID and
CHANGENR = it1-CHANGENR and
TCODE = 'VA02' and
( UDATE = ZDATE-LOW ).
endif.