Slow execution of show_document after fast production of .html file

When running a report that has a parameter screen, from a form in 10g (10.1.2.0.2), the html document for the parameter screen is almost instantly created in the cache directory. However we have to wait about 30 minutes for the report parameter screen to finally display. When the report is then submitted from the parameter screen, the report output almost instantaneously displays. The hold up looks like in the execution of the show_document statement.
We are running report using SSO against a secured report server. I'm currently the only user and only one report was being run.
Does anyone have any ideas of why the .html (parameter screen file) takes so long to display after it is created?
Ta

Strangely, your answer amazingly helped lead me to the problem. So thanks very much.
The only dropdown list was on the destination type - ie Cache, File, Printer and Mail. The only other fields that were populated in the parameter form had their values in the .html file as name=... and value=... attributes. Hence, it wasn't the population of the parameter form causing the problem.
All the same, your suggestion made us inspect the before parameter form trigger more closely. Found a very quick to run update (one column in one record of a small table) statement - but without a commit - because in the after report trigger it is rolled back. Decided to temporarily make it commit - in order to watch the record via pl/sql to see how long it took to do that step. However, the commit it self made the report parameter form show instantaneously! :)
All I can conclude is that maybe in 10g (10.1.2.0.2 anyway) if things are not committed in the database maybe there is too much traffic to send between all the bits/tiers/whatever that are needed to run this type of forms, reports, AS etc environment. (If anyone has any light to throw on this it could be really good to know).
Thanks again for leading us in the right direction - even though it was indirectly. It helped :)
regards

