We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Optimize a Select from vbap

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from kabil on Jun 10 at 12:24 AM
SELECT * FROM VBAK as A
INNER JOIN vbap AS b
INTO CORRESPONDING FIELDS OF TABLE it_vbap
ON a~vbeln = b~vbeln

FOR ALL ENTRIES IN it_final
WHERE a~matnr = it_final-matnr
AND a~erdat IN so_erdat
AND b~vbtyp = 'C'.

Try these code

---------------Original Message---------------
From: ebongue andre
Sent: Wednesday, June 04, 2014 7:54 AM
Subject: Optimize a Select from vbap

Hi Folks,

I'm dying with a performance for query in vbap.
How can I change it in other to gain in performance?
I start thinking that using a join and a for all entries is not such a good idea... :(

SELECT * FROM vbap AS a
INNER JOIN vbak AS b
ON a~vbeln = b~vbeln
INTO CORRESPONDING FIELDS OF TABLE it_vbap
FOR ALL ENTRIES IN it_final
WHERE a~matnr = it_final-matnr
AND a~erdat IN so_erdat
AND b~vbtyp = 'C'.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
kabil  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language