Pass Message to a pop-up view

Hi,
I  pop-up a view in a window, that contains an error message.
How can i change this error message using a parameter or anything else ?
Thanks in advance.
Edited by: dyngry on Apr 14, 2011 2:23 PM

Hi dyngry.,
If u want to display only message in popup window., no need of another view and window., use create_popup_to_confirm() method.,
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.
   msgtext = 'Do u want to continue. ?'
    append msgtext to lt_text.
      clear: tmp_from , tmp_to .
      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_window1 =
      lo_window_manager->create_popup_to_confirm(
             text = lt_text
             button_kind = if_wd_window=>co_buttons_okcancel
             message_type = if_wd_window=>co_msg_type_information   " this is info msg u can give error message here
             close_button = 'X'
             window_title = 'Confirmation message box'
      lo_window1->open( ).
reply if u need some more clarifications.,
Thanks & Regards
Kiran

Similar Messages

  • I am trying to open my Preview application to view a PDF. However nothing opens and an error message, "Error -1712" pops up. Any ideas what I can do to resolve this?

    I am trying to open my Preview application to view a PDF. However nothing opens and an error message, "Error -1712" pops up. Any ideas what I can do to resolve this?

    Restart. If an application won't quit and prevents restarting, select
     ▹ Force Quit...
    from the menu bar, then select the frozen application from the list and press return. As a last resort, force a shutdown by holding down the power button for a few seconds. Then press it again briefly to start up. Test.

  • Keyboard not resigning the second time i pop a view controller

    i am developing an app that involves 2 tableViewcontroller. when a cell is selected in a tableViewController the detail table view is shown. the detail table view has a cell with a textfield in it.The value entered in the textfield is send to a webservice and the response is alerted using alertView. When the ok button is pressed in the alert view the viewcontroller is poped from navigationcontroller. the keyboard is hidden using the code
    - (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
    [self.currentResponder resignFirstResponder];
    this is working fine the first time i push the viewcontroller and pop it. The keyboard is hiding. but the second time i push the same view controller and then pop the viewcontroller the keyboard is not hiding... can anyone tell me where i have went wrong..?

    I checked the code, we do not have any other manipulation on the view object, the only thing different in our case that I can think of is that this code is being called the 1st time from one page in the afterPhase method of a class that implements PagePhaseListener (on page load). I'm passing the page name to the View Object, and this invokation executes okay an returns the matching one record.
    Then I navigate to another page (again in its page definition, its controller is using the same pagePhaseListener class), so when the code is executed the next time, I'm passing the new page name, but this invokation does not return any data, even though I'm sure the SQL and the page name parameter does return 1 row in SQLPlus.
    Any thing special with executing the view object parameter binding when I navigate out and back to the page?
    Appreciate the help
    Mohamed

  • Pass BODS job parameters as HAVA View parameters

    Hi experts,
    I use HANA Calculation View as Data Source and need to pass BODS job's parameters into Calculation View parameters. I have tried to use SQL Transformation with code like this (see below) but it doesn't work.
    select RRCTY, RYEAR, FISCAL_PERIOD as POPER, FISCAL_YEAR_PERIOD, RBUKRS, RACCT, RCNTR, WBS, RZZPERNR, PLEVEL, ROW, MEASURE, REP_ID
         from SOURCE_1.DIM_EMPLOYEE as emp
         inner join "_SYS_BIC"."packeage/CalcView" (PLACEHOLDER."$$IP_SNAPSHOT_TIMESTAMP$$" => {$IP_SNAPSHOT_TIMESTAMP}, PLACEHOLDER."$$IP_REP_ID$$" => {$IP_REP_ID}) as mce1
         on emp.EMPLOYEE_CHAR = mce1.RZZPERNR
    How can I pass job parameters into HANA Calculation View from BODS?
    Thank you!
    With best regards,
    Sergey

    Hello
    There's nothing wrong with your theory, it will work as all Data Services is doing is constructing an SQL string as passing it to HANA.  Which version of HANA are you using?  The PLACEHOLDER syntax changed slightly, however I suspect you are missing some single quotes around your parameter values.
    Get the SQL working succesfully via the HANA Studio (or hdbsql) then reverse engineer the parameterised statement for the SQL transform.
    Michael

  • Mail wants to re-download 1500 messages from my POP server

    I tried the delete the "MessageUidsAlreadyDownloaded2" file trick and it's not working... (I don't know why there's a number 2 at the end"
    Everything's been fine with me and Mail.app for the few weeks I've been using it. Last week, however, I noticed that Mail could no longer tell me which messages had been Removed From my Machine (in order to delete them from the server).
    Now, Mail wants to download all 1500 messages from my POP server. I noticed this only by accident in the Activity Viewer.
    How can I slap Mail and tell it to only download previously un-downloaded messages?
    Thanks!
    Dual 2.3 G5   Mac OS X (10.4.3)   Mail v2.0.5 (746/746.2)

    I tried the delete the "MessageUidsAlreadyDownloaded2"
    file trick and it's not working...
    What does "it's not working" mean? It seems to me that it's working pretty well. You deleted it, and now Mail downloads everything still on the server again, which is exactly what deleting that file accomplishes...
    I don't know why there's a number 2 at the end
    Because Mail 2.0 uses a different file than what Mail 1.x used. It was called MessageUidsAlreadyDownloaded (without the 2) in Mail 1.x.
    Everything's been fine with me and Mail.app for the
    few weeks I've been using it. Last week, however, I
    noticed that Mail could no longer tell me which
    messages had been Removed From my Machine (in order
    to delete them from the server).
    I don't understand what you mean here.
    How can I slap Mail and tell it to only download
    previously un-downloaded messages?
    By restoring the MessageUidsAlreadyDownloaded2 file that you deleted previously.
    Alternatively, you can choose Get Info (⌘I) from the Action menu located below the list of mailboxes in the main Mail window to open the Account Info window -- type "Account Info" in the search field of Mail Help for more information on this feature. This allows you to selectively remove any messages from the server without having to download them.

  • Error message as a pop up

    Hello All,
    I have a requirement to show an error message in a pop up window. This cannot be a information message.
    i also tried using the function module POPUP_DISPLAY_MESSAGE but it does not seem to work. I want the processing to stop here, but the processing continues with this FM even if the message type is E.
    Please let me know if there is any other method.
    Thank you
    Usha

    Hi Usha,
    when you use error message than sy will take care that not to proceed further.
    when you using FM to show it as popup,
    you have to handle not to proceed the control using flags or exit statements.
    -Anu

  • New message window keeps popping up

    The new message window keeps popping up without prompting, usually twice in a row. I notice
    this particularly when I first open the Mail program. The funny thing is that you can't actually type in any text in the new message window. Any ideas???

    It seemed to work itself out after several days.

  • 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?

  • I keep getting a notification that says "Google Talk authentication failed"...does anyone know how to get rid of this?  I tried looking for it in the apps but not really sure what google talk is or how to get rid of this message that keeps popping up.

    How do i get rid of the message that keeps popping up that says "google talk authentication failed"????

    funwidowlady,
    Good afternoon!  I'm glad I can be here to help with this error. In the device this application is identified only as 'Talk', so that be more familiar to you. First I recommend opening the 'Market' app on your phone, then Menu>My Apps to see if this application requires an update. It will display a list on top of all applications that need to be updated. If nothing exists, tap 'Home' and go into 'Settings>Applications>Manage Applications>Talk, then tap 'Clear Cache' and 'Clear Data' to remove the history of that application and stop the notifications.  The app will remain on your phone for future use, if you desire to take advantage of it. Read more about Google Talk here
    Thank you!
    AdamE_VZW
    Follow us on Twitter @VZWSupport

  • Issue error message in a pop-up window

    Hii experts,
    How do I issue a message in a pop-up window in a normal report programming? For eg if i click on particular box in SAP graphic, a message window should come up with some information about that box.
    Thanx in advance

    Hi ,
    First track the event let say at line selection(in case of reports)
      then use 
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
          EXPORTING
            endpos_col         = 80
            endpos_row         = 25
            startpos_col       = 1
            startpos_row       = 1
            titletext          = text-300
      IMPORTING
        CHOISE             =
          TABLES
            valuetab           = l_return
         EXCEPTIONS
           break_off          = 1
           OTHERS             = 2
    Append the errors in l_return.
    l_return is of type below:
    DATA: l_return LIKE bapireturn OCCURS 0 WITH HEADER LINE.
    Thanks & Regards
    Ruchi Tiwari

  • Displaying Error message in a pop-up window

    Hi,
    I need to validate the entry in a field on the selection screen and display the error message if the entry does not exists in the corresponding table.  <b>But the error message should be displayed in a pop-up such  that on continuing , the selection screen re-appears.</b>
    How can i  display the error message in a pop-up window  with a single continue button?
    <b>( i dont want to display the yes and no options as in case of fm popup_to_confirm etc.)</b>
    thanks,
    vartika

    Hi,
    Try this:
    tables : BSIS.
    parameter : bukrs like bsis-bukrs.
    at selection-screen.
    if bukrs eq '1000'.
       message 'Co. Code is not allowed' type 'I'.
    endif.
    Thanks,
    Sri.

  • How to make Messages appear on a specific View?

    Hi,
    we are bulding a webdynpro application which uses several views in different components. We are using the IWDMessageManager to display messages. The strange thing is, that the messages do not always appear in the view You would expect. For example if a message is raised in the component-controller of component A, the message might appear in a View of component B, or even does not appear at all.
    I guess that the messages tend to show up in a view which has been loaded first, but I can not reproduce this clearly.
    How may I control on which view a message appears?
    Thanks in advance and regards
    Jan Hempel

    Hi,
    The messages are always displayed in the Message Area that is loaded first in a perspective(Combination of DC's views). This is an extract from Message Area documentation.
    <-----
    If there are several suitable instances, the oldest one (with respect to creation time) is used. Note that it's the application developer's responsibility not to place a MessageArea in a view in such a way that MessageArea is not permanently visible, except if the visibility (or enabled) property of the MessageArea is set accordingly. Also beware that the tooltip property might have no effect.
    >
    Check this link too !
    Re: Error getting messeges in Webdynpro
    Regards
    Bharathwaj

  • Can i pass parameter or global variable in view from 6i form

    hi master
    sir can i pass parameter or global variable in view from 6i form
    i use view for some diff column calculation within the date then i use
    where date between data1 and date2
    in view but view not create
    please give me idea how i pass external value in view
    thank
    aamir

    Hi Antony!
    I feel it may not produce the right results if you
    dont include the where clause and using only group by
    in view.You felt? Please clear, logical thoughts put here, not feelings.
    (It may very well have all the Debit, Credit
    for all the Accid where as the user wants only for
    r some date range)Data range is determinated in Form by user, so if view should give final data set then you must back
    on Ranjana first question: How to pass parameter or global variable to view from 6i form?
    And also as Ranjit pointed out, If you have only
    accid, sum(debit), sum(credit) in View, wheres this
    enddate ??Of course, column entdate (or enddate?) must be included in view...
    Cheers!

  • Safari is giving me a missing plug in message when I try to view things like movie trailers. The trailers play on Firefox, so I'm not sure what's missing from Safari.

    Safari is giving me a missing plug in message when I try to view things like movie trailers. The trailers play on Firefox, so I'm not sure what's missing from Safari.  I have Safari 5.0.6 and Mac OS X 10.5.8.

    I just noticed that it won't play some newsite videos anymore either. What plug in do I need to update (if that's the problem)?

  • How do I set up my MBP so that a message does not pop up when the power button is pressed?

    When I press my power button on my retina a message that says "Are you sure you want to ..?"
    How do I set it up so that that message does not pop up?
    My friends keep turning off my computer..

    Tell your friends to leave your computer alone. That's not the proper way to turn off your MBP. And no, that message cannot be turned off. It is a safety feature.

Maybe you are looking for

  • Approval Workflow: "Send By Email for Approval" not available in Comments Menu

    Im using Acrobat 9 Pro (9.4.1) but still have Acrobat 8 Pro (8.2.5) installed as well. I'm attempting to initiate an approval workflow utilizing the approval stamps but I'm not finding the "Send by Email for Approval" option under the Comments Menu o

  • Table for characteristic defined as Infoprovider

    Hello, In which SAP table can I find the Infoobject, that has been defined as Infoprovider (characteristic is Infoprovider). In RSDCUBE the Infoobject is not available. Regards Robert

  • IChat window always showing I'm Offline.

    My status is always showing Offine, even after I change it. My buddies can see my status change and contact me, but I'm unable to contact them because my iChat window always thinks I'm offline and won't show me my buddie list. I have deleted all the

  • Exporting 16:9?

    I have a project that is 16:9 but when i export it as a quicktime movie (I want to burn a dvd of it) it comes out 4:3 and squeezed. Is there some setting that i am missing? What's the best way to export it 16:9 for iDVD burning? dave

  • How to animate drawing?

    Hello, I would like to know how to animate a drawing in flash. For example if I draw a person, have the animation "follow" the stroke i make with the brush tool, I would also like to make that a mask. Any suggestions? PS: Something similar to this...