How can we create a popup window for confirmation while clicking of button

HI Friends,
I am creating a application, In which I want to create a popup window for confirmation on clicking of a button.
I also need two buttons on popup window i.e. 'Yes' & 'No'.
On yes i want to perform some operation and on No i want to cancel that operation.

Hi Narendra,
try using the following code in ONACTION of ur button for popup :
* Popup
   *  Generate Popup
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component  TYPE REF TO if_wd_component.
    DATA lo_window         TYPE REF TO if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
      window_name          = 'W_POPUP'
     window_position = if_wd_window=>co_center
      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_none
      default_button       = if_wd_window=>co_button_yes
    DATA:  l_api TYPE REF TO if_wd_view_controller.
    l_api = wd_this->wd_get_api( ).
    " subscribe action for Ok button
    lo_window->subscribe_to_button_event(
                 button            = if_wd_window=>co_button_yes
                 action_name       = 'OK_POPUP'
                 action_view       = l_api
                 is_default_button = abap_true ).
    lo_window->open( ).
regds,
amit

Similar Messages

  • How can I create Fade-in or Fade-out on Click of Button?

    I'm using Encore DVD 2.0. My DVD starts with a video on a timeline, and then jumps to a main menu with a motion background and music. The main menu links to a couple videos on timelines.
    I'd like to do 2 things:
    1) When the user clicks a button on the main menu to bring them to a video on a timeline, I'd like the main menu itself to fade out before jumping to the timeline. How can I make this happen in Encore? I of course can't create this fade-out in the editing of the video, since the user could possibly click the button at any point throughout the video.
    2) In transitioning from the initial timeline to the main menu, I would like the main menu to fade in. Is this possible, and if so, how can I make this happen in Encore?
    Thank you for your help.

    > I'm trying to understand what you mean. Did you mean that I can make my entire menu part of the background motion video? How would the buttons work? Is there a way to create invisible buttons in Encore?
    Sorry for the confusion - I didn't write that as clearly as I should have done.
    Right now, in Encore, you
    i cannot
    use "Buttons Over Video" as it is not in the feature set. What I was trying to say is that a feature request might get this functionality added in a later build. We can but hope, anyway.
    What I can recommend you try is using After Effects or Premiere Pro to create your Motion Menu, and set things up so that the appearance of the actual buttons is delayed to the point you want them to appear at.
    Another solution - this will give you minimal delays (should be very close to seamless on the final DVD) is this:
    1 - Intro to Main Menu.
    Create your intro to the main menu, and set this not as a timeline, but as a motion menu. Set the End Action of this to go straight to a static/still copy of the final frame from the Motion Intro.
    2 - Main Menu
    This will be a still menu, with or without Audio. If you use Audio it will need to loop though.
    3 - Outro from Main Menu to timeline.
    Fake this as follows.
    Method A.
    Create the outro to the timeline and set this as another motion menu - not a timeline - with it's end action set to automatically play the main film. The outro will presumably fade to black, so any transition will be un-noticeable.
    Method B
    Fake the outro by adding it to the start of the main timeline.
    I think Method A will be your best bet here.

  • How can I create the recovery discs for my AIO computer? (For Windows 7 systems)

    Q.: How can I create the recovery discs for my MSI laptop/AIO computer? (For Windows 7 systems)
    A.:
    1. Locate the "MSI BurnRecovery" shortcut on your desktop or start menu. Run this program. (Note: If UAC is enabled, press "Yes" to allow the program to run.
    2. MSI BurnRecovery will prepare the files. This process may take a few minutes.
    3. Click on "Next" to continue.
    4. Click on "Advanced".
    5. Click on "Create an ISO file for the recovery disc".
    6. Select the destination where you want to create the ISO files. (Default is the D: drive)
    7. The program will now create the ISO files. This process may take up to 20 minutes.
    8. Click on "Finish". Make sure the box is unchecked.
    9. Browse to the location of the ISO files. Double-click the recovery_dvd file. (Note: Depending on your system, you will have 1-3 recovery_dvd files)
    10. Insert a blank DVD (If the AutoPlay window pops-up, close it). Click on "Burn". It is also recommended to check the box to verify disc after burning.
    11. After burn is complete, click on "Close".
    12. Double-click the recovery_dvd2 file.
    13. Insert a blank DVD (If the AutoPlay window pops-up, close it). Click on "Burn". It is also recommended to check the box to verify disc after burning.
    14. After burn is complete, click on "Close". Recovery disc creation is now complete. (You can also delete the ISO files, but it is recommended to keep them)

    Hi,
    You can order a replacement set of Recovery Discs using the link below.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&cc=us&lc=en&dlc=en
    If you have any problem with this link, order them directly from HP.
    If you live in the US, contact HP Here.
    If you are in another part of the world, start Here.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • HT201209 How can I create an apple ID for my daughter, without adding a credit card to the account?

    How can I create an apple ID for my daughter, without adding a credit card to the account? I have tried to purchase a gift card online, but it just credits it to my account; I cannot use it to credit her new account therefore I cannot create that account.

    There are intructions on this page for how to create a new account without giving credit card details : http://support.apple.com/kb/HT2534
    e.g. log out of your account, find a free a free app in the store, click on its free 'price' :
    click on 'create Apple id' on the popup :
    Agree to the terms and fill in the details, and you should get 'none' on the payments screen.

  • How can I create a Forms9i Runtime for client distribution

    Currently we have an application developed in Forms 5.0.6.8.0 our Database has been upgraded to 9i DB. The application is working fine with this combination but we want to upgrade Forms in order to get Oracle Support. We just get the Developer Suite 9i package and we're trying to test our application with this software.
    How can I create the client runtime for Forms 9i?
    My application will work with Win 95 and 98?
    Thanks.

    Oracle9i Forms is web-only. Forms 6i is the last release of Forms to have client/server and character mode.
    You can test Forms from the Builder by installing iDS. To deploy Forms using iAS follow the documentation. It's all there in the deployment guide.
    iAS and Forms doco can be found on OTN.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • HT204053 how can i create multiple icloud accounts for my family members

    how can i create multiple icloud accounts for my family members

    Thanks...  I appreciate the reply.  Since I wrote the previous email, I actually went and changed my apple id (the main id) and the documentation I looked at said iCloud will set mail up automatically(?)...  I had it working before. 
    Also, I tried to manually set up the ID via the Mail Accounts screen(s) and I can't figure out what my server information is...  Pop or Imap?  What's the outgoing server and the incoming server?
    I typically have never had problems setting up mail accounts (in apple mail) with no problem.
    Can anyone point me in the right direction?
    Thanks in advance!

  • HT5622 How can I create an Apple ID for my child without linking it to a credit card?

    How can I create an Apple ID for my child without linking it to a credit card?

    Hi Kappy..
    that did use to be the case but ios 8 you can create a child's Apple ID which will stay linked to the main Apple ID until they are 13 when they can if you wish take over the Apple ID themselves.
    I Have the same question regarding creating an Apple ID for my son but it insists I have to add a credit card to prove I'm an adult.
    thing is I don't have another card to add to my Apple ID I have been using the same card for all my family's Apple purchases i just update my details when I get issued a new one.
    Any ideas or suggestions greatly accepted.
    cheers

  • How can I create an apple ID for Free?

    How can I create an apple ID for Free?

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • How can i create another apple id for my other iphone?

    how can i create another apple id for my other iphone? my wife is using the other iphone and we dont want to share contacts and downloads.

    Go to this page to create another Apple ID. You'll need to have another email address to do it.
    Best of luck.

  • How Can I Create One Entry Sheet For Multiple Line Items of A PO

    Please Tell Me How Can I Create One Entry Sheet For Multiple Line Items of A PO

    hi,
    It is not possible to create single Service Entry sheet for multiple PO line items. It is 1 to 1 relation.
    you have to make different service entry sheets for different item of service master.
    regards
    Manish Joshi

  • How can I create back up dvds for itunes and how do I back up from existing dvds?

    How can I create back up dvds for itunes and how do I back up from existing dvds?

    Recovery Mode:
    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times to recover your iPad

  • How can I create index(uniqie index) for a existed table?

    Hi guys,
    I want to create a index for a existed table, it should be unique index. I did it using se11, "indexes," and select the radio button "unqiue index", of course the fields as well. But when I activate it, I get a waring and therefore can not create this index. But if I select radio button "non-uniqe index", it works.
    However I have to reate a unqiue index.
    How can I do it?
    Thanks in advance
    Regards,
    Liying

    HI Wang
    You can create your index via SE11, enter the table name, click change, choose Go To, Indexes. Here create your index with the key fields that you want. To use the index, your select statement WHERE clause, you must have the key fields of the index in the order that they appear in the index. The "optimizer" will choose the index depending on your fields of the WHERE clause.
    One thing to remember is that when you create indexes for tables, the update or insert of these tables may have a slower response then before, I for one have never seen a big problem as of yet.
    this Document may help u on primary and secondary indexes :
    http://jdc.joy.com/helpdata/EN/cf/21eb20446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    If it helps Reward the points
    Regards,
    Rk
    Message was edited by:
            Rk Pasupuleti

  • How can I hide the error prompt for confirm?

    As I schedule job the read PDF to Text program, but acrobat prompt "Message Box for confirm" while error throws.  How can I hide this?
    My code as below:
                    Acrobat.AcroApp gAppClass = new Acrobat.AcroApp();
                    gAppClass.Hide();
                    Acrobat.AcroAVDoc avDoc = new Acrobat.AcroAVDoc();
                    if (avDoc.Open(filespec, string.Empty))
                        Acrobat.AcroPDDoc pdDoc = (Acrobat.AcroPDDoc)avDoc.GetPDDoc();
                        string txt = PdDocGetText(pdDoc);
                        pdDoc.Close();
                        avDoc.Close(1);
                        gAppClass.Exit();
                        return txt;
                    else
                        return null;

    I find a solution from MVP.
    http://forums.adobe.com/thread/1435717?tstart=0

  • How can I create a popup panel in a CVI DLL and keep it on top of the calling TestStand applicatio​n window?

    When I create a panel in CVI and use InstallPopup() to display it, the user can set the focus to the main TestStand window, which causes my popup to disappear underneath it.
    I'm guessing I need the popup to be a child window of the main application window.  I've tried passing the Engine.AppMainHWnd handle as the parentHandle argument in LoadPanelEx(), but this causes an error, as it is not a valid handle.
    Also, if I call another DLL function from a control callback within my popup, which creates another popup, on closing the second popup both disappear and the program is stuck in the RunUserInterface() of the first popup.
    This seems a simple requirement, yet I don't seem to be able to find a straightforward way to achieve it.

    Steve,
    I think this is more a TestStand question than a CVI question.
    To use a CVI popup with TestStand, you should call TS_StartModalDialog() before InstallPopup().
    When you quit your popup panel, you should call RemovePopup () and then TS_EndModalDialogAndDiscard().
    The TSModalData must be the same for Start and End Modal dialog.
    Bruno

  • How do I create an expandable window for articles.

    Working on a new website design that will have hundreds of articles that look similar to these. These are the teaser links to get the viewer to the main full feature article. My main question is how to I make the article attached to the link so it opens up into a window but not have to create an actual page for it on the site. I hope I am explaining this clearly. I just want it to pop up into its own window. The page that opens up will look like a page from a magazine with photos, text and also some videos. 
    Thanks a bunch, Lance

    Hi Lance,
    You'll need to use the 'featured news' widget. Just go into the options and choose 'show target: on click' and 'hide target: on click.'
    Managing "hundreds" of articles like this is going to be a real pain in the arse, so you're maybe better having a seperate blog, and making a popup window that contains the article using the instructions I gave on this post: http://forums.adobe.com/thread/1037307?start=0&tstart=0
    Hope that helps! For any more questions, tweet me: @upchurchpwm
    Thanks,
    Nathan

Maybe you are looking for

  • Webdynpro for ABAP not closing browser window after click Exit

    Hi Experts, We come across a minor problem when executing a Webdynpro for ABAP on our Production Portal. We have a "Exit" button which suppose to close the browser window with the webdynpro codes called but it failed to do so. The execution steps of

  • SD sales cycle

    When we raise a sales order with reference to contract, we can change the quantity in sales order. How to prevent it?

  • Art History Brush Tool

    The art history brush tool doesn't work after saving and turning off my Mac. Re-opended my file from yesterday and the Art History Brush Tool paints in white, not sure how to continue with the brush tool?

  • Why no titles in photos?

    I would like to add titles to photos but I see you can't. That means you can't also add a theme intro if your first media is a photo. Also, need to add dissolves to black. Good basics but need to improve for V2. I did find a way. Make your photo a mo

  • Update pse 9.0.3 error won't install

    error installing update PSE 9.0.3 will not install using win7. just keeps telling me to try later.