How do you identify when a report has finished?

Hi all,
I've got a big report that is taking a while to run (approx 1min) and the problem I'm having is that my users are getting bored of waiting and starting to click around my web application and re-running the report because they think it has failed. The re-running of the report is causing more load on the system and the reports to run even slower. What I would like to do is stop them re-runnning the report maybe by somehow locking the web page until BI publisher has finished but I don't know how to get a message back from BI publisher.
Currently I'm running the BI publisher report by having a button push which redirects the users web browser to a url such as:
'http://'||:BI_PATH||'/xmlpserver'||:BI_DIRECTORY||'/Custom Reports/'||:p180_report||'/'||:p180_report||'.xdo?_xpf=&_xpt=1&_xdo='||:BI_DIRECTORY||'%2FCustom%20Reports%2F'||:p180_report||'%2F'||:p180_report||'.xdo&_xt='||:p90_template||'&_xf=rtf&_xmode=4'
And then as I'm returning an rtf doc the familiar save, open or cancel popup comes up. The problem is that before the popup appears they can re-click the run report button.
One way round it I've thought of is to have the report generate to a file system and redirect the user to a waiting page that checks periodically for the files existance and then when it does exist forward the user to a page with a view report button. This sounds like a lot of effort, does anybody know of a better way?
I've also wondered if running the report using webservices would be an option, is there a way of getting BI publisher to run a web service when a report has finished? This could then interact with my back end server and the web page could act on that, or am I totally barking up the wrong tree?
Any help would be greatly appreciated!
Thanks,
Darren.

Hi Darren
couple of ideas
1. Rather than 'run' the report, get it to run through the scheduler immediately. Once its running through the scheduler you could then poll the scheduler tables to see when it completes. You could either redirect the users to a wait page or show an egg timer until the document has been created. this would require the document to be delivered to somewhere for you to poll as the URL will not return a job id.
2. Bit more involved but probably better is to hook into BIPs web services. So rather than the button issue an http request it calls a servlet to issue a web service call to BIP to schedule a report. The WS will return the job id to the caller, you can then poll the scheduler via a ws to check the progress of the job. Once complete you can then retrieve the result form the scheduler tables via another call.
Food for thought I hope
Tim

