Getting a reply from a pop up to confirm

Hi.
I was giving a popup to the user to confirm something using create_popup_to_confirm of the window manager.
Now, problem is I coded it in one method of the view.
I want to call this popup method now at different user interaction stages of the view - for eg loss of data, confirm save, confirm send mail etc. So I'd call this popup with different question text preferably.
Problem is that what I understand is that I have to subscribe to YES/NO event, and I can handle them at the YES/NO event handler only.
But I want to do different things based on from where the action was triggered.
For eg. If user pressed cancel without saving, after the popup i want to navigate to the start menu. If user pressed save and a mail is being sent, after the mail confirmation popup, i want to go to a different view.
This is just an example. Basically I want to know how to get the return value of what user has pressed in the popup.
If I write anything after the popup, that code is executed first before the popup is called.
Please note I know that we have to write the handler code in the event handler method.I wanted the return value "yes/no" after my popup has been showed at some point in the program.
Thanks in adv.

Hi Aishi.
AFAIK what you want is not possible. You have to use the event handler methods.
But you can handle it. Just an example:
I have a method which performs a navigation from one component to another.
If the component is dirty the user should confirm the navigation. The navigation
method takes the parameter has_confirmed as boolean.
User clicks link to navigate->method is called with has_confirmed = abap_false.
Method checks if component is dirty and if so pops up confirmation window and returns imediatly.
Now user confirms and corresponding event handler is called. Here I check whetrher user pressed yes and then call navigation methods again with has_confirmed = abap_true. Navigation will be perormed.
This is just an example on how you can handle this problem.
Hopes this helps a bit.
Cheers,
Sascha

