Need to stop creation of second popup until first popup is completed

Hi All,
I have a popup window in a WD component that display a PDF report. It works perfectly. However, I just received a new requirement to create another popup window immediately prior to the PDF report popup window which will allow the users to answer a Yes/No question which will change the content of the PDF. I thought that this would be a simple request and created another window for this new popup and preceded the call to create the PDF popup window with a call to create and open the new popup window. The problem now is that when I run the WD Application, both popups are created and opened at the same time with the first popup behind the second popup.  I do not want the second popup to be created and opened until the user selects Yes/No on the first popup window.
Does anyone have an idea how to accomplish this?
Thanks,
Gregg

Following is the code that I am currently using that is causing the issue:
*-- Data definition
  DATA: lv_title           TYPE string.
*-- Window Definition
  DATA:
        lr_window_manager TYPE REF TO if_wd_window_manager,
        lr_api_component  TYPE REF TO if_wd_component,
        lr_popup_window   TYPE REF TO if_wd_window,
        lr_pdf_window     TYPE REF TO if_wd_window.
*--  Update the context before any action processing
  wd_this->update_context(  ).
  lv_title = wd_assist->if_wd_component_assistance~get_text( 'TPP' ).
  lr_api_component  = wd_this->wd_get_api( ).
  lr_window_manager = lr_api_component->get_window_manager( ).
  lr_popup_window  = lr_window_manager->create_window(
                     window_name            = 'ZZ_W_POPUP'
                     title                  = lv_title
                     message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                     button_kind            = if_wd_window=>co_buttons_yesno
                     message_type           = if_wd_window=>co_msg_type_question
                     default_button         = if_wd_window=>co_button_yes ).
  lr_popup_window->open( ).
  lv_title = wd_assist->if_wd_component_assistance~get_text( 'TPP' ).
  lr_pdf_window    = lr_window_manager->create_window(
                     window_name            = 'ZZ_W_PRINT_PDF'
                     title                  = lv_title
                     message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                     button_kind            = if_wd_window=>co_buttons_ok
                     message_type           = if_wd_window=>co_msg_type_none
                     default_button         = if_wd_window=>co_button_ok ).
  lr_pdf_window->set_window_size( width  = '98%'
                                  height = '100%' ).
  lr_pdf_window->open( ).