Similar Messages

  • How can you identify when a RP has a bootflash failure on CRS-1?

    Hi Everyone,
    I am hoping someone can assist me in identifying when a RP has a bootflash issue and requires RMA.  We have some CRS-1 running in our network with IOS XR 3.8.2 and some with 4.0.3.  All the commands that I am aware of do not identify when a RP has a problem in bootflash.  CCO recommends that if there is a problem with upgrade and you are moving to a code using filesystem fat 32 that you format the bootflash of the RP's.  It was at this point we started having issues.  We went into ROMMON and recieved the following error.
    rommon B1 > dir bootflash:disk0/hfr-os-mbi-4.0.3 Checksum failed on hfr-fslib-m
    Expected checksum: 6a53, calculated checksum: beba
    open: file "hfr-fslib-m" not found
    loadprog: error - on file open
    cannot load the monitor library "bootflash:%hfr-fslib-m" from device
    If someone has some insight on how we can validate the state of the RP outside of the typical command set:
    show redundancy summary
    show platform
    etc
    I'd appreciate it.
    Cheers,
    Rashmi

    Hi,
    Provide some more information on your problem.
    If you want to check the directory contect try
    dir bootflash:
    is it displaying any output?
    In general above error doesn't indicate that there is any problem but it is not able to find particular directory or file.
    Thanks
    Parthiv

  • How do you know when Acrobat xI has been downloaded?

    How can you tell Acrobat Xi has been downloaded?

    What is your operating system?  Where did you download it to?  Did you also install it after downloading?

  • How can I tell when a JEditorPane has finished loading the document?

    Hi!,
    I've got a JEditorPane connected to a viewport and a couple of scrollbars, and I realy need to know when the JEditorPane has completed loading the document, so that I can decide whether to turn on or off the scrollbars.
    When I try to check the viewport.getView().getWIdth() right after calling setText() or setPage() the values come out wrong... is there an eventHandler that I can register ?
    thanks in advance
    -Miguel

    OK, I'm not an expert. But, why set the scrollbars manually? Would it not be easier to put the JEditPane in a JScrollPane with the scroll policy set to "as needed"?
    Ken

  • How can you tell when your timeline has surpassed making one DVD?

    Is there a way that Final Cut Express lets you know that you have passed a certain amount of space to record on one DVD?
    Thanks,

    There are many variables to this problem. iDVD, for instance, lets you record 1 hour of video [total] for the best quality. It also can record up to 2 hours compressing it down as needed, so you loose quality. If you are using DVD Studio Pro, you have many different compression options, and therefore, you can have different maximum lengths of time that can be recorded onto DVD. Then, there are applications like Burn* that are simple, and don't do menus, so it offers more room for video. Then, of course, you can use a Dual-Layer DVD, which doubles the capacity of a DVD, so there's more content you can burn using iDVD** (or just better quality). I'm sure others can contribute more than I did.
    - Craig
    * http://burn-osx.sourceforge.net/
    ** Using iDVD 6

  • How do you know when icloud restore is finished

    Hello,
      I am trying to restore an iCloud backup from a phone running iOS6 to an iPad with iOS7.  There is about 2.5GB of data, I believe.  The apps quickly appeared, but the mail accounts have not.  Mail just acts like a brand new setup, with no accounts.  And there are no Photos.  It's been 3 or 4 hours and nothing seems to be happening. 
    But in the settings it says that the backup is still being restored.
    Is this true?  How can I tell if it is doing anything?  I don't know whether to tell it to stop restoring and maybe to try again,
    Thanks
    Bob

    Restore from iCloud Backup step by step
    1. Settings>General>Reset>Erase all content and settings
    2. Tap Erase
    3. You'll see Apple logo and progress bar
    4. Hello
    5. Slide to set up
    6. Set language
    7. Set country
    8. Choose Wi-Fi network; enter Wi-Fi password
    9. (a) Use Location Service (b) Don't Use Location Service
    10. Select option
    11. (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
    12. Selected Restore from iCloud Backup
    13. Enter password for iCloud
    14. Agree to Terms and Conditions
    15. Setup Apple ID
    16. Select backup
    17. Restoring from iCloud
    18. Hello
    19. Restore Completed. Your iPad was restored successfully. There are just a few more steps to follow and then you're done!
    20. Continue
    21. Finish setting iCloud enter Password
    22. Updating iCloud settings
    23. Create a Passcode
    24. Welcome to iPad
    25. Get Started
    26. Restoring Apps and Media
    27. Enter Apple ID and Password
    28. Notice: Restore Incomplete, some items could not be downloaded from the Store. If they are on your computer, you can restore them by syncing with iTune
    29. Connect iPad to iTune to sync with computer
    30. Sync Music, Videos and Album Artwork

  • AS2 - coding one mc to another. How do we know when the first has finished

    _root.object_1.sunny.gotoAndPlay("walk");
    _root.object_1.sunny.gotoAndPlay("laugh");
    Hi, I code the following. But it jumps straight to the seconf mc "laugh". Is there nbo way of playing walk and on finishing playing laugh.
    Cheers

    Hi guys.
    THANKS for the answers. They are very helpful. However, one of the problems is it is very difficult to convety exactly what we are asking for in these forums.
    I am NOT a programmer but I do know what I need. These answers were very helpful in the learning process as you guys are REAL pros. I have ended up with a mixture.
    On each frame on the Timeline I write the instructions ie: Frame 1:_root.sunny.gotoAndPlay("speak) then on Frame 2:_root.sunny.gotoAndPlay("laugh).
    The key is to write on the last frame of the nested mcs: _root.nextFrame(); in this way I don't need to write a specific instruction inside the nested mc ONLY on the main timeline and therefore keep the code really "clean".
    It serves as a GREAT template to create movie scenes. I have seen this information asked for on many sites but with inadequate answers given.
    I hope this serves as a great lesson for other NON pros but with serious projects.People are still using the main timeline to tween between key frames when they could be using AS. It's ridiculous but NOBODY seems to teach it well. Not even good sites like cartoon smart etc...
    Thankyou guys.

  • How can I tell when Firefox sync has finished?

    I have completed the form with my name, password and phrase. The instructions say " go to the Tools menu, select Sync and look for a Last Update time." However, there is no Sync in the tools menu, just a set-up sync. If I click it It starts the signup procedure again and immediately tells me that my user name is already in use.

    OK, I'm not an expert. But, why set the scrollbars manually? Would it not be easier to put the JEditPane in a JScrollPane with the scroll policy set to "as needed"?
    Ken

  • Knowing when a page has finished loading

    Hi all,
    I've  produced  a small project that has  a  few tabs, each tab contains an IFrame UI, which loads a BW report.
    I've been asked to  add an indicator that should tell when the reports are finished loading.
    I have two problems:
    1. How  do I know when the frame has finished loading the url? I know I can use the OnLoad tag in html, but how can I edit the HTML WebDynpro produce?
    2. What kind of indicator can I use? I thought of two options - Putting the "Progress Clock" which WebDynpro uses when calling an RFC, and for that I need to know if it's even possible  to call that clock.
    The 2nd option I thought  of is using the ProgressIndicator UI, and just divide the 100% to the number of tabs, and change the percent value when each tab  has  finished loading the URL.
    I appreciate any help  that  you  could provide.
    Yaniv

    Armin Reichert -> I've tried what you suggested about the portal integration (I send parameter to an URL Iview, which changes the url), and it works great!
    Thanks.
    Noufal Kareem -> Because I use an IFrame UI which loads a BW report, I don't have an indication (The WD don't know / care if the page inside the frame was loaded.)

  • How do you fix an ipod that has a black screen and it turns on but when it turns on the screen gets a lighter black but you still can't see the apps or anything?

    How do you fix an ipod that has a black screen and it turns on but when it turns on the screen gets a lighter black but you still can't see the apps or anything?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar              
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

  • How can you know when your Apple Pass word has expired?

    How do you know when your Apple password expires?

    They were wrong.  Apple Passwords don't expire. Unless you choose to change it, your Apple password can stay with you forever.

  • Identify when a user has change value in USEREXIT_CHECK_VBAP before saving

    I originally posted and closed this question, but I am still struggling with the code.
    The req is now to also update the value of VBAP-LPRIO, so I now have to use the Exit : USEREXIT_CHECK_VBAP.
    The issue is that my solution must take into account when a user manually overwrites a value and not replace it with a value determined in the user exit.
    My problem is that the user might do the following
    1 - Create a sales order and enter a new item line, press enter
    2 - The user exit is triggered, and I check that XVBAP-UPDKZ = I  (user add a new line)
    3 - The user-exit determines the new value and populates the field
    4- the user then click on the item line, and then manually changes the value of VBAP-LPRIO
    5- The user-exit is triggered again, and because  XVBAP-UPDKZ = I , my code is triggered and updates the field.
    What I want is to identify that a user has manually changed the value and not overwritte the value.
    1 - I have check YVBAP and it is blank, as the user has not saved the sales order.
    2- The values of VBAP and XVBAP are the same..
    3 - I cannot re-read the database (KNVV) table as the user could have populate the value with the same value.
    What I need is how to identify when a user has made a change to a field before they save the sales item, as YVBAP is never filled.
    Previous post----
    Hello,
    I am writing a bit of code that will overwrite the payment terms in a sales order item based on a number of factors. (ship-to, incoterms, document type, etc)
    I am using the following program MV45AFZB at Exit : USEREXIT_CHECK_VBAP. I am using this exit as the users need to see the payment terms after an item has been entered into the sales order and not have the value determined at sales order save.
    I am not using USEREXIT_MOVE_FIELD_TO_VBAP as it is only triggered once at the time of creation and not when I change the document. I need it in USEREXIT_CHECK_VBAP as users could change the incoterms in VA02, so the code must be redetermined.
    My code is working as expected, however, I have a problem when a user enters a sales order item line and then manually changes the payment terms, as my code then is over writes the users values.
    The flow is as follows
    As user creates a sales order
    They populate the sales order header
    They populate material number and qty
    User exit USEREXIT_CHECK_VBAP is triggered and correctly determines the payment terms
    The user then double clicks on the sales order item and decides to overwrite the payment terms.
    My user-exit is retriggered and check to see if XVBAP-UPDKZ = I (insert)
    As it is still an insert, my code triggers.
    I have tried to check YVBAP, but no entry exist as it stills is seen as in insert? What I really need to know that while it is still an insert, the user has change the field value and my code should not over write the users value.

    When do you need to update LPRIO ? When user makes the change at the Payment terms on line item?
    Regards,
    Naimesh Patel

  • How can I check how many times or when an app has been re-downloaded on my iphone

    How can I check how many times or when an app has been re-downloaded on my iphone. I know how to check purchases but I am looking for how to check when an app had been re-downloaded on my device whether it's through my device or Apple ID

    You mention "lack of control" several times.  The control is there - you control the Apple ID and password that owns the app.  No other Apple ID can use the app.  You have not shared your Apple ID or password with anyone, so you and only you own the app.
    Therefore, the number of times the app is downloaded or re-downloaded is completely irrelevant.  You might, for example, decide to purchase a new iPhone or iPad and download the app there.  Or the app developer may issue a new version which you download.  None of this matters regarding your "control" of the app.  All that matters is that you own it and nobody else can use it.

  • How do you identify duplicates?

    Since a photo can be assigned to multiple albums, how do you identify duplicates and their source?  Upon moving over to Photos, I now see a lot of duplicates showing up and have no idea where they belong so cannot just delete them ;-(

    hello,
    it is nice when you can answer your own question...
    looked in 'common...media core...' and found the new blue trial plugins
    also had the duplicates of the new blue plugins in the AE plugins 'effects' folder
    deleted the plugins from the 'media core' folder
    no more warning signs...
    cool deal
    back to work,
    j

  • How can you find an ipod that has been lost

    how can you find an ipod that has been lost and the icloud is not turned on

    lost/stolen                                      
    No app is required.                                               
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

Maybe you are looking for

  • Error when exporting

    I'm working with a 64 bit system on windows 7, using Acrobat 9.4.1 Standard.  When I try to export a .pdf out of PageMaker 7 or FrameMaker 8, I get the followng message:  Error: "Adobe PDF creation cannot continue because Acrobat is not activated.". 

  • What the **** happened to my notes?

    I'm using an iPhone 3GS.  Last night, I backed up my iPhone and synced new music, as I do periodically (because I'm paranoid about losing data).  After I synced it, I checked my notes and my latest note was gone.  The note where I put all of my thoug

  • Libiconv madness

    Gentleones, My nmblookup crashes every time something calls it, and it gripes with this message: Dyld Error Message: Symbol not found: iconvopen Referenced from: /usr/bin/nmblookup Expected in: /usr/local/lib/libiconv.2.dylib My smbd crashes like thi

  • 3GS won't recognize sim

    How can I get my 3gs to work normal again...........I had it working with no card, just wifi. Today I asked for it to be unlocked, Tech guy said 30 minutes, Tested it at the store, worked on my carrier, but an hour later when syncing my apps, iTunes

  • Updating to FCPX 10.1.4 on Mavericks

    I have both OS10.9 and 10.10 on separate drives in my 2009 MacPro. I can't update from FCPX 10.1.3 to 10.1.4 on the Mavericks drive. Yosemite drive update went fine. No updates available to FCPX on the App Store. Is the store somehow seeing that I ha