Issue with the inner join on EKKO and EKPO.

Dear All,
The report using this join takes a long time to execute.
Does this inner join have an issue?
Do i need to code this in a different way for lesser execution time?
Please give me your inputs.
SELECT
        a~ebeln
        b~ebelp
        a~bukrs
        a~bstyp
        a~bsart
        a~ekorg
        a~ekgrp
        a~kdatb
        a~kdate
        FROM ekko AS a JOIN ekpo AS b
        ON aebeln = bebeln
        INTO TABLE t_ekpo
        WHERE
        a~bukrs EQ p_bukrs
        AND a~bstyp EQ c_k
        AND a~bsart IN s_bsart
        AND a~ekorg IN s_ekorg
        AND a~ekgrp IN s_ekgrp
        AND a~kdate GE s_fdate-low
        AND a~loekz EQ space
        AND b~loekz EQ space.
Regards,
SuryaD.

Index EKKO~D consists top-down of BSTYP and BEDAT. BSTYP is already an EQ-condition in your selection, but not very selective (many rows with the same value). So including BEDAT should help in efficiently reducing the data that needs to be scanned for finding the relevant rows. However, just a new optional S_BEDAT select option that can be left empty by the user would not help, you must force a narrow selection (one month, one week, even one day? the less the better).
This is just a quick guess from my side, there might be other options that occur to you once you have analysed the available indexes. Sometimes alternative tables could be the solution, and even less sometimes introducing a new secondary index for a standard table might be the last option (takes up space and adds processing time to insert/update/delete operations).
Thomas

