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] Performance Issue FAGLFLEXA

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

Reply from emohtadi on Apr 23 at 2:23 AM
Hi Friends, Thanks To All
My query performance was better by using index and sequence of primary key in where clause.

emohtadi

---------------Original Message---------------
From: emohtadi
Sent: Tuesday, April 14, 2015 2:38 AM
Subject: Performance Issue FAGLFLEXA

Hi Masters,

How to select the data efficiently for the table FAGLFLEXA?

This is my query:
Executed time is about 10 minutes.

SELECT-OPTIONS:
s_hkont for faglflexa-racct,
s_prctr for faglflexa-prctr,
s_date for bkpf-budat.

data begin of pre_h OCCURS 0.
data racct type faglflexa-racct.
data prctr type faglflexa-prctr.
data hsl type faglflexa-hsl.
data rwcur type faglflexa-rwcur.
data end of pre_h.

select racct prctr sum( hsl ) rwcur into table pre_h
from faglflexa
where racct in s_hkont
and prctr in s_prctr
and budat < s_date-low
and drcrk = 'H'
and rldnr = '0L'
group by racct prctr rwcur.

Best Regard.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2015 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
emohtadi  

Programmer/Developer - Software
 
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