Skip to Content
0
Former Member
Feb 18, 2009 at 07:21 PM

Using corresponding statement

16 Views

Hi All,

I am working on a report... in that particular report there are many places where the code has been written as follows:

SELECT  *
         APPENDING CORRESPONDING FIELDS OF TABLE t_zztest
         FROM   zztest
    where lgort = s_lgort.
sort t_zztest by lgort.

DATA BEGIN OF T_ZZtest OCCURS 0.
       INCLUDE STRUCTURE ZZtest.

SO I was just wondering if rather than using the appendind statment...

can I write like this..

SELECT  *
         APPENDING TABLE t_zztest
         FROM   zztest
    where lgort = s_lgort.
sort t_zztest by lgort.
binary search.      " can I add this

Thanks,

Rajeev