Similar Messages

  • Before the selector value reach a Case structure I need to stop it until a push button is pressed. How to do?

    Before the selector value reach a Case structure I need to stop it until a push button is pressed. How to do?

    altenbach wrote:
    UliB wrote:
    simply wire your selector value through a while loop. Stop the loop with your button. After the loop stops, the value will go on to the case structure.
    Hmmmm.....
    Hello altenbach,
    roflol .
    Thank you for the link to 'A Field Guide To LabVIEW Objects - Selfish Loop'. I'll keep that in mind, when answering other questions with while loops.
    Uli

  • Measure time of an measurement and if measurement time is less than 90 second wait until 90 second and then proceed to next steps or stop.

    Hi
    I am trying to make a program
          During execute a measurement count the time.
          If  measurement time is more than 90 second proceed to the next steps (or stop the measurement)
          If measurement time is less than 90 second, wait until 90 second and then proceed to next steps or stop
    I appreciate deeply if some help me.

    What sort of measurement are you talking about? What affects the time of your measurement? The very basic description you have is of a state machine and there are numerous examples of that
    1. Actually I would like measure the time of "Alignment" function done by wafer test equipment name Prober ( the model is "UF3000" made by TOKYO SEIMITSU CO., LTD.
    2.. Right now  the "Alignment" function is started when a  GPIB command is written as "N" and wait for resposne 70 in polling.
    Please refer to the attachment for Alignement function if it help you.
    In the attahement
    For Alignment error delay we are using =600
    Alignment counter =30000
    align loop cnt = 30000
    This is a program wriiten by another person and he is not availabe any more. What I am trying to do is
    1.  During execute a "Alignment " function count the time.
    2. If  "Alignment " function time is more than 90 second proceed to the next steps
    3.  If "Alignment " function is less than 90 second, wait until 90 second and then proceed to next steps
    Attachments:
    Alignment function.xlsx ‏153 KB

  • Stop the report from firing until the user clicks the Go button?

    Hi All,
    Is there a way to stop the report from firing until the user clicks the Go button? At the moment it is populating when I open the dashboard page. I found something online that said i could use the Page Options>Save Current Settings> For Others.. but even though i am signed in as an administrator i only see a For Me.. option. Also, even after setting this option i would like to be able to hit the 'Go' button to run the report and have it uncollapse the section. Is this possible?
    Thanks

    Thanks for the replies,
    In my report i am trying to constrain the report to todays data only. However the only prompt i have is for another column. If i place a filter on the date column with Year=0000 it will not change with the prompt selection and so will never return any results. Is there any other way?
    It seems wasteful to fire a request to the database onload of the page. Is there an option to only fire a request what the prompts are entered? I will be using a stored proc which needs parameters to run the request so it would be good to be able to set the report to not run until it has parameters entered
    Thanks

  • My office just bought me an iMac and I absolutely need to hook up a second monitor but there is no DVI connection on it, just a Thunderbolt. What do I do? Please help ASAP!!!

    My office just bought me an iMac and I absolutely need to hook up a second monitor but there is no DVI connection on it, just a Thunderbolt. What do I do? Please help ASAP!!! The imac is a 21.5" and they also already bought an HD 21.5 ASUS LCD monitor to attach to it. I'm really trying to make this setup work but this is becoming a nightmare. Any suggestions? I looked up  different VGA adapters but the only options for this would be a usb-vga connection which doesn't work on macs. Can anyone tell me if this new Thunderbolt connection will work in some way? Thanks

    Using the Thunderbolt port attach a Mini-display to DVI so long as the Asus display is equipped and capable, otherwise Mini-display to VGA will also work. The Thunderbolt port is ahead devices  which are not yet available to take advantage of the increased capacity in speed. Until the devices and connection cables are available, just use the port as a Mini-display port.

  • Video playback from YouTube stops every 2 seconds.

    Hello
    On my "old" iPhone 5 and my new iPhone 5S the playback of ie Youtube videos stops every 2 seconds and i have to start the video again and again, does any one recognice this, and is ther a fix to this problem?
    I had succes on the old phone with a restart of the phone, after that is worked a few weekes and then needed a new reestert, but on the new 5s the error is consistent, i am running iOS 7.0.4
    Best regards
    Martin Honoré

    I need to say that i have A 100/100 mbps connection and that the wireless router gives me 40/40 mbps, så that os mit an issue, but thanks anyway for the answer!
    Martin

  • When I attempt to preview a song on iTunes, it begins to play but stops after 5 seconds

    When I attempt to preview a song on iTunes, its begins to play but stops after 5 seconds instead of the normal 30 seconds.

    I posted this to another thread here:
    "I am having the same issue with the preview songs cutting off around the 5 to 7 second mark. It started about 3 weeks ago right after I downloaded an album.
    It downloaded but at the end said the download failed due to a network timeout error. I clicked out of the error dialogue box and checked my "Purchased" items folder and it did seem there was a problem, no songs were there only a placeholder of the album cover (or something of that nature). Nothing happened when I clicked on it. However, when I closed and then restarted itunes the entire album was there and there have been no problems with those songs.
    Some here are saying they believe they previews cutting off have something to do with the 10.6 upgrade, however I still have 10.5.1.42 and have the problem.
    I am running up-to-date Windows 7 Professional with Viper Anti-virus. I don't for a moment think it has anything to do with windows updates, anti-virus or any other 'windows' issues. I believe it is within itunes in its' preview player software.
    Dear iTunes, if this thread is being monitored by a rep, please be aware that if I cannot preview more than 5-7 seconds of a song you can rest assured I will not be purchasing any further music through itunes until this issue is resolved and will be taking my business elsewhere in the interim."
    I use the ipconfig/flushdns all the time to resolve browser issues, especially when using Twitter. It does not help this particular problem for me.

  • Downloaded the app Top 100 Hits. Set the auto lock to never.  Sound stops in 30 seconds, what can I do to correct this?

    Downloaded the app Top 100 Hits.  Set the auto lock to "never".  Sounds stops in 30 seconds.  What can I do to correct this.  MaNUAL DOESN'T EXPLAIN.

    I advise to reply to the one you want to reply to.
    You have had good information here. I will not repeat that here.
    I would like to add:
    you have incompatible software: start in SafeMode, read Woodmeister and see if it is free of issues.
    Akamai is crap software needed or not, Huawei the same.
    It is very possible that the keygenerator you used for generating a key for some softwares has infected your mac.
    The non-regular software with the false key(s) are not compatible probably or generate malware. Luckily you can not update them automatically because the keygenerator blocked the software for contacting the developer... I propose to consider getting rid of those softwares by really good uninstalling.
    You have a beautiful mac, don't degenerate it with crapped software. There are alternatives for expensive software, for example Adobe Photoshop has a free alternative (with a less beautiful interface) in GIMP. And so on.
    Lex

  • 2 blank page printing in the check need to stop it

    Hi,
    Can any one please give the solution to stop printing the second page in the form. When I'm trying to print the check in the development box  it is printing the check the but it also printing the second blank page which we dont want.
    Any help Reward points given.
    Thanks!

    Hello Venkata.
    There are 2 reasons for the second page to appear:
    1 - the main window doesn't fit the first page
    2 - you have a page-break control comand
    If it's the first option, you should verify the height of the MAIN window, and the size of the paragraphs you are writing. Verify if there is empty lines.
    If it's the second option, the solution it's very easy ... delete that comand.
    If you don't need a second page AT ALL, delete it from smartform (it's a check, so you don't need a second page).
    Best regards.
    Valter Oliveira.

  • Stop Creation of reservation while creating process orders....

    Hi All,
    THe requirement is to stop creation of reservations on creation of process order.
    have done the configuration in order type dependent parameters to stop creation of reservations on creation of process order.
    After this configuration the reservations have stopped appearing in the MMBE for components although there are reservation created.
    The above case appears only when i am creating process orders manually through transaction COR1....But when process orders are created by converting Plann order then in this case although the order type is same there are reservations visible in the MMBE transaction for the components.
    Request you to please guide through the reason for creation of reservations when a process order is created by converting a plan order.
    Thanks in advance for your help.
    Vinit

    Hi All,
    We are using the planning strategy 40 where in we produce only when the sales order is received.
    For a material we are using SPK as stock transfer from other plant.
    The requirement for this material is triggered due to 1)dependent reservation(as this component is used as a component to manufacture other material 2)Sales requirement for this material.
    On MRP the requirement is transferred to the supplying plant and we receive the stock in our plant.
    Now this stock is the total of requirement generated to fulfill the sales requirement and the consumption requirement.We cannot differentiate which stock was called in for sales order and which for fulfilling the production requirement of the superior material.
    Whenever a production order for the superior material is created reservation for this material are created because of which the stock will not be available for creation of deliveries for sales orders.(This is because of the av checking rule)
    Is there a way to differentiate these stocks.
    We thought about creating MRP areas to manage the requirements differently but this will lead to creation storage locations and thus affect our global template.
    Thus we thought of blocking of creation of reservations......this we thought as all the materials are already available by the time the process order is created so there is no point in creating reservations for the same.
    Let m know if you need any further information .......Help me providing a proper solution to the issue.
    Thanks in advance

  • Suggestion: Click Box needs option to display success/failure caption until next click

    As it stands right now, if I want to put several click boxes on a page and have the success captions for each appear in the same location, I can only set the success/failure caption to display for a limited amount of time. That is the only way to make the text disappear from the screen.  The problem is, I want to have several different click boxes. When the user clicks, the success caption should display. Then the user shoudl be able to click on another click box and have the success caption for that appear in the same location. The problem is the success caption from the previous click box may still be displayed (depending on how long it was set to display for).  There really needs to be an option to select that says display until next click.  It does no good to guess how long a user will want to read the success/failure text before they decide to click on another text box.
    You have the same problem with audio. As it is right now, a user can click on several click boxes and have several different audio tracks playing simultaneously. There needs to be an option to disable the first audio track upon clicking the next click box.
    I can't believe this problem hasn't been fixed before this. It is a very annoying problem. I never had half the problems I have with Captivate, when I used Authorware. If there is some kind of work-around I'd like to know what it is.

    My suggestion would be that you think a little further outside the box to solve this 'issue'.
    It appears to me that you want to display information in captions that appear and disappear based on user interaction, correct?  AND you also want audio to play at the same time, but you don't want more than one audio track to play, correct?
    To achieve what you want requires at least two separate mouse events.  One event triggers the caption and audio to appear.  The other must trigger any previous captions to disappear and immediately shut off their audio.  Since you don't know which of your objects will be the first one interacted with by the user, all of them must be set up to check for any previously invoked captions and audio before turning on their own caption and audio. 
    Now all of this CAN be done using Captivate's variables and advanced actions.  But there IS a much simpler solution staring you in the face. Why is it essential that all of this MUST happen with mouse clicks?  Why not use mouse overs events instead?
    Captivate provides rollover caption and rollover image objects for which you can attach audio to the object that appears on rollover.  These objects have two mouse events (rollover and rollout). Rollover triggers the caption to appear so that the text displays and it's audio plays, while the rollout triggers the caption to disappear and automatically shut off the audio.  This means that the user merely needs to move their mouse around the screen rolling over the hot spots to see information and hear audio. And if you just place a click box or button on the slide to pause the playhead, your user can spend as much time as they want reviewing the content before moving on.  You don't have to worry about rewinding the playhead with Advanced Actions because clicks on your content objects would resume play.
    These rollover objects can be set up in seconds with audio attached.  I'm surprised more Captivate authors don't use them given how easy they are to apply in comparison to other click-driven solutions using Advanced Actions.

  • MBPro 1.1 Fans begin and stop after 2 seconds at 160. No fans lower than 160.

    I've been doing a lot of research on the MBP fan issues. A lot seem to be snubbed out. Although; I haven't quite found what my problem is anywhere. When I boot up my fans kick on high rpms and then quit after about 5 seconds. After that I have a 0rpm reading from iStat and SMCfan control. Not until my laptop begins to get hot and the temperature reads around 160 do the fans start working with a 5000rpm reading, but they stop after 2 seconds. It's similar to the mooing problem of the past, but I have zero fan activity before 160.
    Any help would be great.

    Also when I remove the battery the fans run continuously at a high rpm. Also iStat and SMC fan control do not recognize the rpms

  • Stop & Delay (x) seconds then play

    ok, so i have a standard timeline with a stop in it half way.
    at the stop point i want to allow an auto scroller to play via
    dynamic txt, and then continue fom the stop keyframe.
    to qllow the user to read the dynamic txt i need to give then
    25 seconds or so.
    what is the easy way to accomplish this, have check alot
    online but nothing straightforward.

    function timer_fun(delayy:Number) {
    this.stop();
    var timer:Number = getTimer();
    var inter:Number = setInterval(function () {
    if (getTimer()-timer>delayy) {
    trace("here");
    clearInterval(inter);
    play();
    }, 10);
    timer_fun(10000);
    //call the function in frame where you want to pause
    //1000--1sec

  • I have multiple devices with the same cerificate, once I have a an exception for one, FF denys access to the others. I cannot change the certificates, I need to stop FF blocking them.

    I have multiple devices with the same cerificate, once I have an exception for one, FF denys access to the others. I cannot change the certificates, I need to stop FF blocking them.
    == This happened ==
    Every time Firefox opened
    == I attempt to access a web front end on an IBM SVC device

    You can't use the same certificate more than once.
    See also [[Certificate contains the same serial number as another certificate]]

  • I am currently volunteering in Uganda, so data is precious. I can no longer afford unlimited data, I pay by MB/GB. All of a sudden Mail has stopped receiving. I wait until about 60meg, but no new mail. Using Gmail. Doctor says connected fine.

    I am currently volunteering in Uganda, so data is precious. I can no longer afford unlimited data, I pay by MB/GB. All of a sudden Mail has stopped receiving. I wait until about 60meg, but no new mail. Using Gmail. Connectivity Doctor says connected fine. No probs there. And weirdly, when I want to send an email. I write it, it takes absolutely ages to try to send but as soon as I click disconnect it sends the email. Very odd. I would just love to be able to write all my emails offline and save to drafts/Outbox and then just connect to send and check emails then disconnect again.

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Cache server-Content server

    Hi,     1. What is the procedure to copy originals from local content server to central content servers located at different geographical locations. (There is a report  SAPKROTP, but i am unable to execute it). Even if copy it, will it display in DIR

  • How to fetch records with two recordset

    i want fetch records from the table using two recordset like ResultSet r1=stmt.executeQuery("select * from pf_data"); i want to take another recodeset ResultSet r2=stmt.executeQuery("select * from finyr"); I am using Microsoft SQL server as my databa

  • How to sincronize Outlook 11 for mac calendar with iPhone calendar ?

    I am trying to sincronize my calendar in Outlook 11 for Mac with my iPhone 4. I used to sincronize without problem before I upgraded OS X to 10.9.1 Any suggestion ?

  • Duplicate records in delta load?????pls help!!!! will assign points

    Hi all, I am extracting payroll data with datasource 0hr_py_1 for 0py_c02 cube. I ran full load with selection crieteria in infopackage -01.2007 to 02.2007, extracted 20,000 records and then i ran init of delta without data transfer, extracted 0 reco

  • CS4 spot healing brush

    When I use the spot healing brush or the healing brush, the actual output is a tiny spot in the center of the round brush cursor. It doesn't matter what size the brush is; it still outputs just a point in the center of the round cursor. It's driving