‎2008 Feb 28 4:00 PM
Does any one know why do we put start (*) sometimes 2 declare work areas, eg watts the diff between
TABLES: sadr and
TABLES: *sadr
Thanks
Sameer
‎2008 Feb 28 4:11 PM
Hi
It mean it needs to use the workarea of the same table twice.
TABLES: <TABLE>,
*<TABLE>.It's like to define:
TABLES: <TABLE>.
DATA: WA TYPE <TABLE>.In the samples it declares two workarea based on the same structure.
SELECT * FROM SADR WHERE .....
IF SADR-<FIELD> = ............
SELECT * FROM *SADR WHERE .....In this way I can do two queries for the same table and store the result in two different workarea without to lose the result of the first query.
Max
‎2008 Feb 28 7:14 PM