‎2007 Jul 04 2:10 PM
Hallo,
does anbody know what following "*"-construct may mean?
SELECT * FROM tableA INTO itag
WHERE kokrs = *zckstsapmzb21-kokrs
AND lstar = *zckstsapmzb21-lstar...
Is the * an element of the operator?
Thx,
Marcel
‎2007 Jul 04 2:21 PM
SELECT * FROM tableA INTO itag -> " * points all fields in the table
WHERE kokrs = *zckstsapmzb21-kokrs " but here * is not valid operator
AND lstar = *zckstsapmzb21-lstar...reward points if it is usefull
Girish
‎2007 Jul 04 2:12 PM
Hi,
when u r specifying SELECT * FROM tableA , u r selecting all the fields from that particular table.
‎2007 Jul 04 2:13 PM
Select *
implies, <b>select all the records from the database table.</b>
However we shouldn't have any '*' operator in the where condition.
Regards,
Pavan P.
‎2007 Jul 04 2:14 PM
in front of table corresponds to work area, chk this code
REPORT ychatest.
TABLES : mara , <b>*mara.</b>
DATA : itab TYPE TABLE OF mara.
SELECT * FROM mara INTO TABLE itab
WHERE matnr = <b>*mara-matnr.</b>
‎2007 Jul 04 2:21 PM
SELECT * FROM tableA INTO itag -> " * points all fields in the table
WHERE kokrs = *zckstsapmzb21-kokrs " but here * is not valid operator
AND lstar = *zckstsapmzb21-lstar...reward points if it is usefull
Girish
‎2007 Jul 04 2:37 PM
thx,
i mean the * at the front of a table/variable etc. Not the * in the selct clause.
we have some programs with such * and they are correct. syntax-check is okay.
anybody an idea?
‎2007 Jul 04 2:44 PM
<b>have you checked my solution,</b>
in front of a struture represents a structure(Work area) in old versions , it is obsolete now..
so they are checking the value from that work area..
‎2007 Jul 04 2:56 PM