Messages Box

Hi all,
I would like to implement messages boxes in my web dynpro application.
Like  pop up messages with "Customer xxx successfully created ! "
or "Error : Customer already exist !"
with a button "Ok" that forward to a view ...
How can I proceed ?
Thanks !
Benjamin

Hi Benjiman,
Pls try this..
* Data declarations for Pop up window
  data: lt_text type string_table,
        lo_window_manager type ref to if_wd_window_manager,
        lo_api_component type ref to if_wd_component,
        lo_window type ref to if_wd_window,     
        l_api type ref to if_wd_view_controller,
* Pop Up window to show success message.     
      insert `Created Successfully!!` into table lt_text .
      APPEND lv_reqid  to lt_text.
      l_api = wd_this->wd_get_api( ).
      lo_api_component = wd_comp_controller->wd_get_api( ) .
      lo_window_manager  = lo_api_component->get_window_manager( ).
      lo_window =
      lo_window_manager->create_popup_to_confirm(
             text = lt_text
             button_kind = if_wd_window=>co_buttons_ok
             message_type = if_wd_window=>co_msg_type_information
             close_button = 'X'
             window_title = 'Confirmation message box'
*       lo_window->subscribe_to_button_event
      lo_window->subscribe_to_button_event(
        button = if_wd_window=>co_button_ok
        action_name = *'PROCEED*'                     " Calling Action Proceed On clicking Ok.
        button_text = 'OK'
        action_view = l_api
        is_default_button = abap_true
      lo_window->open( ).
Now in OnActionProceed navigate to next view which u want.,
Reply if u need some more clarifications.,
Thanks & Regards
Kiran

Similar Messages

  • I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    JackieMars71 I would recommend reviewing your installation log files to determine if there are any errors during the installation process.  You can find information on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors you discover to this discussion.

  • Missing Message Box after Skin Copy in IC Agent

    Hi,
    I copied the default skin in a customer z-skin (and added a logo).
    Everything works fine, even the company logo is visible.
    Now I have the problem that for the role "IC Agent" all the three message boxes have disappeared and that behind the SAP logo, the "Interaction Center" is smaller then before.
    Is this a problem in the process of the copy? Or is the mistake somewhere else?
    Thanks for your help
    Tim

    Hi Tim,
    We are facing exactly the same issue with our skin. we tried to copy 'NOVA' into a new custom skin and the three message boxes have disappeared.
    Also we get a warning on UI when we use this new custom skin saying "Communication management software system is not configured".
    Please can you extend help on this one. This is important for us.
    Many Thanks
    Priyanka

  • E mail. I can not send email to a contact from my list. When I hit their email address, the new message box comes up but the send icon is not highlighted and I can not send it. Why? How do I fix it. Happens on both I pad Air 2 and I Phone 5

    WWhen I press the email of a contact, the new message box appears with the address but the send icon is not highlighted. Even after typing a message, I can not send it. This is on both I Phone 5 and I Pad Air 2. this just started and not sure what I did. Help please?

    Read this thread, it's a bug that many are experiencing:
    Cannot send emails from contacts

  • How to cancelling email submission after user clicks "yes/no" button of message box?

    could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
    After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
    In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
    Thanks so much for your help in advance and i am very glad to hearing from you soon!
    Djinges

    Hello,
    The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
    'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
    form1.#subform[0].Button1::click - (JavaScript, client)
    var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
    if(answer==1){
    EmailSubmitButton1.execEvent('click');
    Hope this helps.

  • I get this message box when I click on a link (in a document or email)"firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

  • I'm trying to share to Media Browser a 20 minute still slide show with music and text. I have tried several times to save at 1080 HD, but just before it's finished, a message box pops up saying "File already open with write permission."  What's this mean?

    I'm trying to finalize/share to Media Browser a 20 minute still slide show with music and text. I'd like to finalize it 1080 hd and have tried several times, but just before it's finished, a message box pops up saying it can't be done because "File already open with with write permission."  What does this mean?  All files are closed; this iMovie project is the only thing open.  Does it mean one of the song files from iTunes? And should I just settle for saving it as a "large" file, which is what I'm trying right now?
    Thanks,
    Jamie

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occours only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    See also this post
    https://discussions.apple.com/thread/4434104?tstart=0
    Yours Bengt W

  • How can i display a message box when error comes in jsp?

    Hi,
    i need to display a message box whenever an error comes in my jsp. Actually my appln is that i am creating a bar chart using one applet by taking data from the database. When a user does not select a number data for y axis, now in the centre of the web page one java error is coming. "not in number format". it is looking very odd.
    so i want to display the error in a message box whenever it comes as above. pls help me how can i do the same...
    Regds,
    Abhi...

    Hi,
    thanx for ur response. so u mean to say that i can
    display the errors in the web page itself instead of
    displaying as a message box?Either way. You can have the JSP send a message to the applet to display a message box. Or you can just have the JSP do it. or you can have the applet detremine if the JSP would produce an error and then display the message it would display.
    >
    actually i am using servlets. jsp pages are used only
    as the front end. all the background works are doing
    in servlet only.It should be the same in any case. Is the applet connecting to the JSP pages or are you having the browser do it?
    >
    pls get back...

  • My iphone 4 started displaying a message box with the following message: "This accessory is not optimized for this phone. You may experience noise and loss of battery."  My question is: how to fix this?

    My iphone 4 started displaying a message box with the following message: "This accessory is not optimized for this phone. You may experience noise and loss of battery."  My question is: Why is this happening and how do I fix it? (I'm losing battery power precipitously). Thanks in advance for any assistance with this question.

    Thanks Kilted Tim, you solved the problem. I'm mightily impressed at the simplicity of the solution!
    Jaded Kane

  • How to delete all messages in voice mail erased message box

    Is there a way to delete all the messages in my erased message box without going through them one at a time? Empty the trashcan.

    hullabaloo, we appreciate this device info! Should definitely be possible. If you go to your Voicemail Box, you can select Delete>on the bottom right hand corner, the option to choose Delete All should appear. This way you can delete them much quicker.
    NicandroN_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • What's the easiest way to have a message box?

    Hey, i'm making this game and i have one frame and i have and one panel inside, and when the user completes the game i want a message box to popup saying "Congratulations, You Won!"
    At the moment when the user wins the game, i've just put a "System.out.println("You've Won"); but i want a message box to appear on top of the game. What's the best and simplest way to achieve this?
    I tried replacing my "System.out.println("You've Won") with JOptionPane.showMessageDialog(null, "You Won!"); and that just caused the whole thing to freeze up.
    Thanks

    saru88 wrote:
    I did as you suggested and changed the "null" in
    JOptionPane.showMessageDialog(null, "You Won!"); to
    JOptionPane.showMessageDialog(this, "You Won!"); to refer to the JPanel which contains the game code.And? Any benefit (unlikely)?
    Sorry for my lack of explanation about freezing up, what happens is the message box appears, but the inside is completely transparent and so i can see the game display behind it. And if i click inside it, then it does nothing but change the focus to that window. When i said freeze before i meant, it becomes "non responding" and so I have to open "Task Manager" and close it that way. This sounds like a thread issue. Are you calling JOptionPane.showMessageDialog(...) off of the EDT, the Event Dispatch Thread?

  • How to display a message box in a UIX JSP page?

    I've a UIX JSP Application with BC4J developed with JDeveloper RC.
    The problem is that when the user mistakes in the insertion/updating, I'd like to help him displaying a message box or a modal dialog window.
    In particular, I've the following code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=WINDOWS-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%@ page import="oracle.jbo.JboException" %>
    <%@ page import="CdssPackage.*" %>
    <%-- Define Application Module and DataSource--%>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="CdssPackage.CdssPackageModule.CdssPackageModuleLocal" id="app1" username="scott" password="tiger" releasemode="Stateful" />
    <%
    //Check the mandatory fields are not null
    if ((cod_comm.compareTo("")==0) || (nome_ruolo.compareTo("")==0)){
    throw new JboException(Errors.ERR_REQUIRED_FIELD);
    //Now, the errorpage.jsp is displayed, while I'd like to display a message box or a modal dialog window
    %>
    How can I do it?
    Thanks in advance.

    Michele-
    You can use javascript to send a message window in the http protocol.
    Hope this helps,
    Lynn
    Java Tools Team

  • Getting the message from a Cancel event Message Box

    Hi there,
    I would like to know if a user select from menu in SAP 8.8 Data-> Cancel.  We get a message box for confirmation Yes/No user wants to cancel the document so that it is status is changed to cancel.  I would like to know how can you get the message and the caption from that message box in order to know the appropriate action to take with respect to the form type.  In purchare order, when you select cancel, the message box has a caption "Purchase Order" and the text of the message box is "Cancelling a document is irreversible. Document status will be changed to "Canceled" and the document will not appear in the Sales/Purchase analysis reports. Do you want to continue?" 
    I want to know how may I  get these two piece of information.  Actually I know there is a button caption property but I must know the message in order to distinguish in code which is 'YES' is clicked. 
    Any help or lead will be greatly appreciated, thanks!

    This seems to be an SDK question so it would be better to post it in the SDK forum as you will get way more answers; alot less of the experts come in to the B1i forum.
    Anyways, I will suggest an answer but I'd ask you close this thread and continue it in the SDK forum if you still have issues.
    The form in question has form type = 0 so my method of achieving this would be:
    1. Catch the Item Pressed event on form with typeEx == 0 and BeforeAction == true.
    2. Check if Form.Title == "Purchase Order".
    3. Now to check the text - first of all, before coding, go to View->System Information. Now go to a PO and select Cancel; hover the mouse over the text on the form, you will see that the three lines of text are actually labels with UIDs 7, 1000001 and 1000002. In your code you can check if the Label with ItemUID == 7 has the text "Cancelling a document is....etc etc"
    4. If it does have that text you now know the user has clicked a button on that form.
    6. If not, they have some other type of message box open
    7. Check which button they clicked: pVal.ItemUID == 1 means it was Yes, pVal.ItemUID == 2 means it was No
    Hope it helps

  • How can I desactivate an "-3 error" message box?

    Hi everyone,
    The last time I ran my program I got  the error message : -3 at an unknown place  (see .png).
    I had already run it several times  (for something like 40h each time) without any problem.
    I have only connected and configured the error messages/boxes in some places in my program but not everywhere.
    Could someone tell me if this kind of message can pop up when you haven't connected and configured all the messages/boxes? If so, I suppose I just need to configure all of them to avoid this kind of pop up?
    Or could I get this kind of message anyway? If so, is there a way to desactivate this kind of pop up window message so that my program doesn't stop (although I understand there has been an error somewhere on the line)
    Labview 10
    Thanks,
    User
    Solved!
    Go to Solution.
    Attachments:
    Forum error message.PNG ‏14 KB

    Hey!
     You can disable error handling dialog box. Tools > Options > Block Diagram
    See attached picture!
    Paul
    Attachments:
    disable error dialog.png ‏37 KB

  • TS3212 when installing iTunes on my new laptop a message box appears saying some sort of error has occured and i have to uninstall it then reinstall it again and it still won't work what should i do?

    when installing iTunes on my new laptop a message box appears saying some sort of error has occured and i have to uninstall it then reinstall it again and it still won't work what should i do?

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you? If so, does iTunes launch properly now?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • How do i sort out error r6034 on my windows vista when i try to start itunes, the message box is from microsoft visual c++runtime library, it says an application has made an attempt to load the C runtime library incorrectly,

    how do i sort out error r6034 on my windows vista when i try to start itunes ???
    the message box is from microsoft visual c++runtime library, it says an application has made an attempt to load the C runtime library incorrectly, P;ease contact the application's support team for more information.

    Hey deepakmenonfrompune,
    Thanks for the question. I understand that you are experiencing issues with iTunes for Windows. The following article outlines the error message you are receiving and a potential resolution:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Some Windows customers may experience installation issues while trying to install or open iTunes 11.1.4.
    Symptoms may include:
    "The program can't start because MSVCR80.dll is missing from your computer"
    "iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows Error 126)”
    "Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly"
    "Entry point not found: videoTracks@QTMovie@@QBE?AV?$Vector@V?$RefPtr@VQTTrack@@@***@@$0A@VCrashOnOverf low@@***@@XZ could not be located in the dynamic link library C:\Program Files(x86)\Common Files\Apple\Apple Application Support\WebKit.dll”
    Resolution
    Follow these steps to resolve the issue:
    Check for .dll files
    1. Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    2. If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    3. Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    1. Uninstall iTunes and all of its related components.
    2. Reboot your computer. If you can't uninstall a piece of Apple software, try using theMicrosoft Program Install and Uninstall Utility.
    3. Re-download and reinstall iTunes 11.1.4.
    Thanks,
    Matt M.

Maybe you are looking for

  • Organizing by year

    How do I sort pictures by year? The smart album feature doesn't even give the option. It seems to only allow for a month and a day. What's the point in that?

  • Photo format handling different after upgrade

    Learned by accident. I shoot RAW only and the Photo app used the embedded jpeg to email, embedded, prior to 4.2.1. Today I shot a few to share with a friend, RAW only-first time sine upgrade I guess. She couldn't open them. I assumed they were jpegs

  • When upgrading to Firefox 5 I'm unable to load my Tiscali emails, why is this?

    When I used firefox 3 I tried the version 4 Beta although I had to revert back to 3 as it wouldn't load my emails, my service provider is Talk Talk. When the final V4 arrived I upgrade and I could access my emails fine. Now you have V5 available but

  • Dhcp response from two sources

    Hi, We have this network , where a particular vlan(eg. vlan 10-wireless) is being configured for dhcp ip allocation & this is done by a third party authentication box(similar to ACS). This vlan10 is only applicable to wireless users. Now in the same

  • Excessive Advertisements Coming During use of Internet on Internet Explorer and all other browers

    I am facing problem of excessive advertisements over internet explorer. When ever I click over a hyperlink pop up of advertisement comes up and extra advertisements comes on websites. Please help me to resolve this issue.