Similar Messages

  • Won't open after trying to open HTML file

    Hi, I had an .html file and by mistake I tried to open it with iWeb. Now, when I try to open iWeb I get an error message:
    *Can’t open file “~/Desktop/websites/TRC/book40off.html.”* OK BUTTON
    When you click the OK, then nothing happens. It doesn't open at all. I restarted my imac i5 27" (10.6.4) and it's doing the same thing. I really need to open iWeb, so what should I do???
    I never had a problem like this where you TRY to open a file and then the application goes nuts.

    ###### UPDATE ######
    I took the CD that came with my iMac "iMac Applications Install DVD" and installed the iWeb package over. It did the install, restarted the computer and when I look in the Application folder I can see the date on iWeb is TODAY. But, when I click to open it I get the SAME error message!!!! How can that be when I installed it over again?

  • The first time I start Firefox it is very slow coming up but after it is up and I want another window it fast again. What do I need to do to clean out whatever is clogging it up.

    Question
    The first time I start Firefox it is very slow coming up but after it is up and I want another window it fast again. What do I need to do to clean out whatever is clogging it up. edit

    * The first time you start up any application after turning on your computer is called a cold start, which is why Firefox takes a while to load right away. (I've noticed that future versions of Firefox start up faster on a cold start then Firefox 5.0.1.) Also, a lower amount of RAM could be slowing its start-up down since Firefox is kind of memory hungry.
    * As for the second part of your question, press ctrl,Alt, and the delete keys on your keyboard. The Windows Task Manager should start. Go to the processes tab and look for 'firefox.exe'. Right click on the firefox.exe and click 'End Process'. Hit Yes and wait for a minute.
    * Then opening Firefox again.
    Hopefully this helped somewhat!

  • Lightroom 2.4 Is Too Slow To Use As A Professional Product

    Hello -
    I would like to know how to get Lightroom to respond in less than 4-8 seconds for almost any task.
    From returning to Grid mode (4.5 seconds) to adjusting a routine crop and angle (5-7 seconds per move, 60-90 seconds total) to simply shift-selecting three to fifty photos (4-9 seconds) no matter what I do in Lightroom, it is worse that Photoshop 1.0 on a Mac Plus. Really.
    Returning to Lightroom from another app - 7 seconds.
    Getting the menus to drop down - 4 seconds.
    My lightroom settings:
    standard preview size: 1680
    Quality: High
    Discard 1:1: Never
    write changes to XMP: off
    Catalog: 127 mb on F drive (24 gig free)
    Catalog: 13.5k photos, 95 gig on F drive
    Cache: 6 gig on F drive
    NVIDIA settings: performance over quality
    My computer:
    HP 8730 elitebook
    4 gig ram
    XP Pro, SP2
    Proc: Core 2 Duo T9400, 2666 MHz (10 x 267)
    DirectX    4.09.00.0904 (DirectX 9.0c)
    Chipset: Cantiga PM45
    Video: NVIDIA Quadro FX 3700M  (1024 MB)
    (2x) 250 gig 7200 rmp HD
    Before anyone says to export to a new catalog and re-import, etc, use a smaller catalog, etc, be advised that I have done all of that. I have imported only 250 images to a new catalog, on a newly installed OS, with Lightroom as the ONLY application. Still it acts this sluggish.
    I have scoured the boards for solutions, and having tried all the varied fixes to no avail, I really quite strongly feel that a person should not EVER be in the position or running some of the most powerful available hardware and STILL have to wait interminable seconds for Lightroom to respond.
    This software, as it stands now on the PC platform (unless I am missing something quite obvous) is absolutely unusable in its present state.
    Can someone from Adobe or a board guru please respond in kind to my request for help?

    Photo_op8 wrote:
    BradKaye wrote:
    I'd have to agree with the subject of this 100%, even though I'm not experiencing anywhere near the levels of lag ellsworth is on any of my primary workhorses.
    1st-Gen 17" MacBook Pro 2.4Ghz Intel Core 2 Duo with Hi-Rez Screen (about 2 years old)
    1st-Gen MacPro (Dual Twin-Core 3Ghz, 3x, 10k-RPM 150GB Raptor RAID-0, partitioned to System/Scratch/Files (in that order) 16GB RAM...blah blah (about 2.2 years old)
    3 week old MacPro  2x2.66 Quad-Core MacPro, 16GB RAM, Multiple Partitioned (System/Scratch/Files)  Internal 4x-1.5TB RAID-0, 4x 1.5TB eSATA RAID-0, 2x NVIDIA GT 120's, 30" NEC 3090WQXi, 26" LaCie 526, 24" Apple LED Display
    OS 10.5.8 on all machines.
    Let me repeat-
    Partitioning ONE drive to contain system files, application, cache, catalog and photos=SLOW.
    It really doesn't matter that the drive is 7200 or 10k rpm if ALL items reside on the same drive. The MacPro has four bays. One drive for system and catalog, second for cache, third for photos=FAST.
    Wow, I'm glad you repeated that, and used capitalized text so that I would be sure to understand.
    Clearly, the benchmarks I have off of the various evolutions of my last 3, $10k computers must be in error. (single system disk, RAID-0 system disk, 10k RPM system disk, RAID-0 3x -10K rpm system disks, multiple scratch volumes on different drives, singular scratch volumes on RAIDed drives, tested via benchmark programs and application specific batch tests, etc.etc.)
    More importantly as an issue of forum protocol, you didn't actually read my post.
    Brad Kaye wrote:
    I partition about 10% of the outside of a drive as separate and put the information I need to get to most quickly which tends to be the system folder then scratch disk in a another separate partition and then I leave the rest on that drive as gobs of 'B' space for media and other crap files, reserving the first 10%-30% of the outside of a different drive (or RAID-0 sets) for my files and Lightroom catalogs.
    I'm throwing 370 mb/sec between two individual sets of 4 drive RAID-0 sets.  Single 7200rpm drives sling about 80 mb/sec.  My drive arrangement isn't the reason Lightroom IS TOO SLOW TO USE AS A PROFESSIONAL PRODUCT.
    Also, since I referenced and linked the former software engineer turned photo FREAK in my post, whose blog I started reading last year corroborating the decisions I've made in my previous system setups with immaculate documentation and testing procedure your response even more seems like the entire reason I rarely bother posting in community forums.  You seem to be here to spout, not to contribute and learn.
    Take a look at all of the info contained here: (I've already read it, all of it, and more)
    Diglloyd Mac Performance Guide
    and if you still think I'm wrong, lets have an informed debate about it.  Really.
    Otherwise, lets please keep this topic moving forward with the issues Adobe needs to address next to make Lightroom a better product for professional photographers, and specifically, help out ellsworth999 who started this topic, who seems to have a big helping of problems on his plate. I can't speak to him directly of his problems since I'm not using the Windows version of the software.

  • What is this code mean, ( 14 slow blinking lights and 5 fast blinking lights) mean

    need to know what this means please, 14 slow blinking lights and 5 fast blinking lights) mean

    thank you thank you for taking an interest. this is so frustrating.
    i only have apple keyboard, mighty mouse, and 20 inch cinema display connected. this morning took out memory and tried to boot up with individual pairs in the first bank. first the (2)256, the (2) 1g, and then the other (2) 1g modules. everytime I get the weird fuzzy wheel under the logo after a while, black screen flashes, then grey apple logo fuzzy screen then black forever.
    I ran tiger updates this morn. still will only boot to safe mode. then tried to run leopard disk to install it
    will not boot from leopard disk.
    tried safe boot, then doulble click install leopard, restart, then the saga repeats with the pixely red square around the wheel.
    these are fresh drives with only what came on instll disk loaded.
    thanks again for taking an interest.
    i love this system(well at least i did). I want to install leopard on my powerbook too but am terrified to do so right now since it is working and I have work to do. Can't afford to have no computer to do my work on...self employment is great?!
    This is making me crazy. I anxiously await your words of wisdom.

  • Slow download on network with fast upload.

    I just recently purchased a 24" iMac and I'm having networking issues. I connect to my PC server and see all the files just fine. The problem is, when I try and copy anything off of the server or read files off the server in programs like InDesign CS4, the network slows down completely. When I take a 500mb file and upload it to the same server, it uploads it at the normal gigabit speeds. Taking that same 500mb file and try and copy it back off, it takes hours.
    I also have a Mac based ftp server running Rumpus. If I connect to the ftp mac directly and download a file, it's very slow, but if I use Cyberduck or the web-based downloader, it downloads at Gigabit speeds.
    It seems anything I try and copy directly off the servers, or work on files that reside on the server it is very, very slow. I have an older Intel iMac 20" right next to the new one and it still reads the network just fine. Copies and uploads very fast to the same server. I set up the custom IP address, DNS servers, etc. the same on both machines and this new iMac is not working well on the network.
    A couple of years ago I purchased another Intel iMac 20" that had similar problems on the network. After weeks of the Apple Store checking it out, they told me that the network controller chip went bad. Could this possibly happen again on another iMac?
    I could really use some help on this. If I need to take this new iMac to the Apple Store to get checked out I will, but if it might be just a setting somewhere I'm missing, I'd rather deal with that.
    Thanks

    Thanks for all the help I have received from everyone out there in cyberlandia, like it was alot.
    I solved my problem on my own and what a feeling. I tweaked the IPv4 settings by ending the numbers in an even number instead of an odd number (.172, .174 ,.176 etc). Sort of stumbled onto this but it worked as my download speeds were 6kbps when I started and went up to 750 kbps shortly afterwards. I am in South America and our internet connections are slow compared to the States. Wish I could get a 5 meg download speed but that is not going to happen. 750kbps (@ $90 per month) is a joy compared to the dial up I had.

  • Pages on my iPad3 has become very slow to open documents after upgrading to ios7. I've clicked on a folder 5 minutes ago and am still waiting. The work-around seems to be to force-close it, but I've needed to do this many times in the last few days.

    Pages on my iPad3 has become very slow to open documents after upgrading to ios7.
    I posted on here about this a few weeks back and someone suggested force-closing Pages -- and that does indeed enable me to open things -- but I have had to force-close many times in the last 24 hours, which is worrying. Are there any other suggestions?
    I am sometimes also finding that, when I have been writing something and then click on "documents" the screen goes blank, there is a wait of around a minute and then the same document is re-displayed, before clicking "documents" again lets me look at other documents -- which is a pain if I am trying to move between documents repeatedly. Again, words of wisdom on this would be great.
    Pages under iOS6 opened quickly, and there was an immediate loss of performance when I upgraded. I am finding this very frustrating because I don't feel that the new Pages has added to the facilities I was using, but a slowness to open documents is frustrating.
    Thanks
    Mark

    Pages on my iPad3 has become very slow to open documents after upgrading to ios7.
    I posted on here about this a few weeks back and someone suggested force-closing Pages -- and that does indeed enable me to open things -- but I have had to force-close many times in the last 24 hours, which is worrying. Are there any other suggestions?
    I am sometimes also finding that, when I have been writing something and then click on "documents" the screen goes blank, there is a wait of around a minute and then the same document is re-displayed, before clicking "documents" again lets me look at other documents -- which is a pain if I am trying to move between documents repeatedly. Again, words of wisdom on this would be great.
    Pages under iOS6 opened quickly, and there was an immediate loss of performance when I upgraded. I am finding this very frustrating because I don't feel that the new Pages has added to the facilities I was using, but a slowness to open documents is frustrating.
    Thanks
    Mark

  • Hello, I have a macbook pro late 2011 15 inch with 4 gb ram. My macbook runs extremely slow when logging in after waking up from sleep, locking up and I am unable to use the keyboard. Is there a fix?

    My macbook runs extremely slow when logging in after waking up from sleep, locking up and I am unable to use the keyboard. Furthermore, when just using safari to watch streaming television, my computer gets really slow, and locks up, and the dock appears blank and I sit here frustrated. Anytime i wake up my computer, my keys don't respond and I've waited at most 3 minutes untill i can type in my password. Even sometimes when i type in my password and hit enter, it takes forever to open up my mac. I have barely used any storage in my macbook, since i only use it for college, and I have run clamscan wiht no viruses showing... Any ideas?

    when just using safari to watch streaming television, my computer gets really slow, and locks up, and the dock appears blank
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output andWi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How can I make the execution of my script faster

    Hi everyone
    How can I make the execution of my script faster, because it takes a lot of time to execute? The following is my script:
    DECLARE
    CURSOR C1 IS
    SELECT A.ITEM_CODE,A.STORE_CODE,ST_UNIT,SA_UNIT,CART_QTY,QUANTITY_ON_HAND
    FROM PROJ.IM_LOCATION A
    WHERE A.ITEM_CODE BETWEEN :ITEM_FRM AND :ITEM_TO
    AND A.STORE_CODE = :FRM_STORE
    ORDER BY
    A.STORE_CODE ;
    CURSOR C2 IS
    SELECT A.ITEM_CODE,A.STORE_CODE,ST_UNIT,SA_UNIT,CART_QTY,QUANTITY_ON_HAND
    FROM PROJ.IM_LOCATION A
    WHERE A.ITEM_CODE BETWEEN :ITEM_FRM AND :ITEM_TO
    AND A.STORE_CODE = :FRM_STORE
    ORDER BY
    A.STORE_CODE ;
    big_syb_qty_issue number(12,3);
    small_syb_qty_issue number(12,3);
    big_issue number(12,3);
    small_issue number(12,3);
    item_syb_code varchar2(30);
    big_syb_qty_rec number(12,3);
    small_syb_qty_rec number(12,3);
    BI_SUPP_REC number(12,3);
    SM_SUPP_REC number(12,3);
    big_syb_qty_ADJ number(12,3);
    small_syb_qty_ADJ number(12,3);
    big_ADJ number(12,3);
    small_ADJ number(12,3);
    big_syb_qty_rec_iner number(12,3);
    small_syb_qty_rec_iner number(12,3);
    BI_INTER number(12,3);
    SM_INTER number(12,3);
    cl_big_qty number(12,3);
    cl_small_qty number(12,3);
    cl_big_qty1 number(12,3);
    cl_small_qty1 number(12,3);
    BIG_QTY_OPEN number(12,3);
    SMALL_QTY_OPEN number(12,3);
    BEGIN
         IF ((:FRM_STORE IS NULL) OR (:ITEM_FRM IS NULL) OR (:ITEM_TO IS NULL) OR (:DATE_FRM IS NULL)) THEN
              SHOW_MESSAGE('You Should Enter the Parameters Values Correctly Please try again !!!! ');
              RAISE FORM_TRIGGER_FAILURE;
              GO_FIELD('DATE_FRM');
         END IF;     
    DELETE FROM STOCK_AT_DATE_REP2;
    COMMIT;
    cl_big_qty := 0;
    cl_small_qty := 0;
    -- MESSAGE('Please Wait The System Calculating The Transactions !!!');
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
    FOR R IN C1
    LOOP
    cl_big_qty := R.CART_QTY ;
    cl_small_qty := R.QUANTITY_ON_HAND;
    -- Transerfer Data 1
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(CART_QTY,0)) ,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_syb_qty_issue,small_syb_qty_issue
    FROM IM_TRANS_ISSUE_HEADER A,IM_TRANS_ISSUE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.DEL_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('ISSUED BIG'||' '||big_syb_qty_issue);
    exception
    when no_data_found then big_syb_qty_issue := 0;
    small_syb_qty_issue := 0;
    when others then MESSAGE(10,sqlerrm);
    END ;
    -- Goods Received Data From Supplier 1
    BEGIN
    SELECT B.ITEM_CODE,SUM(B.CART_QTY),SUM(ITEM_QUANTITY)
    INTO item_syb_code,big_syb_qty_rec,small_syb_qty_rec
    FROM IM_GOODS_RECIEVE_HEADER A,IM_GOODS_RECIEVE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('RECEIVED FROM SUPPLIER BIG'||' '||big_syb_qty_rec);
    exception
    when no_data_found then big_syb_qty_rec := 0;
    small_syb_qty_rec := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Adjustement Data 1
    BEGIN
    SELECT B.ITEM_CODE ,SUM(NVL(CART_QTY,0)) ADJUST_QTY,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_syb_qty_ADJ,small_syb_qty_ADJ
    FROM IM_ADJUST_HEADER A,IM_ADJUST_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND A.DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('Adjust BIG'||' '||big_syb_qty_ADJ);
    exception
    when no_data_found then big_syb_qty_ADJ := 0;
    small_syb_qty_ADJ := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Goods Received Data From Stores 1
    BEGIN
    SELECT B.ITEM_CODE,SUM(B.CART_QTY),SUM(ITEM_QUANTITY)
    INTO item_syb_code,big_syb_qty_rec_iner,small_syb_qty_rec_iner
    FROM IM_TRANS_REC_HEADER A,IM_TRANS_REC_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND REC_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- show_message('here');
    -- SHOW_MESSAGE('Received From Stores BIG'||' '||big_syb_qty_rec_iner);
    exception
    when no_data_found then
    big_syb_qty_rec_iner := 0;
    small_syb_qty_rec_iner := 0;
    when others then message(10,sqlerrm);
    END ;
    cl_big_qty := (NVL(cl_big_qty,0) + NVL(big_syb_qty_issue,0));
    cl_big_qty := (NVL(cl_big_qty,0) - NVL(big_syb_qty_rec,0));
    cl_big_qty := (NVL(cl_big_qty,0) - NVL(big_syb_qty_rec_iner,0));
    big_syb_qty_ADJ := -1 * NVL(big_syb_qty_ADJ,0);
    cl_big_qty := (NVL(cl_big_qty,0) + NVL(big_syb_qty_ADJ,0));
    -- srw.message(2000,'cl_small_qty'||cl_small_qty);
    cl_small_qty := (NVL(cl_small_qty,0) + NVL(small_syb_qty_issue,0));
    cl_small_qty := (NVL(cl_small_qty,0) - NVL(small_syb_qty_rec,0));
    cl_small_qty := (NVL(cl_small_qty,0) - NVL(small_syb_qty_rec_iner,0));
    small_syb_qty_ADJ := -1 * NVL(small_syb_qty_ADJ,0);
    cl_small_qty := (NVL(cl_small_qty,0) + NVL(small_syb_qty_ADJ,0));
    -- srw.message(2000,'cl_small_qty'||cl_small_qty); srw.message(2000,'cl_small_qty'||cl_small_qty);
    INSERT INTO STOCK_AT_DATE_REP2
    VALUES(R.STORE_CODE,R.ITEM_CODE,cl_big_qty,cl_small_qty,R.ST_UNIT,R.SA_UNIT,:DATE_FRM,
    :DATE_TO,0,0,0,0,0,0,0,0,cl_big_qty,cl_small_qty);
    cl_big_qty := 0;
    cl_small_qty := 0;
    END LOOP;
    COMMIT;
    FOR R IN C2
    LOOP
    -- Transerfer Data 2
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(CART_QTY,0)) ,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_issue,small_issue
    FROM IM_TRANS_ISSUE_HEADER A,IM_TRANS_ISSUE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.DEL_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('ISSUED BIG'||' '||big_syb_qty_issue);
    exception
    when no_data_found then
    big_issue := 0;
    small_issue := 0;
    when others then MESSAGE(10,sqlerrm);
    END ;
    -- Goods Received Data From Supplier 2
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(B.CART_QTY,0)),SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,BI_SUPP_REC,SM_SUPP_REC
    FROM IM_GOODS_RECIEVE_HEADER A,IM_GOODS_RECIEVE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('1- SM_SUPP_REC '||' '||SM_SUPP_REC );
    -- SHOW_MESSAGE('RECEIVED FROM SUPPLIER BIG'||' '||big_syb_qty_rec);
    exception
    when no_data_found then
    BI_SUPP_REC := 0;
    SM_SUPP_REC := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Adjustement Data 2
    BEGIN
    SELECT B.ITEM_CODE ,SUM(NVL(CART_QTY,0)) ADJUST_QTY,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_ADJ,small_ADJ
    FROM IM_ADJUST_HEADER A,IM_ADJUST_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND A.DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('Adjust BIG'||' '||big_syb_qty_ADJ);
    exception
    when no_data_found then
    big_ADJ := 0;
    small_ADJ := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Goods Received Data From Stores 2
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(B.CART_QTY,0)),SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,BI_INTER,SM_INTER
    FROM IM_TRANS_REC_HEADER A,IM_TRANS_REC_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND REC_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- show_message('here');
    -- SHOW_MESSAGE('Received From Stores BIG'||' '||big_syb_qty_rec_iner);
    exception
    when no_data_found then
    BI_INTER := 0;
    SM_INTER := 0;
    when others then message(10,sqlerrm);
    END ;
    BEGIN
         BIG_QTY_OPEN := 0;
    SMALL_QTY_OPEN := 0;
    BEGIN
    SELECT NVL(S_BIG_QTY_OPEN,0) ,NVL(S_SMALL_QTY_OPEN,0)
    INTO
    BIG_QTY_OPEN,SMALL_QTY_OPEN
    FROM STOCK_AT_DATE_REP2
    WHERE S_STORE_CODE = R.STORE_CODE
    AND S_ITEM_CODE = R.ITEM_CODE;
    END;
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) + NVL(big_issue,0));
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) - NVL(BI_SUPP_REC,0));
    big_adj := -1 * NVL(big_adj,0);
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) + NVL(big_adj,0));
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) - NVL(BI_INTER,0));
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) + NVL(SMALL_issue,0));
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) - NVL(SM_SUPP_REC ,0));
    SMALL_adj := -1 * NVL(SMALL_adj,0);
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) + NVL(SMALL_adj,0));
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) - NVL(SM_INTER,0));
    END;
    BEGIN
    UPDATE STOCK_AT_DATE_REP2
    SET BIG_SUP_REC = BI_SUPP_REC,
    SMALL_SUP_REC = SM_SUPP_REC,
    BIG_ISSUE_TRAN = big_issue,
    SMALL_ISSUE_TRAN = SMALL_issue,
    BIG_ADJUST = big_adj,
    SMALL_ADJUST = SMALL_adj,
    BIG_INTER_REC = BI_INTER,
    SMALL_INTER_REC = SM_INTER,
    S_BIG_QTY_OPEN = BIG_QTY_OPEN,
    S_SMALL_QTY_OPEN = SMALL_QTY_OPEN
    WHERE S_STORE_CODE = R.STORE_CODE
    AND S_ITEM_CODE = R.ITEM_CODE;
    exception
    when no_data_found then
    NULL;
    when others then
    message(10,sqlerrm);
    END;
    END LOOP;
    COMMIT;
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'default');
    SYNCHRONIZE;
    -- SHOW_MESSAGE('The Data Have Been Calculated !!!');
    END;
    declare
         pl_id ParamList;
    APPLICATION_ID VARCHAR2(20):='PRD';
              COMMAND_LINE VARCHAR2(100) :='STOCK_LEDGER';
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'DATE_FRM',TEXT_PARAMETER,:DATE_FRM);
    Add_Parameter(pl_id,'DATE_TO',TEXT_PARAMETER,:DATE_TO);
    Add_Parameter(pl_id,'ITEM_FRM',TEXT_PARAMETER,:ITEM_FRM);
    Add_Parameter(pl_id,'ITEM_TO',TEXT_PARAMETER,:ITEM_TO);
    Add_Parameter(pl_id,'FRM_STORE',TEXT_PARAMETER,:FRM_STORE);
    IF :REPORT_TYPE = 1 THEN
    Run_Product(REPORTS,'C:\INV\RDF\STOCK_LEDGER.rdf',SYNCHRONOUS,RUNTIME,
    FILESYSTEM, pl_id,NULL);
    ELSIF :REPORT_TYPE = 2 THEN
    Run_Product(REPORTS,'C:\INV\RDF\STOCK_LEDGER_2.rdf',SYNCHRONOUS,RUNTIME,
    FILESYSTEM, pl_id,NULL);
    END IF;
    END;
    Waiting for your valuable answer
    Best Regards
    Jamil Alshaibani

    Make a matte in Photoshop.
    From the Photoshop menu bar: File > New > Film & Video Presets. Choose one that suits your FCP project pixel dimensions. Make the background black. Place a white rectangle with rounded corners on top (the white will determine how much of your picture is visible). Flatten Image. Save as TIFF. Import into FCP.
    Move your video clips up to V2. Place the imported TIFF on V1. Highlight all clips on V2.
    Go to Modify > Composite Mode > Travel Matte Luma. Done.
    If you want soft edges, no need for a matte. Double click your clip to place it in the Viewer. Open up the Motion tab > Crop > Edge Feather. Nice and quick. Copy and Paste attributes for the other clips.

  • For people with an unlimited data plan...does it slow down for you after 2GB?

    Ive had my unlimited data plan since i joined AT&T back in 2008 when  i bought the iPhone 3G...ive been able to keep it for my current iPhone 4 and now ill be upgrading to iPhone 5 and was wondering if anyone else with an unlimited data plans suffers slowing down of data after 2GB? it mite b more than 2GB but it def does slow down...will this continue to happen or it is it just me?

    AT&T's policy explained - http://www.att.com/esupport/datausage.jsp?source=IZDUel1160000000U
    Click the "what you need to know".  If you exceed 3GB you will be throttled, and you should receive a text message about it the first time you go over.

  • 2 finger scroll doesnt work in Finder after Mavericks update. Macbook pro seems slow and less responsive after the update.

    2 finger scroll doesnt work in Finder after Mavericks update. Macbook pro seems slow and less responsive after the update.

    nateshns wrote:
    2 finger scroll doesnt work in Finder after Mavericks update.
    In any particular app, or all of them?

  • Same select max is very slow in one program but fast in another

    Hi,
    I have a report that becomes very slow these few months. I used SQL trace for the report and found out its these codes that slow down the report:
    SELECT MAX( mkpf~budat )
                  FROM mkpf
        INNER JOIN mseg
                       ON mseg~mblnr = mkpf~mblnr AND mseg~mjahr = mkpf~mjahr
                    INTO posting_date
               WHERE mseg~werks  = w_matl-batch_reservations-werks
                     AND mseg~charg  = w_matl-batch_reservations-charg
                     AND mseg~bwart  IN ('261', 'Z61').
    The thing is these codes have been used in different system, DEV, QAS, and PRD. But only in PRD it is very slow, other systems are pretty fast.
    I even created a local copy of that report in PRD, with the same code. The local file runs fast and perfectly. But the original code is just slow.
    Just wondering if anybody met this problem too? any ideas??

    Hi Liu,
    Index creation is not a advisable solution.Please follow the existing indexes by adding Mandt field.
    Try like this
    SELECT MAX( mkpf~budat )
                  FROM mkpf
        INNER JOIN mseg
                       ON mseg~mblnr = mkpf~mblnr AND mseg~mjahr = mkpf~mjahr
                    INTO posting_date
               WHERE mseg~mandt = sy-mandt
                      AND mkpf~mandt = sy-mandt
                      AND mseg~werks  = w_matl-batch_reservations-werks
                     AND mseg~charg  = w_matl-batch_reservations-charg
                     AND mseg~bwart  IN ('261', 'Z61').
    Hope it will be helpful.
    Regards,
    Kannan

  • MY macbook pro is slow to start up after log in. any suggestions on where to start addressing the problem?

    MY macbook pro is slow to start up after log in. any suggestions on where to start addressing the problem?

    Delete any items in System Preferences > Users & Groups (or Accounts) > Login Items
    Same for  HD > Library > StartupItems
    Not enough free space on the startup disk can slow the system down.
    Right or control click the MacintoshHD icon on your Deskop.
    Click Get Info. In the Get Info window you will see Capacity and Available.
    Make sure there's a minimum of 15% free disk space.

  • Iphone 4s is slow scrolling though pages after exiting setting, 3sec lag, any ideas how to fix?

    Iphone 4s is slow scrolling though pages after exiting setting, 3sec lag, any ideas how to fix?

    I have the same issue on mine...

  • My iMac has slowed down considerably soon after my Apple Care expired.  Reminds me of the PC days.

    What can I do about my iMac slowing down.  Shortly after my Apple Care ran out it started to slow considerably.  Kind of like having a PC again.  On a PC I would defrag it, but Apple tells me it is not recommended for the iMac.  Tired of watching the multi-colored circle spin.  What can be done?  I just upgraded to Lion.  The problem seems a bit worse since.  AND I can no longer get my iMac to back  up with Time Machine.   What gives?

    Try using disk utility on your hard drive to repair it, also repair your permissions.  Open activity monitor and take a look at your RAM and CPU usage.  You may have a program or tow taking up a lot of your resources. 

