2008 Nov 17 12:59 PM
Hi,
The following statement is going for full table scan.
SELECT MANDT MOLGA TRFGB TGBTX
from t510g
INTO TABLE it_payareatxt.
Kindly suggest any modifications can we do to this statement to avoid full table scan.
Hi,
The following statement is going for full table scan.
SELECT MANDT MOLGA TRFGB TGBTX
from t510g
INTO TABLE it_payareatxt.
Kindly suggest any modifications can we do to this statement to avoid full table scan.
2008 Nov 17 1:03 PM
2008 Nov 17 1:14 PM
Hi,
SELECT <Field-names>
FROM <table-name>
INTO TABLE <tab-name>
WHERE <Condition>
Thanks
NItesh
2008 Nov 17 2:12 PM
Example of a single scan:
DATA wa TYPE sflight.
DATA seatsfree TYPE I.
SELECT SINGLE * FROM sflight INTO wa
WHERE
carrid = 'LH ' AND
connid = '0400' AND
fldate = '20010228'.
FLDATE = '19950228'.
seatsfree = wa-seatsmax - wa-seatsocc.
WRITE: / wa-carrid, wa-connid, wa-fldate, seatsfree.Regards,
Ali
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |