I want to display a message like

The one in c#, or windows programming environment. Is it possible?
A dialog box should appear when needed and display a message.
How can I achieve that?
Thanks in advance.
Regards.
Deniz.

hi,
yes it is possbel to have a pop window but for that you need to use some function modules  some of them are mentioned below hope they help you.
1. <b>POPUP_WITH_WARNING</b>-->this is used to display warning
2 .<b>POPUP_TO_DECIDE</b>--> in this user gets 3 line of text and 3 options to choose
3.<b>POPUP_FOR_CONDITIONS</b>--> this an other fm used for dynami or condition during run time
4.<b>POPUP_TO_DISPLAY_USERDATA</b>--> this is intresting fm try it your own...
and you can have many more
just goto tcode <b>SE37</b> and write <b>POPUP_*</b> and then <b>F4</b> you will get a whole list of popup function module.
hope this information will help you and don't forget to reward points.

Similar Messages

  • Dont want to display Faces Message in JSF Page

    we are using seam framework. In our application user authentication is failed i create one FacesMessage like this
    FacesMessage.instance().add("Login Failed"); but this is displayed in top of the page but i want to display above the username and password field so what i did is i create text above that field .
    <h:outputText value="Login Failed" rendered="#{! empty facescontex.maximumServity}"/>
    Its working properly but the problem is in top of the page Login Failed comes from Faces Meassage is also displayed , i dont want to display that message.So i tried to create an message like
    FacesMessage.instance().add(""); then its not display the text...
    so please any giving suggestion regarding this..
    Thanks in Advance

    Sounds like that there is a <h:messages /> element in the top of the page which indeed shows any facesmessage in the queue. Remove that and use component specific <h:message /> elements only. The way that you're handling facesmessages is also bad, it's like a huge roundabout.

  • Olympus xz-1 camera when connected to ipad2 with supplied ubs cable into apple usb to 30pin adapter it prompts the ipad to display a message like " this device draws too much power to charge" and then i can go no further!

    olympus xz-1 camera when connected to ipad2 with supplied usb cable into apple usb to 30pin adapter it prompts the ipad to display a message like " this device draws too much power to charge" and then i can go no further! if i take the  card from the camera and put it into the card to 30pin adapter and plug that into the ipad no problems. if i connect the camera with supplied usb cable to desktop imac , no problems. if i connect my olympus slr to the ipad using its usb cable into the apple usb to 30pin , no problem .  very frustrating , i don't want to always have to take the card out of the camera to down load photos to the ipad2,IDEAS?

    I'd ask that on the iPad forum.
    https://discussions.apple.com/community/ipad

  • I want to display the message in jsp .

    I display the data retrieve from the database.if the data base have no record,i want to display a message to user.I write only one jsp.
    i used the JOptionPane,first time it takes more time to execute, after it execute normally,i am not satisfy for that.
    Please give me some suggestions, but i don't want to refresh the page.
    and is it possible to call the javascript function through jsp .

    Hi,
    Just declare a counter before fetching the resultset data and increment the counter by 1 whenever you get the data and if the counter returns 0 then display your alert message.
    For example:
    rs = stmt.executeQuery("........");
    int iCounter = 0; //initialize the counter
    while(rs.next())
    iCounter++; //increment the counter
    if(iCounter == 0)
    out.println("No records to display"); //Display your alert message
    Cheers,
    Rkanth

  • While creating po i want to display 'ERROR MESSAGE'

    Hi
    experts
    In tcode ME21N .
    when we created PO under COMPANY CODE  if vendor is not in company code  PO is craeted .
    eg
    comapny code 1000 .
    vendor = rajesh .
    if comapny code 2000 and vendor 'RAJESH' is not in comany code then
    when we save 'i want to diplay ERROR MESSAGE '(WHILE SAVING PO).''VENDOR IS NOT IN COPMANY CODE'
    PLZ HELP ME OUT.
    THANKS
    AJAY.

    hi
    i used badi but if the vendor  between  1000 or 2000 then po wiil be save but it gives error whille saving po.
    error"enter proper vendor".
    I also used *FUNCTION EXIT_SAPMM06E_012. same problem is comming.
    .*method IF_EX_ME_PROCESS_PO_CUST~CHECK.
    BREAK:MIL_ABAP.
    data it_items type purchase_order_items.
    data wa_item type purchase_order_item.
    data wa_data type mepoitem.
    data it_data type table of mepoitem.
    data wa_header type mepoheader.
    DATA: IT_DATA1 TYPE TABLE OF MEPOHEADER.
    CLEAR wa_header.
    call method im_header->get_data
    receiving
    re_data = WA_HEADER.
    IF NOT wa_HEADER-LIFNR EQ '1000' or not wa_HEADER-LIFNR EQ '2000'.
    MESSAGE e000(zmm01) WITH 'Enter Poper Vendor'.
    ENDIF.
    endmethod.
    THANKS
    AJAY.

  • I want to view my messages like how I used to...

    Hi everyone, in Mail when you view a message it'll open the message up on the side in the SAME WINDOW right? Well, I accidently double clicked it and now the message opens in a new window and I can't view my messages in the same window on the side anymore. I'm sure it's a really simple fix but I can't work it out. Help appreciated.
    Message was edited by: chazdaspaz

    To remove the bottom portion of the viewer window, so you don't see the message contents in the window, double-click the bar that separates the list of messages from the message content. To view a message, double-click it, and it opens in its own window. The message is not marked as read until you open its window.
    To restore message contents to the viewer window, double-click the separator bar at the bottom of the window.
    To open multiple viewer windows, choose File > New Viewer Window.

  • How to Display Confirmation message when data is stored in DB ?

    Hello.
    I am persisting user entered data to database table. But I want to display custom message like "Stored successfully" or "Not Stored".
    I am using following approach in my controller and AM impl
    in PFR:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
    am.invokeMethod("insertDataToDeviceDetailsTable") ;
    in AM Impl :
    public void insertDataToDeviceDetailsTable(){
    getDBTransaction().commit();
    //delegating control to Device Details Page
    How to do it ? and also what is the best way to show messages in this scenario. As in some pages a dialogue box appears and the page become inactive.
    waiting for reply..
    Regards,
    Ajay

    Hi,
    You can pint message after am.invoke method:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
    am.invokeMethod("insertDataToDeviceDetailsTable") ;
    throw new OAException("Stored successfully", OAException.INFORMATION);
    in AM Impl :
    public void insertDataToDeviceDetailsTable(){
    getDBTransaction().commit();
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I want to display message more than 50 characters

    hi experts
    i want to display message more than 50 characters, and the fm 'POPUP_DISPLAY_MESSAGE' can display just 50characters, my message maybe much long, what other fm can i use?
    btw, i cann't use POPUP_TO_CONFIRM to let user select, the popup screen should only have one button to let user type in.

    thanks for ur reply,
    but 'POPUP_TO_DISPLAY_TEXT' just has two lines(every line has character limit), my message to be displayed may be much long.
    why i need the fm is that, i want to display error message when user made error operation, if i use 'message msg type 'E' ', the message display in the status bar at the left-down place and cann't display the whole message if the message is to long.
    so i had like to find a fm like 'POPUP_TO_CONFIRM' which can display multipul lines and just with one button(which is the user required...).

  • Unable to display information message written inside badi

    Hi All,
    In customer creation i want to display Info message after pessing save button. I have written the message inside the badi. I can see my message in debugging mode in status bar, which on debugging mode off can't able to see. I tried with more than 25 scenarios got from SDN forum as well as suggested by someone.
    Please reply if u have implemented sucessfully the same kind of reqirement.
    Thanks in advance.

    Hi Keshav,
    I wrote message inside the method preset sale area of badi customer_add_data.
    The message ls "Message 'some text'  type 'I' "
    In debugging mode when the cursor reaches to my message then as soon as i press F5, this message get displayed in the status bar and with one more F5 it disappears.
    So like this i wrote that the message appears only in fraction of second that when without debugging mode i process the transaction it doesn't appears and i can't see this.
    Thanks.

  • How to Display a message after inserting row in table............

    Hi
    I want to display a message after inserting rows in table like *'you have inserted a new row successfully*'.
    i am using the createinsert ADF Button to insert the rows in table.after that i am comitting it.
    after commiting i want to display message for the user.for this what i need to do.
    Please help me.
    Sailaja.

    user10860137
    Can you please explain me the each line in the code briefly.
    +public String saveButton_action(){+
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    +// note "!" operator has been removed from the default code.+
    +if(operationBinding.getErrors().isEmpty()){+
    FacesContext ctx = FacesContext.getCurrentInstance();
    FacesMessage saveMsg = new FacesMessage("Record Saved Successfully");
    ctx.addMessage(null,saveMsg);
    +}+
    return null;
    +}+
    And i have requirement to show the message on favcet "status bar".not in a popup window.(from the above code the message is showing in popup window. )the Layout i am using is PanelCollection.
    can you tell me what i need to do.
    Thanks
    Sailaja.
    Edited by: sj0609 on Mar 19, 2009 8:03 AM

  • How to display error message with some variable

    Hi
    I want to display errror message along with material number which is thr in d LOOP .
    Basically i want some variable to display along with error message .
    Can anybody suggest me how can i go about it?
    Edited by: sonal musale on Apr 14, 2009 12:06 PM

    Hi,
    In the message class, suppose  you use 001 for invalid material message.
    So keep it like:-
    Invalid Material : &1
    in the message class for 001.
    Now in loop use as:-
    loop at itab into wa.
      "perform validations
      "if validation fails for current material
      MESSAGE e001 WITH wa-matnr.
    endloop.
    Similary you can use more variables:-
    Invalid Material : &1 &2 &3
      MESSAGE e001 WITH <variable1> <variable2> <variable3>.
    Hope this helps you.
    Regards,
    Tarun

  • Display error message as as status message on the screen

    Hi all,
    How to display error message as as status message on the screen
    The requirement is if I call the screen, it should get with the error message in the status bar. If I write with error message 'E' error mesage information displays and when I click on exit, it leave the current transaction.
    if i display success message and use display like 'E' it display the error message but if i save it save the transaction.
    i cannot use leave to screen also because of subscreen. if i use leave to screen system display set screen not allowed in subscreen.
    so i want to stop the processing or do not allow the transaction to complete on the message.

    Hi
    displaying error message like status message will help u?
    try the below code
    MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
    cheers
    shibu

  • How to display weicome message in sap logon screen?

    Hello experts,
       how to  display message " welcome to company name" in the sap logon screen.
    while typing userid and password in the same screen (right hand side ) , i want to display welcome message.
    Pls give me the procedure.
    Moderator message: easy to find via google, system administration, not related to ABAP development, please search for available information/documentation before asking.
    locked by: Thomas Zloch on Oct 11, 2010 11:44 AM

    If you want to give an error message on some processing you can raise the message in the event at selection-screen.
    If you want to display information message also ,the same can be done in at selection screen
    In case you want to do the processing selectively like only when the execute button is pressed, then you can do the processing based on SY-UCOMM. (value will be 'ONLI' )

  • Display the message which is in  it_tab

    Hi Experts,
      i want to display the message which is in  it_tab .can you tell me which method is applicable for this.
    READ TABLE it_tab INTO ls_tab WITH KEY usertype = 'PRIV'.
      IF ls_tab-usertype = 'REG'.
      lo_api_controller ?= wd_This->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
      ENDIF.
    Thanks in Advance,

    HI,
    You can use REPORT_ERROR_MESSAGE to display the message.
    If you want to highlight the filed use REPORT_ATTRIBUTE_ERROR_MESSAGE.
    These methods are part of IF_WD_MESSAGE_MANAGER  and can be used like this.
    * get message manager
    DATA lo_api_controller     TYPE REF TO if_wd_controller.
    DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
    lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
      RECEIVING
        message_manager = lo_message_manager
    * report message
    CALL METHOD lo_message_manager->report_error_message
      EXPORTING
        message_text             = 'MESSAGE TEXT'
    *    params                   =
    *    msg_user_data            =
    *    is_permanent             = ABAP_FALSE
    *    scope_permanent_msg      = CO_MSG_SCOPE_CONTROLLER
    *    view                     =
    *    show_as_popup            =
    *    controller_permanent_msg =
    *    msg_index                =
    *    cancel_navigation        =
    If tou have the message class name,message number use can use REPORT_T100_MESSAGE
    CALL METHOD lo_message_manager->report_t100_message
          EXPORTING
            msgid = '/MESSAGE CLASS NAME'
            msgno = 237
            msgty = 'E'.

  • How can i display system messages(forms,rep) in prefered language

    I want to display returned messages from the system,on reports,charts,Forms buttons in users preferred language. How can i dot that
    Thanx in advance

    Hi,
    If you want to display your own message then you add those messages in a table wwnls_strings$. The strings you insert should be in a different domain like 'userdefined'. Please describe the table to know more about the table. You can then use get_string
    wwnls_api.get_string(
    p_domain => 'USERDEFINED',
    p_sub_domain => p_sub_domain,
    p_name => p_name,
    p_language => wwctx_api.get_nls_language,
    p0 => p0,
    p1 => p1,
    p2 => p2,
    p3 => p3);
    Thanks,
    Sharmila

Maybe you are looking for

  • Error while writing to the database (PTRV_HEAD/PTRV_PERIO/Cluster TE)

    Hi All, At the time of creating a travel request, I am getting the following error : Error while writing to the database (PTRV_HEAD/PTRV_PERIO/Cluster TE) Please advise how to resolve this issue. Regards, Rahul

  • Pressing Enter key twice should submit the form

    I am trying to enter the chinese characters in the text box, chinese chracters will become a whole word only when we press the Enter key. But after entering a chinese character , if I press the enter key then the form got submitted. Instead the form

  • Unable to deploy EJB - NullPointerException

    Hello, We are migrating our application from WebLogic 8.1 to WebLogic 10.0. We changed the deployment descriptors according WL 10.0 specs. The application deploys and activates seamlessly. The problem comes when we try to start it (for "Servicing all

  • Two iPhones, one laptop

    I have an iPhone,  iPad,  iTunes account and one laptop. My daughter will be getting an iPhone for her birthday - so, my question is, is she able to open a new iTunes account from my laptop (her laptop is broken) and download her music from the same

  • Iphone frozen after restoring

    Hi!, Recently I bought a used iphone 3g, it was working AOK, but to save a little time I decided to perform a full reset but my iphone froze after restarting and now only show de Apple logo and iTunes won't recognize it, I've already tried all advise