Select on CDHDR time taking

hello all,
I have below statement ( copied from FM SD_CHANGE_DOCS_LOAD)
SELECT * INTO TABLE i_cdhdr FROM cdhdr       "Read changedoc header
             WHERE objectclas = chgdoc-class
               AND username   IN so_user
               AND udate      IN so_date
               AND utime      IN so_time
               AND tcode      IN so_tcode.
It is taking too much time which is unacceptable.
do you have any idea to improve the efficiency in the above
useful answers will be rewarded.
thanks
Can you please suggest

Hi Surendra,
performance of the select statement might be low bcoz of the selection strategy you followed while coding the select statement. i think this link might help u to solve ur problem upto some extent
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
Thanks,
anil.

Similar Messages

  • LOV is slow after selecting a value its taking much time to default

    Hi,
    I have a dependent LOV. Master LOV is executing fine and its populatin into the field fastly. But Child LOV is very slow after selecting a value its taking much time to default.
    Can any one please help me if there is any way to default the value fast after selecting a value?
    Thanks,
    Mahesh

    Hi Gyan,
    Same issues in TST and PROD instances.
    In my search criteria if i get 1 record, even after selecting that value its taking much time to default that value into the field.
    Please advice. Thanks for your quick resp.
    Thanks,
    Mahesh

  • Select with no conditions taking long time, too many blocks, pctused?

    select * from at_journal;is taking 15 seconds, which is absurd. I have similar situations with other log tables in this system.
    (selecting with rownum < 5 and with first_rows hint still takes 15 seconds)
    Suspicious parameters:
    PCT_FREE 1
    PCT_USED 99
    (Some other log tables have PCT_FREE 5, PCTUSED 90)
    The tables have frequent inserts, once every day all records older than 90 days get deleted.
    After computing statistics:
    Blocks: 42,304 (seems absurdly high)
    Size: 663 Mb
    NUM_ROWS: 505,966
    After copying data without compression to new table:
    Blocks: 3,785
    Size: 60 Mb
    NUM_ROWS: 505,966
    The select on the new table is instantaneous.
    On a side note, in general is compression for a table with frequent deletes OK? It seems OK to me.
    Storage parameters of table creation script:
    PCTUSED    99
    PCTFREE    1
    INITRANS   1
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
                BUFFER_POOL      DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;I imagine that most blocks for the table are empty. In my mind pctused of 99 means most of the block space should be full. I have read several explanations of PCTUSED/pctfree including oracle documentation and it seems pctused of 99 means the block should be 99% full.
    Much thanks,
    goo

    goo wrote:
    I imagine that most blocks for the table are empty. In my mind pctused of 99 means most of the block space should be full. I have read several explanations of PCTUSED/pctfree including oracle documentation and it seems pctused of 99 means the block should be 99% full.Hello, you don't give your database version, but if you were using Automatic Segment Space Management you would not need to worry about the PCTUSED setting, and it could be that you already are:
      1  select tablespace_name, segment_space_management
      2 from dba_TABLESPACES
    TABLESPACE_NAME                SEGMEN
    SYSTEM                         MANUAL
    SYSAUX                         AUTO
    UNDOTBS1                       MANUAL
    TEMP                           MANUAL
    USERS                          AUTO
    EXAMPLE                        AUTOAnd if you are already using ASSM, then the PCTUSED is not an issue (PCTFREE still applies, but it's not an issue in your case).
    goo wrote:
    On a side note, in general is compression for a table with frequent deletes OK? It seems OK to me.Frequent DELETEs could be an issue because they will not reset the High Watermark, though there will not be a performance penalty because of the compression for DELETEs (the record only needs to be located for a DELETE, not decompressed). Your PCTUSED, however, is high enough so that any newly deleted record slots should be quickly reused, but... it depends on how those new records are being INSERTed. If, as Daniel says, the HWM is being effectively bypassed (Direct Path INSERTs, etc.), then the table will grow in size every day, but the volume of records effectively stays just about the same.
    Have a look at how the new records are being added to that table, if it's a:
    INSERT /*+ APPEND */ INTO tableA
    SELECT...Then the HWM is being advanced, and the newly vacated slots from the DELETEd records are not being reused. So the table will continually grow, for roughly the same amount of data, and there'll be a proportionately longer data retrieval time.

  • Limiting dashboard prompt selection to max two selections at a time

    Hello Experts
    Is there a way that i can limit my state dashboard prompt to max two selections at a time. As you know i have the option to choose multi selection which doesn't limit my selection. Any advise.
    Thanks
    Ravi

    user1146711 wrote:
    Hello Experts
    Is there a way that i can limit my state dashboard prompt to max two selections at a time. As you know i have the option to choose multi selection which doesn't limit my selection. Any advise.
    Thanks
    RaviHey, Ravi. I see that you responded to the unanswered questions. Thanks. Since you did, there is no need to point out which ones. My point is simply that we all use this forum with the attitude of gratefulness, meaning, when we receive help, it is someone taking time out to do it... for free. Thank you for your prompt response! Here's my solution for what you are trying to achieve:
    1) Keep your multi-select prompt for your States and the one for your "National" prompt.
    2) Now build a small report on your using the States column and a dummy column set to RCOUNT(1).
    3) Put a filter on the RCOUNT column "greater than" 2 and an "Is Prompted" filter on the states column.
    What this report will do is return rows when the number of selections from the multi-select prompt is 2 or less. It will return no rows if more than two states are selected. (If you insist on 2 states for comparions, set the filter operand to "equal to/is in.")
    4) In your Dashboard, put a section in it along with the main report.
    5) Click on Section Properties>Guided Navigation and point to the small report, to display the section when "the request returns rows."
    6) Put another Section in the Dashboard and add a Text Object.
    7) Again, click on Section Properties>Guided Navigation and point to the small report, but this time, "when the request returns no rows."
    8) In the Text object, enter something like, "To properly view this report, you must select only two(2) states in the multi-select prompt. Please try again."
    There you go. If the user selects more than two states, the report section will be hidden and the text will appear instructing the user to "try again." When the user selects only two states, the report will display properly.

  • Using iOS 7 on my iPad, is there a way to put an event into the calendar without having to scroll down to calendar and select "home" every time?  My friend's iPad retains that setting but mine doesn't .

    Using ios7 on my iPad, is there any way to enter a calendar event without having to scroll down to calendar and selecting "home" every time?  My friend's retains that setting, bu mine won't .

    Settings>Mail, Contacts & Calendar
    Scroll till you see calendar and set default calendar to the one you want.

  • My macbook is stuck on a grey screen with language select and every time i click english it brings me back to the same gray page what do i do?

    My macbook Pro is stuck on a grey screen with language select and every time i click english it brings me back to the same gray page with language select what do i do? Also i dont have enough monet to go to the apple store to get it fix and another thing this happen after i tried to factory reset it without the disck uising coomans i found on youtube.Lastly befor doing the comands my macbook would open any applications and the finder would just blink on and off on the dock.
    Heres the link http://www.youtube.com/watch?v=Q5e5thk0O9o

    Shut down your computer and disconnect all peripherals (keyboard & mouse if pertinent) from your computer.  Now reboot.
    If the Mac starts up normally, shut it down again and then plug in one of the peripherals (keyboard or mouse first) and start up your computer again.  If it does so successfully repeat the process, adding one peripheral at a time until your Mac acts up.  At that point, disconnect the last peripheral you added, reboot your Mac and search the peripheral vendor's website for an updated driver. 
    If no driver exists or the problem remain after installing the new driver, try a different cable or a different port on your Mac.
    If none of the above works, again disconnect all peripherals from your Mac, hold down the "shift" key to start up in "Safe Boot" mode. 
    If the Mac starts up correctly, restart without pressing the "shift" key.
    If your computer still does not start up properly, shut it down and restart it while holding down the Apple+Option-P-R keys; keep holding "all 4 keys" down until you hear the startup sound "twice."
    If none of the above work Disconnect all peripherals from your computer. Boot from your install disc & run Repair Disk from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
    Select your language.
    Once on the desktop, select Utility in the menu bar.
    Select Disk Utility.
    Select the disk or volume in the list of disks and volumes, and then click First Aid.
    Click Repair Disk.
    (If Disk Utility cannot repair, you will need a stronger utility (3rd party) - Diskwarrior or Techtool PRO)
    Restart your computer when done.
    Repair permissions after you reach the desktop-http://docs.info.apple.com/article.html?artnum=25751 and restart your computer.
    Remove any 3rd party ram.
    Reinstall Leopard - This will install a "fresh" copy Leopard without archiving old system files but leaves the rest of your files in place.
    If you still want to restore your computer to factory level...
    Start up from your install disc, go to Disk Utility and select the disk and click erase - to securely erase data click Security Options and Erase Free Space which will entirely wipe your disk, overwriting it with zeros so that no data is recoverable.
    To restore read the instructions in the Mac OS X v10.5 Leopard - Installation and Setup Guide  PDF

  • Select option in time using oracle

    i attach an excel file in oracle, i have a time field in my table, i give the select option in time ie, i select the time 4:00:00 - 6:00:00 in that time period data will display,
    for example html format ie, output format.

    Hi
    No!
    U need to find a way to convert a range of select-option to a range for Native SQL, probably it should be better doesn't use a select-option for the date but two parameters: one for date from and one for date to.
    Max

  • Can selected items in time Machine be removed?

    Is there any way to remove selected items from time machine backups?

    Yes. See #12 in the Frequently Asked Questions *User Tip,* also at the top of this forum.

  • HT1338 I am trying to upload photos onto e.bay from i photo. When I click choose file the I photo icon comes up but when i select it, instead of taking me in to the photo library it just downloads the iPhoto icon ! Help

    I am trying to upload photos onto e.bay from i photo. When I click choose file the I photo icon comes up but when i select it, instead of taking me in to the photo library it just downloads the iPhoto icon ! Help

    Export copies of the photo(s) from iphoto onto your desktop and use that to upload to ebay

  • Time taking to open HCM Forms on portal.

    Hi,
    The entire development of HCM Forms and Process has successfully completed. Now this interactive form is taking too much time to open, for example time taking is from 30 sec to 60 sec. But client bench mark time to open any adobe form is 6sec. Actually does client benchmark is right? Second, how can we avoid this issue?
    Regards,
    nspkumar.

    Nikhil,
    Thanks for the response, but I didnot get replacing existing form template with the new one in LiveCycle Designer.
    Can you please elaborate in more detail.
    Regards,
    nspkumar.

  • HT201250 how do i save selected emails to time machine?

    how do i save selected emails to time machine?

    Don't put emails you want to save into the Trash. In the mail sidebar you should see an "On MY MAC" section below the Inbox, Trash, Junk, etc., mailboxes. You can create mailboxes in this section for emails you want to save. (I suggest you check out Mail help & at least read the overview info.)
    Also, there is no point in looking for individual email files in Time Machine backups (or for that matter in the Mail folders on your HD). They are stored with names that won't make sense to you & cross-linked with database & other files Mail maintains.
    You are making this harder than it is. Just let Time Machine back up everything & it will take care of the rest of it.

  • Please give this awsome app more  by providing  features:: 1. thumbnails for pages ,2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion

    please give this awsome app more  by providing  features::
    1. thumbnails for pages ,
    2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion when selecting multiple words in a single page).
    thanks .. hope this will be soon adapted with

    please give this awsome app more  by providing  features::
    1. thumbnails for pages ,
    2.  ability to annotaions( highlighter and underliner) to remain enabled once selected ( because many times it  becomes hectic to select again and again the same annotaion when selecting multiple words in a single page).
    thanks .. hope this will be soon adapted with

  • This content cannot be selected at this time.

    when I will go in to the store, I can see the special offers and so on, but when I shall go in to see all games, this comes up "This content cannot be selected at this time" it have been like this in several hours now, and I am tierd of it....I live in sweden

    I keep getting "This content cannot be selected at this time" trying to navigate through the store.  I found out about this when I attempted to purchase Demon's Souls by clicking on the game page only for it to show this message, after that I realised it wasn't just the one game, it was multiple games giving me this error.  I also attempted to try my luck on my laptop by going to the PS store with my chrome browser, it gave basically the same error with a different message.  I've been using my PS3 system since 2011 and I've never had this problem.  I also don't have a "Walmart connection" so to speak. Yet now, just going on the store is making my PS3 system have a 50/50 chance of crashing.  I've looked everywhere but can't find an answer to this issue. Any help would be greatly appreciated for me and anyone else who has the same problem I'm sure. 
     

  • BOM selection at the time of confirmtion

    Dear Experts,
    My client has requirement that BOM should be selected at the time of confirmation if there are multiple BOM's are available for the same material.Is it possible ??.
    Edited by: manjit_pune on Mar 7, 2012 10:07 AM

    Hello Manjit,
    As a SAP fucntion, BOM should be selected/exploded at the time of MRP so that SAP would be in position to plan the components accordingly. What the reason or benefit of selecting relevant BOM at the time of confirmation ??
    In any case, this function is not possible in standard SAP.
    Regards,
    Anup

  • Select audio between time markers?

    After importing audio in Soundtrack Pro I divide it in parts by placing time markers. Then, in order to save these parts separately I select the audio between two successive time markers.
    Allthough it is easy to place the cursor at a time marker (shift-M or option-M), I did not find a shortcut for selecting the material to the next marker onwards. I find it a bit cumbersome to move with the slider to that marker and than shift-click for selection (often loosing the starting point by a false click .
    Thus, can one select from one time marker to the next with a shortcut, or isn't that possible?
    Hans van der Meer

    Click & drag on the bar beneith the 2 markers to make the area into a timeslice.
    Dave

Maybe you are looking for