Similar Messages

  • HT2500 how do i get my mail from the pop server to my inbox

    Can someone please help me ! I'm sure I did something by accident and don't know how to fix it. My problem is i don't see any emails in my inbox, however my account info says there is mail on the pop server. how do i get the mail from the pop server to my inbox?
    thank you for helping

    First try rebuilding your Inbox.
    Select the Inbox.
    Under Mailbox in the Menu bar select Rebuild (last option in list)
    Note: If you delete a POP account in Mail, it will delete any messages in the Inbox. It does not delete your custom folders or your sent messages.
    If the messages have been deleted and are no longer on the server, you can restore from Time Machine.
    Let us know if this helps.

  • TS4079 Both my wife and I have iPhone 5 and we use Siri a lot. Ever since we upgraded to IOS 7 we found that frequently we get a reply from Siri something like "This is embarrassing but I cannot handle a request right now". Prior to IOS 7 this did not hap

    Both my wife and I have iPhone 5 and we use Siri a lot. Ever since we upgraded to IOS 7 we found that frequently we get a reply from Siri something like "This is embarrassing but I cannot handle a request right now". Prior to IOS 7 this did not happen.

    tonefox is probably right.  Server overload.  I also notice that when siri does respond correctly, it is slower.  My wife has a 4s and same story, and she has not upgraded to IOS 7.
    So it's not just you (if that makes you feel any better).

  • How do I correct bill without getting a reply from customer service or the community forum?

    Hello,
    I have communicate with lasinah_vzw and jonathan_vzw on the forum and by direct message.  I have send documentation of my bills and terminated my account.  I now see an older charge that was credited to my account reapplied.  There has been no response to all the direct messages or forum comments I have tried to post.
    I have not received a reply from you regarding the charge of $93.57 in my account.  I had a credit balance of $11.92 on my Nov. 16th bill after crediting my account for a 2-day reconnection at the end of my account suspension.  I was unable to contact anyone to re-suspend or end my account.  In January I finally got through to Sharon who terminated my account and credited my account for my December and January charges upto termination.  Now I see a charge from prior to my November 16th bill that has been re-added to my account.  In addition I am getting a notice that my bill is being sent to a collection agency.
    If I send all my documentation to you to adjust my bill, get no reply or acknowledgement of receipt or a response as to it's status why is this bill going to a collection agency?
    Why has Verizon turned into a bully?
    If I do not receive a reply to my earlier attempts to correct my billing I intend to submit all my documentation to the Better Business Bureau.
    Thanks... for teaching me a lesson about Verizon "customer" support... UVN

    @UVN ".....Sharon who terminated my account and credited my account for my December and January charges upto termination.  Now I see a charge from prior to my November 16th bill that has been re-added to my account...."
    You are not alone....Promises by Verizon Customer Service don't mean anything anymore.
    I successfully suspended a "JetPack Device" WITHOUT BILLING...even got a message on the web site saying I was successful.
    Supervisor said "I will suspend without billing during dispute" THEN I WAS BILLED anyway.
    This resulted in re-connection fees.
    Again, Supervisor said "I will waive Re-Connection fees"....BILLED AGAIN resulting in more fees.
    Executive Offices say the supervisors have the training and authority to make decisions..so what happened??
    Executive offices also refuse to honor what you are told on the phone.
    I am still trying to find an answer to a simple question.
    If The VZW web Site allows me to suspend a device and actually pop up a message that I "successfully suspended it WITHOUT billing" How can they refuse to honor it?
    OH, It's in the FAQ's and your original contract...So, why does the web site allow it to be accomplished?
    There should be a pop-up saying..."THIS ACTION CANNOT BE COMPLETED"
    YOU ARE NOT ALONE UVN

  • Can't get new Mail from my Pop-Account...

    Hello,
    I have a problem with Mail, as I can perfectly send but not receive Mails from my Pop-Account. The settings are fine and the problem came up suddenly. When I try to get mail from Pop-Account the application starts to load, shows the number of mails in the account, begins to count up the size and then stops. I can even see the title of the mails by opening the window of the Account, but Mail does not download them.
    I would be really pleased if anybody could give me an advice what to do.
    Thanks a lot an greeting from a German in Bahrain
    Jan

    Hello and thanks to both of you,
    I am using Mail 3.1 and the Account is coming from Strato, a German provider. Before, I had no problems neither with receiving nor with sending, but suddenly it stoped. I tried another account (gmail) that worked without any problem. Also your advice with SSl and the ports did not help . I Also phoned the Helpline of the provider Strato without any result . Also the place does not change - it neither works at home nor at work.
    Regards from a desperate Mac-User

  • Help!  : How do I ask for help and get a reply from Adobe?

    Hello:
    I asked a question a week ago on here (Merge to HDR pro is producing very "bleached" and overexposed images.) and there have been zero replies.
    What does it take to get a reply? Am I asking in the wrong area? Is there a support forum somewhere where I should ask questions instead of here?
    Any assistance greatly appreciated.
    Rob, the noob.

    First this site for Adobe Product user there are forum and sub topic forum for Adobe suite of applications. Members here are not Adobe employees though some help Adobe employee do drop by.  If you think you have a bug  you can follow the an other Links in Photoshop menu Help>Photoshop Support Center... web page. It will take you to the right place Photoshop Family Customer Community

  • How to get full row from F4 pop up window into selection-screen fields

    HI ,
    I had a selection screen having 3 fields (vbeln, posnr, ebeln )
    If i press F4 on field 1 i will get a pop up having all values.
    If i click on any one row in that popup, only the first field is getting filled with the value. But i want all the other fields to be filled with the corresponding values in the screen simultaneously.
    Please let me know is there any solution for this...
    Regards,
    Kanth....

    Hi
    U should base your selection-screen on a dictionary structure whith those three fields where you assign your search help exporting all values (VBELN, POSNR and EBELN).
    In this way you'll obtain what you need automatically
    Else you can manage it in POV event by your selef.
    Max

  • I am having problems with mail after upgrading to snow leopard. When I send an email to somebody, I would get a reply from them but the content of the reply were old emails from months ago. Any ideas what's going on?

    For ex. The subject of my email was "List of kids dancing this weekend". Then i would compose my email and send it to the recepient. They responded to my email with the same subject "List of kids dancing this weekend" but the content of the email was the email I received from somebody else months ago. This "phenomenon" happened serveral times already. Please help!

    Check this post out
    http://hints.macworld.com/article.php?story=20110516152604993
    Turns out the auto-complete database is a SQLite DB stored in this folder.  Probably the ownership and/or permissions are messed up on your system.  Mine (under Snow Leopard) show  ownership by me and rw privilege for all files in that directory, including MailRecents....

  • HT1657 why has my rented movie expired after only 5 days? and why can't I get a reply from iTunes

    I have rented a movie and without watching it it expired after 5 days I have tried to contact iTunes but all I get is a automated response saying they will be in touch within 48 hours I am still waiting after 11days

    Contact them again

  • Need a refund for an app, how long does it take to get a reply from iTunes?, Need a refund for an app, how long does it take to get a reply from iTunes?, Need a refund for an app, how long does it take to get a reply from iTunes?

    I recently had an unathorized app charged to my account.  I emailed iTunes Support and got an email saying I would get a response within 24 hours.  That was 3 days ago.  How long does it take to get a response?

    I recently had an unathorized app charged to my account.  I emailed iTunes Support and got an email saying I would get a response within 24 hours.  That was 3 days ago.  How long does it take to get a response?

  • Getting No Reply from SNMP Request to Windows 2012 Server

    SNMP Community string has been properly configured using Properties against SNMP Service in the list of services under Computer Management/Services and Applications/Services.  SNMP Service was properly installed using Add Roles and Features.  The
    server and the client were both rebooted (restarted).  As near as I can tell (Norton is in control of the firewall on the client) the firewall on both computers has been disabled.  The program that I am using has worked in the past against Windows
    2008 with SNMP Service configured and against motion picture theater projectors.  What else can I try?
    MARK D ROCKMAN

    Hi,
    Type netstat –an at a command prompt, and then press
    ENTER. To confirm that the SNMP service uses the correct User Datagram Protocol (UDP) ports:
    UDP port 161 for general SNMP messages.
    UDP port 162 for SNMP trap messages.
    If these ports are being used by another service, you can change the settings by modifying the local services file on the agent. The services file is located in the
    %systemroot%\System32\Drivers\Etc folder.
    If you find another service or program that binds to UDP port 161, stop the automatic startup of that service or program.
    It is just a suggestion that SNMP is deprecated for Windows Server 2012. Instead, use the Common Information Model (CIM), which is supported by the WS-Management web services protocol and implemented as Windows Remote Management.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Mail hang when getting email from multiple POP accounts

    I'm posting this issue again.
    Mail hangs while getting new mail from multiple POP accounts almost every time. When it does, only Force Quit can quit it.
    The following DID NOT fix the hang:
    - Reconstructing all mail boxes
    - Exporting, deleting and reimporting all mail boxes
    - Disabling all rules
    - Deleting anti-spam history
    - Deleting all emails from all mail boxes
    Testing each POP account individually while putty the other two offline works fine.
    I also noticed that sometimes the new mail counter in Inbox displays 2-4 new messages while there is no new ones. Switching boxes/folders and back to Inbox fixes it.
    The POP accounts are:
    One plain text POP
    One secure POP
    One GMail POP
    Can anyone help?

    You’re welcome.
    I did try to clear the junk mail preferences
    The Junk Mail preferences cannot be “cleared”. What do you mean?
    it crashes almost every single time.
    It doesn’t crash (i.e. quit unexpectedly). It freezes (i.e. becomes unresponsive), right?
    I transfered my data to a Mac Mini. I had the same exact problem on it too!
    so it seems it has nothing to do with the OS plugins or the setup I have.
    Well, that would depend on what exactly does “I transfered my data” mean...
    Try first disabling all the rules in Preferences > Rules AND the junk filter in Preferences > Junk Mail. If the problem persists, proceed as follows.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is locally stored.
    3. Locate Envelope Index and move it to the Trash. If you see any other “Envelope Index”-named file there, delete it as well.
    4. Move any “IMAP-”, “Mac-”, or “Exchange-” account folders to the Trash. Note that you can do this with IMAP-type accounts because they store mail on the server and Mail can easily re-create them. DON’T trash any “POP-” account folders, as that would cause all the mail stored there to be lost.
    5. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index — Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    6. As a side effect of having removed the IMAP account folders, those accounts may be in an “offline” state now. Do Mailbox > Go Online to bring them back online.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath  that is "Lightroom will attempt to fix this problem the next time when it launches."

    I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath  that is "Lightroom will attempt to fix this problem the next time when it launches."  It hasn't, what should I do? Thanks Shawn (Irish Se7en) .

    Can you try to rename (not delete!) the folder named "YOUR_CATALOG_NAME Previews.lrdata" and restart Lightroom?

  • When trying to get my music from itunes a message pops up on my computer stating the disk cannot be found, what is this? I cant get the new music i purchased

    when trynig to get new music from itunes a message pops up on my computer saying the disk cannot be found. I dont know what this is, now i cannot not only get the new music i just purchased i seem to have lost all of my other music i already has as well. Is there anything I can do to fix this problem a get all my music back?

    Thanks for all of your help. Took the old girl in to a techie at London Drugs and my HD had failed, simple mechanical failure after 5 years of useful service. They mentioned that it was a pretty massive failure as they were unable to extract ANY information whatsoever. For those of you wondering what the warning signs were: slowing down of all processes, especially opening applications; freezing up when running an internet applcation and browsing at the same time; occasional starting up with a flashing folder with the dreaded ? (which would restart the first few times once I disconnected all peripherals, including the keyboard); finally full failure with only a white screen showing upon start up.
    I am getting a new HD, will reinstall from Time Machine and there will be peace in the valley.

  • How do I get the none button to pop up so u don't have to have a credit card for apps? I owe nothing for apps from Apple, NOTHING!? And it still does not show the option "none". If it helps the card I have is a debit.

    How do I get the none button to pop up so u don't have to have a credit card for apps? I owe nothing for apps from Apple, NOTHING!? And it still does not show the option "none". If it helps the card I have is a debit.

    I'm happy you figured it out and just try to keep in mind that not everyone you talk to at support will give the same advice or have the same knowledge. Just like those who contribute to these forums. Sometimes Google is your best friend.
    I agree that Apple could probably make it easier, but as of yet prefer security over freedom. (sound famaliar?)
    Anyway, if you choose to do so, you can leave feedback here:
    Apple.com Feedback
    Apple Support Feedback
    Developer Feedback
    Product Feedback
    QuickTime Feedback
    Search Feedback