Similar Messages

  • Has anyone had issues with the new Mac Pro computers and the Adobe Application Manager?

    We just purchased a new Mac Pro and transferred everything from the old computer to the new one.  Now we are getting Adobe Application Manager errors and it wants us to download Application Manager.  That leads us to the Adobe Installer that encounters the following issues
    Installer failed to initialize.  Please download Adobe Support Advisor to detect the problem.  But that doesn't work either.
    Anyone run into this?

    Yep, half of my tracks are coming up displaying an error -69 ( http://docs.info.apple.com/article.html?artnum=302684 ) and every time I remove a track from the shuffle or update the shuffle, Itunes opens a window displaying the contents of J:\ (obviously the ipod) and hidden folder \iPod_Control.... I'm really irked with this. Been mucking around with the stupid thing for hours now.
    Nothing was wrong with it until it suddenly decided to stop working, it wouldn't play tracks and Itunes wouldn't recognise it, hadn't missed a beat up till now. Sifted through the Support site for an answer and getting told I needed to update Itunes and update the Ipod software, ***?? It was working fine before. Me thinks Apple have inserted software in ipod to force users to update to newer version of Itunes. Anyway, ever since updating to the latest Itunes, the Ipod is back in action, but it is trying to tell me that half of my mp3s are corrupt (see error -69), rofl, um no, it's your stupid software Apple, I'm off to by myself a decent MP3 player without the bloat software.

  • Anybody have issues with the iTunes 7.1 update and Logic?

    Scenerio:
    Working happily in Logic Pro. Software Update appears with available updates to iTunes and Quicktime. I needed a break from editing, so I accpeted the update.
    Immediately relaunched Logic Pro and at the Updating the Tree stage my machine freezes, with the following message appearing in four languages:
    "You need to restart you computer. Hold down the Power button for several seconds or press the restart button."
    Chances are overwhelming that this is directly related to the 2 updates, with the iTunes update being the likely culprit, in my opinion
    I repaired permissions which had no effect.
    What should I try next?

    Hi,
    MacFixit has reports from several readers reporting Kernel panics after updating:
    Kernel panics after updating Some users are reporting kernel panics that appear after installing QuickTime 7.1.5.
    MacFixIt reader Ian Soper writes:
    "I had a kernel panic this morning after I installed the itunes and quicktime updates that apple released last night. Last night after installing the updates I shut my machine down and then this morning I powered it up and got a kernel panic (gray screen with various languages telling me how to power down my computer). I don't think there was anything else that I did to my computer last night that could have affected this."
    If you are experiencing similar issues, you may want to investigate some of the solutions listed in our tutorial "Avoiding and eliminating Kernel panics."
    Go to the website and follow the link attached to the text "Avoiding and eliminating Kernel panics."
    http://www.macfixit.com/
    Hope this helps
    ciro

  • Issue with the functions "add matching sets" and "modify matching sets"

    Hi,
    Though 'None' access permission is set for the functions 'Add Matching Sets' and 'Modify Matching Sets', they are accessible.
    Is this a bug with the tool? or am I missing something?
    Thanks in advance,
    Madan

    sorry, missed the version details.
    I'm using MDM 5.5 SP6.

  • Having an issue with the latest Indesign CC update and Easy Catalog plugin.

    After the latest CC update I had this strange behavior start occuring. I have multiple pages that load in data and images via Easy Catalog, I've been using the same pages for years without any issues, within the past couple days I've noticed that now, when I run "Update Easy Catalog Fields" on a book all of the images get loaded in at about 25% of their size. If I instead run "Update Document" on a single file it loads in correctly. Any one else having similar issues?
    Indesign CC 9.1 x 64
    Thanks

    Have you contacted Tech Support for 65bit Software, who make Easy Catalog?
    65bit Software Ltd

  • Tethering issue with the T-Mobile Mytouch 3G and Macbook

    I am a very happy Mac user, I have been so for 10 years. I have a 17" 4G MacBook Pro. I am also a customer of T-Mobile, and I have a Mytouch 3G, which uses the Android operating system. It's OS was just recently upgraded to Froyo, which now allows the phone to be tethered to your laptop so you can have a mobile hotspot.
    I was very happy about this feature, until I found out that tethering only works with Windows and Linux only.
    I went to the official T-Mobile forums and posted this:
    "The tethering option in Froyo needs to be available for Mac.
    As a Mac user, I find it very unfair that tethering is only available for Windows and Linux. As a photographer and graphic designer, I use a Macbook Pro that I take everywhere with me. If I can't get a good Wi-FI connection, I'm in trouble.
    I would hope that this situation is corrected soon, so everyone using a MT3G and Froyo can benefit from this feature. The world does not run on Windows alone."
    This is the response I was given by someone:
    "Well, you're barking up the wrong tree in this case. Complain to Apple and tell them to support Remote NDIS (RNDIS) like Windows and Linux do. It's a published standard in USB Communication Device Class, Version 1.1
    It's not the phone's or Google's fault that Apple has decided not to support the standard."
    Now, I don't really understand what any of this means. Could some please explain it so I can understand it? Also, Is this person correct, or is there any other way to tether the phone?

    Cumbersome??? ......you are very kind. Unfortunately I have not found anything but Studio that will do it.
    david

  • 6 November 2013 anyone with the iphone 4 having issue with the phone not turning on and at times locking up where you cant navigate and select contacts to call?

    My iphone seems to not want to turn on the screen stays black no matter what you do pressing the home and power button....and at times while it is on it locks up and cannot navigate and call out like the touch screen is in active you have to shut the phone down to get it to work as intended.

    Hello djgslimm
    Start with the article below to troubleshoot your iPhone for not responding.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Regards,
    -Norm G.

  • Is there a compatibility issue with the iPod Touch 4th generation and the TomTom carkit that worked fine with my 1st generation iPod Touch?

    I recently purchased a new iPod Touch. The "keyboard" of my first generation was beginning to play up, but it still worked fine with my TomTom carkit (if you'll allow for the fact that being restricted to OS 3 meant you couldn't update the software either). But, contrary to what I'd been told, the fourth generation one refuses to work. I think it's making contact because I hear the connection beep, but it  doesn't charge up or seem able to find the satellite connection. I've seen someone saying it was a physical width problem. If it's making contact, why isn't it capable to pick up a signal? Is there a compatibility issue after all?

    Got you! Why this didn't come up in my search before, have no idea. So it's all a question of design... How mean not to inform manufacturers of accessories about the change in specs. About to try the folded-over business card solution and then Velcro if the former doesn't give satisfaction. Did actually buy a silicon case, but it makes the protective filter buckle as it gets under the edges which isn't exactly useful. Went back to my previous leather case which I have to remove to use the car kit...

  • Is Apple or anyone aware of the security issue with the iPad 2, iOS 5, and Smartcover?!

    See here for a demonstration of what I'm talking about...makes me very nervous:
    http://www.youtube.com/watch?v=NLgQ22naQhE&feature=player_profilepage#t=139s

    They most likely know and will be addressing the issue Ina bug fixing patch to iOS 5.
    To submit this to Apple, please visit
    http://www.apple.com/feedback

  • I had CS3 installed on my windows 8.1 pc.  There was an issue with the printer so i uninstalled and tried to reinstall.  Now the Acrobat is removed and i cannot get the install to run any longer.  It says setup already running.

    I am running Windows 8.1, CS3 appears to be installed but when i go into the programs they will not work.  I have attempted to remove thru add remove programs but it does nothing.  I have tried to reinstall and it says there is already an instance running.  HELP!

    restart your computer and check your programs (x86) directory to see if cs3 is installed.
    if it's not, install it.  if it is, open one of your installed programs.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.<

  • Inner join on bkpf and bsid

    Hi Experts ,
    I want to do an inner join on bsid and bkpf tables in the select query . I want to order the result on the basis of cputm field in bkpf , that is why inner join on bkpf is req , rest all the fields are from bsid . But the requirement  is that we should not select the cputm field in the select , it is only to be used for sorting the result of the select query . we are also using select * from bsid where ......  endselect . and not specific fields from bsid currently . Kindly let me know how to use the inner join on bkpf and bsid in this case .
    Would reward all helpful answers .
    Thanks

    Hi Ankit,
    First make a structure of the required fields.
    TABLES : bkpf,bsid.
    TYPES : BEGIN OF x_tab,
              belnr like bkpf-belnr,
              kunnr like bsid-kunnr,
              bldat like bsid-bldat,
              budat like bsid-budat,
              waers like bsid-waers,
          END OF x_tab.
    DATA :  itab type STANDARD TABLE OF x_tab,
            wa_itab TYPE x_tab.
    start-of-SELECTION.
    SELECT bkpfbelnr bsidkunnr bsidbldat bsidbudat bsid~waers into table itab
       FROM bkpf INNER JOIN bsid on bkpfbelnr = bsidbelnr and
                                    bkpfbukrs = bsidbukrs and
                                    bkpfgjahr = bsidgjahr.
    Rewards Points, if useful.
    Regards
    Manoj Kumar
    Edited by: Manoj Kumar on Dec 26, 2007 2:36 PM

  • 10.4.11 Has Apple addressed/fixed issues with the latest update to Tiger?

    Like many of you, I installed the 10.4.11 update last weekend with disastrous results. I eventually had to Archive and Install and my machine seems to be recovered. Has anybody had this problem and gone on to try the update a second time with better results ?? Any words of wisdom?? or had some sort of feedback from Apple to indicate they have or are going to resolve the problems with this update.

    +I just posted this on the thread that seemed geared to those who "had success" (many more than half had issues) with the recent update after pi55ing and moaning due to crashing several times while trying to post there. Subsequently I found this thread and a bit of absoultion. I have eliminated the links, thinking them redundant but they are posted to that thread.+
    "If stupidity got us into this mess, then why can't it get us out?" "
    - Will Rogers (1879-1935)
    A little story, when I first tried to install Jaguar on my then Beige (Yeah, remember them!) G3 MT, it took me a full six months to get that "Darn Cat" in that house! Oh, how I sweated and swore, you talk about "legacy", I waved every "dead chicken" that was suggested to no avail. Ended up that before I bought the unit someone had switched out the CD/ROM for one from one year later, still Apple issue, mind you. I sent to OpAmp and got an original and "The Cat" slid in as quick as grease through a goose. That's how tightly wound Apple was and still is in many ways and is why they stopped the clones. This was one of a slew of many little things you had to get used to in "Mac Land".
    One other small thing you used to do a "clean install", you still can, but under OS 9, after you were satisfied (Conflict Catcher made things ever so easy!) all was peachy, you could simply trash your Previous System Folder and get back some valuable disk space. Well not to long after my success with the install of Jaguar and still not understanding OS X at all, I was still working mainly in OS 9, I did a Clean Install on my OS X, horsed around with settings which was difficult without Conflict Catcher and bravely trashed my Prev Sys Folder. Don't ever, EVER do that. What is a seemingly empty shell but for redundant Apps and meaningless abbreviations, is indeed a necessary if gigabyte eating Albatross you are doomed to carry!
    My point with these two parables is that we are creatures of trust and habit, living on borrowed time. We have been blessed with a computer system that is virtually foolproof given certain caveats, caveats if adhered to even marginally would guarantee success. I my self have gotten into some very bad habits of late and think that this may be the cause of my computers malaise.
    Drop to your knees and be grateful you don't have a PC (shudder!)! Yes Virginia, there is an Insanity Clause! I just installed WinXP on an Intel Mac, and after it was over all I wanted was a stiff drink and a shower!
    +There's always something worse than he77, there's always Vista!+
    Message was edited by: fla_cracker

  • Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Is there a recommended limit on the number of custom sections and the cells per table so that there are no performance issues with the UI?

    Thanks Kelly,
    The answers would be the following:
    1200 cells per custom section (NEW COUNT), and up to 30 custom sections per spec.
    Assuming all will be populated, and this would apply to all final material specs in the system which could be ~25% of all material specs.
    The cells will be numeric, free text, drop downs, and some calculated numeric.
    Are we reaching the limits for UI performance?
    Thanks

  • I am having trouble connecting to my network all of a sudden. It is not an issue with the service/router. I keep getting kicked off and getting a ! in my airport... anyone know what's up with this?

    I am having trouble connecting to my network all of a sudden. I am able to connect to other networks but not my own. It is not an issue with the service/router because other devices connect fine. I keep getting kicked off and getting a ! in my airport. Last time it happended I called apple and the suggested I wipe my HD and reinstall everything. I did and it did not work. One day I turned my laptop on and it connected no problem. Now it has kicked me off again. I tried resetting my IP address but that does not work either! Has anyone had this problem?

    Try this:
    Apple menu / System Preferences / Network.
    Click Location: and select Edit Locations..
    Click + (plus sign), and enter a name for the new location - anything will do.
    Apply this.

  • Is there an issue with the hitachi hard drives in the MacBook Pro's ?  Got a 15 inch and a 13 inch at the same time and both drives have failed in under two years. I have heard from a few other people with same issue.

    Is there an issue with the hitachi hard drives in the MacBook Pro's ?  Got a 15 inch and a 13 inch at the same time and both drives have failed in under two years. I have heard from a few other people with same issue. Other drive I have had have lasted at least 5 or more years.

    there is a dylib you can put in the springboard if jailbroken but if not you have to find an apple store

Maybe you are looking for

  • Adobe Reader 11.0.03 - tools pane opens automatically by default

    I just deployed the latest adobe reader MSI patch through group policy, but in this patch, the tools pane is opened automatically. Most of my users don't use it, much less know how to close it. The problem is that there is no typical "close", "x" or

  • Apex BI Publisher

    Hi, I am testing Apex with BI Publisher and want to print a region and include the App. Logo in the printed Page how can I do this? MDK. Edited by: MDK on Apr 21, 2010 4:54 PM

  • Namespace disappears when invoke is called

    I am sending the following SOAP message (I've abbreviated it ...): <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:open="http://www.openuri.org/" xmlns:pet="http://gencat.net/scsp/esquemes/peticion"> <soapenv:Header/

  • Ipad stuck in recovery mode after trying to update in ios6

    my ipad is stucked in recovery mode since trying to update in ios 6  any help?

  • Mitch 751 Help Me PLEASE!!!!!!

    I just got new headphones because I thought that headphones might be the problem with my iPod, but it isn't. I just got my iPod back, from another issue but no one would explain it to me, now the songs on the iPod are skipping and not even playing ha