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 R. N. Wilhite on Jun 5 at 10:57 AM
Part of the answer has to depend on what manipulations have been done
to it_final.
What would those be?

Neal

---------------Original Message---------------
From: halil kinik
Sent: Thursday, June 05, 2014 10:17 AM
Subject: Optimize a Select from vbap

Hi,

I think this code is faster than "all entries".

SELECT ..........
FROM mara AS a
INNER JOIN makt AS b ON b~matnr = a~matnr
And b~spras = sy-langu
Inner join vbap as c on c~matnr = a~matnr "this will be vbap_vapma for better performance
Inner join vbak as d on d~vbeln = c~vbeln
INTO CORRESPONDING FIELDS OF TABLE it_mat
WHERE a~matnr IN so_matnr
AND a~mstae IN so_mstae
AND a~mtart IN so_mtart
AND c~erdat IN so_erdat
AND d~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
R. N. Wilhite  

IT/IS Manager
37 achievements
 
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