Maybe you are looking for

  • CLIENT_TEXT_IO

    In ORACLE FORMS 10G use CLIENT_TEXT_IO read CSV files, Chinese whole become a topsy-turvy. Part of the code is as follows: T_FILE:= CLIENT_TEXT_IO.FOPEN ( 'E:\MRP.CSV','a'); T_LINE: = '总表编号'; CLIENT_TEXT_IO. PUT_LINE (T_FILE,T_LINE); The '总表编号' diffe

  • W2k12 Hyper V - Rebuilding VMs and Cluster

    Hi,  I am a fairly experienced admin, have done a good bit of work with Hyper-V (and XenServer and VMWare), and currently have an unusual (at least for me) project/situation to deal with.  The client is running two older, but beefy HP servers, and a

  • Cannot update Adobe Premiere Pro CC 2014

    I am desperately trying to update Premiere Pro CC 2014 to version 8.0.2 but cannot do so through my desktop application.  Any thoughts on what might be happening?  Adobe is telling me that the software program is up to date even though it is version

  • Requesting assistance implementing a javascript clock

    I've seen the myriad of javascript forum entries but none I've reviewed have provided the nugget of information which will allow this particular script to execute in a region (script at end of message). It works fine if you place it entirely in the p

  • Galaxy S4 $50 mail-in rebate question

    The rebate instructions state that the receipt must include the purchase date, device ID, and wireless phone number.  Both my hardcopy receipt and online receipt contain the purchase date and device ID, but neither contains the phone number.  Can I j