Maybe you are looking for

  • MacBook Pro 10.10 extremely slow/unresponsive

    Problem description: MacBook Pro is very slow ever since 10.10 was installed. When waking from sleep it takes a while for the background to appear and then only half of the wallpaper will appear. Also, when using Safari, it becomes extremely unrespon

  • HT5085 iTunes match in different country than apple id

    I have an account in the US iTunes store with no credit card on file. I use only iTunes cards. Will I be able to use iTunes Match subscribing in a country different than the US Thxs

  • Runtime.getFreeMemory -relatively- static, javaw.exe growing.

    Hello. I have a J2SE app that I think it is leaking memory. It is mainly a GUI that connects to a DB. Thing is, if I repeatedly call the method getFreeMemory() from this app's runtime, it stays around the same value. Now, if I check the javaw.exe pro

  • EDI-IDOC-To see error messages of number of IDOCS

    Hi, I have a scenarios where more than 1000 inbound idoc are with status 51. I want analyse the error messages of all. When i see the entry in EDIDC table the status text is 1&, 2& in stead of document numbers. Pl let me know with which program i can

  • CS4 Bridge do not show changes to nef file ?

    If I in Bridge opens a nef file into Camera raw and make some changes to the photo, then I can't see in Bridge that the photo have changed. I can see the little grey circle that tells the photo have been changed, but the photo still looks like the or