Skip to Content
0
Former Member
Sep 10, 2007 at 03:55 AM

how to solve

29 Views

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.