on 05-14-2016 9:47 AM
Hi All,
I have simple queries like following.
SELECT VBELN
POSNR
MATNR
ERDAT
INTO TABLE LT_VBRP_OR
FROM VBRP
FOR ALL ENTRIES IN LT_POPIN_N
WHERE MATNR EQ LT_POPIN_N-MATNR.
SELECT VBELN
POSNR
MATNR
AEDAT
INTO TABLE LT_LIPS_OR
FROM LIPS
FOR ALL ENTRIES IN LT_POPIN_N
WHERE MATNR EQ LT_POPIN_N-MATNR.
each query taking about 20 seconds to process. LT_POPIN_N may contain maximum of 5 records.
Am facing too much performance problem. Please anyone guide me in an optimized way.
Hi koushik,
Please check for secondary indexes in the table and try to make the where condition bases on secondary indexes or primary key fields. You can also create secondary indexes as needed in the tables.
Regards,
Ajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.