Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

pooled table performance

Former Member
0 Likes
546

I have a statement like this , which is taking a lot of time.

SELECT MATNR DATAB KNUMH

FROM A005

APPENDING TABLE IT_COND

FOR ALL ENTRIES IN IT_ZCOSTHISTFINAL

WHERE KAPPL = 'V'

AND KSCHL = 'PR00'

AND MATNR = IT_ZCOSTHISTFINAL-MATNR.

how can i improve the performance of this statement

4 REPLIES 4
Read only

Former Member
0 Likes
503

Hi,

Try to pass the sales org VKORG and distribution channel VTWEG also..

Thanks,

Naren

Read only

0 Likes
503

there is not one sales organization

Read only

0 Likes
503

Its like i have a ztable for storing the material prices , one row in the table per one condition record. I am trying to compare the prices stored in the ztable with the prices in vk13 . so for every record in the ztable, i am getting the conditon record number in the access tables , and then taking price from KONP based on the condition record number. In that process i am accessing A005 also.

Read only

Former Member
0 Likes
503

Hi,

Are you saying you have many sales organizations..

Then build a range for the sales organzations and use it in the where clause..

Thanks,

Naren