To display message in method using methods

hello all,
i have a requirement in a method to display message to user, but i am not supose to use message statement. is there any METHOD which i can use in this situation... to prompt message to user...
please help me out ....
thanks in advance...
seenu...

HI,
use following FM.
<b>POPUP_DISPLAY_MESSAGE</b>
CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
  EXPORTING
*   TITEL         =
    MSGID         = 'SU'
    MSGTY         = 'I'
    MSGNO         = 000
   MSGV1         = 'Hello this is message'
*   MSGV2         =
*   MSGV3         =
*   MSGV4         =   .
regards,

Similar Messages

  • Multiple ALV display in one screen using SALV(Factory method)...

    Hello Experts,
    I tried using the old 'REUSE_ALV_BLOCK_LIST_APPEND' but it does not suit my
    requirement. So will it be possible to display multiple ALV display(block) using
    SALV?

    check the sample code..
    REPORT  zsalv_demo_multiple.
    DATA: salv1 TYPE REF TO cl_salv_table,
          salv2 TYPE REF TO cl_salv_table,
          salv3 TYPE REF TO cl_salv_table.
    DATA: g_custom TYPE REF TO cl_gui_custom_container,
    o_splitter    TYPE REF TO cl_gui_splitter_container,
    o_grid1 TYPE REF TO cl_gui_container,
    o_grid2  TYPE REF TO cl_gui_container,
    o_grid3  TYPE REF TO cl_gui_container.
    DATA: it_flight TYPE STANDARD TABLE OF sflight,
          it_carr  TYPE TABLE OF scarr,
          it_book TYPE TABLE OF sbook.
    START-OF-SELECTION.
      SELECT * FROM sflight
      INTO TABLE it_flight
      UP TO 20 ROWS.
      SELECT * FROM scarr
      INTO TABLE it_carr
      UP TO 20 ROWS.
      SELECT * FROM sbook
      INTO TABLE it_book
      UP TO 20 ROWS.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'ABC'.
      CREATE OBJECT g_custom
      EXPORTING container_name = 'CONT'.
      CREATE OBJECT o_splitter
      EXPORTING parent  = g_custom
      rows    = 3
      columns = 1.
      CALL METHOD o_splitter->get_container
        EXPORTING
          row       = 1
          column    = 1
        RECEIVING
          container = o_grid1.
      CALL METHOD o_splitter->get_container
        EXPORTING
          row       = 2
          column    = 1
        RECEIVING
          container = o_grid2.
      CALL METHOD o_splitter->get_container
        EXPORTING
          row       = 3
          column    = 1
        RECEIVING
          container = o_grid3.
      cl_salv_table=>factory(
        EXPORTING
          r_container    = o_grid1
        IMPORTING
          r_salv_table   = salv1
        CHANGING
          t_table        = it_flight
      cl_salv_table=>factory(
        EXPORTING
          r_container    = o_grid2
        IMPORTING
          r_salv_table   = salv2
        CHANGING
          t_table        = it_carr
      cl_salv_table=>factory(
        EXPORTING
          r_container    = o_grid3
        IMPORTING
          r_salv_table   = salv3
        CHANGING
          t_table        = it_book
      CALL METHOD salv1->display.
      CALL METHOD salv2->display.
      CALL METHOD salv3->display.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Flow Logic..
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    in the Screen i placed a custom control and named it as CONT

  • Map integration - message GAC: Method/property does not exist

    Hi
    In TM when using the Map function we get the message: GAC: Method/property does not exist
    Does anyone know what to do?

    Hi
    Yes i´m sorry you are right, but actually it´s more or less what i got... I have set up the Customizing and all i get when i use the Map function in the Transportation Cockpit is this:

  • Interface Message acknowledge() method acknowledges this and all previous messages received.

    Hi,
              I use a JDBC datastore to hold messages in a queue. When I receive a message
              off the queue, there is a flag that says True or False. If True, I want to
              put the message back onto the queue without acknowledge. If False, I want
              to acknowledge. My session instantiation looks like this:
              qsession = qcon.createQueueSession(false,Session.CLIENT_ACKNOWLEDGE);
              Currently, I receive messages by correlation ID in order to filter messages
              based on the flag. First, I receive all messages with False. Those messages
              I will acknowledge. Then, I receive messages with True. This group of
              messages will not be acknowldeged. Instead, I use qsession.recover. The
              messages are put back on the same queue after forwarding them to another
              process. The process will return success or failure. If failure, the
              process will call again, and I'll resend the group of messages I just
              recovered.
              What I would like to have happen is to do this procedure in one loop, not
              two. Instead, I would rather get all messages, and check if True or False.
              If True, I would want to skip acknowledgement. If False, I would want to
              acknowledge. The problem is, the JMS Message.acknowledge method will
              acknowledge all the messages it received before.
              In BEA WebLogic, is there an ability to acknowledge a particular message,
              rather than all previous messages? If it is not possible, is the reason
              because the acknowledge underneath is actually like a database commit? Is
              there any other way to process these two types of messages given that I may
              need to keep one type around in case resending is necessary?
              Regards,
              Scott Lynch
              

              Scott Lynch wrote:
              > Hi,
              >
              > I use a JDBC datastore to hold messages in a queue. When I receive a message
              > off the queue, there is a flag that says True or False. If True, I want to
              > put the message back onto the queue without acknowledge. If False, I want
              > to acknowledge. My session instantiation looks like this:
              >
              >
              >
              > qsession = qcon.createQueueSession(false,Session.CLIENT_ACKNOWLEDGE);
              >
              >
              >
              > Currently, I receive messages by correlation ID in order to filter messages
              > based on the flag. First, I receive all messages with False. Those messages
              > I will acknowledge. Then, I receive messages with True. This group of
              > messages will not be acknowldeged. Instead, I use qsession.recover. The
              > messages are put back on the same queue after forwarding them to another
              > process. The process will return success or failure. If failure, the
              > process will call again, and I'll resend the group of messages I just
              > recovered.
              >
              > What I would like to have happen is to do this procedure in one loop, not
              > two. Instead, I would rather get all messages, and check if True or False.
              > If True, I would want to skip acknowledgement. If False, I would want to
              > acknowledge. The problem is, the JMS Message.acknowledge method will
              > acknowledge all the messages it received before.
              >
              >
              >
              > In BEA WebLogic, is there an ability to acknowledge a particular message,
              > rather than all previous messages?
              The is a FAQ. And no, BEA does not provide an "acknowledge-one"
              extension. It does provide an "acknowledge-previous" extension, via a
              connection factory configurable, but this won't help in your case.
              One common solution is to use a pool of multiple sessions (one per
              current message).
              > If it is not possible, is the reason
              > because the acknowledge underneath is actually like a database commit?
              No. BEA JMS is just following the JMS spec here.
              > Is
              > there any other way to process these two types of messages given that I may
              > need to keep one type around in case resending is necessary?
              Use multiple sessions.
              >
              >
              >
              > Regards,
              >
              > Scott Lynch
              >
              >
              >
              >
              

  • Hello, why at attempt to buy application shows the message (your method of payment isn't confirmed. Please, enter other information on a method of payment.

    Hello, why at attempt to buy application shows the message (your method of payment isn't confirmed. Please, enter other information on a method of payment.

    Hi...
    Make certain you are typing in the correct credit card number, selecting the correct expiration date from the pop up menus and are using the correct Security Code from the back of your credit card.
    Make sure your billing address is the same on your credit card account that you entered under Billing Address.
    Now click Done bottom right side of the App Store window.
    edited by:  cs

  • Warning message in method

    Is it possible insert a warning message in a method?
    If it is possible canyou send me an example?
    Thanks a lot.
    CV

    Hello
    There is nothing special about warning messages in methods, e.g.:
    METHOD my_method.
      MESSAGE 'This is a warning with MY_METHOD' TYPE 'W'.
    ENDMETHOD.
    The question is how will your class react if the user pushes the ESCAPE button in order to cancel the further processing.
    Regards
      Uwe

  • I keep getting a display message saying this cable or accessory is not capitiable with this apple product may not be reliable with this iphone even when i have no cable or accessory in use

    My iphone 5 has been saying this for days now. Yes I have recently purchased a motorola ear piece for easy talking while walking, but i have also used a 10ft cord purchased at walmart for months now and no display before the motorola. now even without anything plugged in ,I still get the display message on my phone saying" the cord or accessory is not capitable with this iphone and may not be reliable with this iphone.
    what DO I do ?! is there something I can do without going to either Sprint or Apple for help.... will this be damaging to my iphone ?! HELP before its too late.
    sincerely,
    Apple lover JAJA

    Try resetting your iPhone.  Hold the on/off and home buttons together for about 10 seconds till the Apple logo appears.
    CAUTION - This may get rid of the warning for now, but the issue the warning points out still remains.  One or both of your cables is certainly suspect.

  • Display Message using Servlet

    I tried to display message prompt to the user using servlet. Can anyone has this code or guideline that can guide me??

    what you need to do is
    request.setAttribute("error", "search item doesnot exist") if surname, designation is null or invalid and forward request to results.jsp page.
    In results.jsp page, check this attribute "error".. if its null then display results present in "arraylist" attribute else display "error" attribute value.
    When you are catching exception, in catch block redirect to error.jsp.

  • When open photoshop a message came up saying photoshop has given up waiting for assesment of the display driver. enhancements that use the graphics hardware have been disabled... can anyone help?

    when open photoshop a message came up saying photoshop has given up waiting for assesment of the display driver. enhancements that use the graphics hardware have been disabled... can anyone help?

    The best thing to do is to go into Help > System Info, copy and paste the contents into your reply.
    One of us or several should be able to sort it out for you.
    Gene

  • I could do this before installing Maverick but cannot do it now.It is nice and convenient how Mac OS X Mail displays messages semi-automatically when you just select them. But wouldn't a bigger view of the mailbox be useful sometimes? Yes, and it's easier

    It is nice and convenient how Mac OS X Mail displays messages semi-automatically when you just select them. But wouldn't a bigger view of the mailbox be useful sometimes?
    Yes, and it's easier to get than you maybe think.
    Hide the Preview Pane and Delete Mail Without Opening It in Mac OS X Mail
    To hide the message preview pane in Mac OS X Mail:
    Double-click the bar that separates the message pane from the mailbox pane.
    Now, to delete any email:
    Highlight the message or messages you want to delete.Hold down the Command key while selecting with the mouse to highlight multiple emails and Shift to highlight a range.
    Press Del.
    To get the preview pane back, double-click the same bar again.
    Cannot do this now since installing Maverick

    It is nice and convenient how Mac OS X Mail displays messages semi-automatically when you just select them. But wouldn't a bigger view of the mailbox be useful sometimes?
    Yes, and it's easier to get than you maybe think.
    Hide the Preview Pane and Delete Mail Without Opening It in Mac OS X Mail
    To hide the message preview pane in Mac OS X Mail:
    Double-click the bar that separates the message pane from the mailbox pane.
    Now, to delete any email:
    Highlight the message or messages you want to delete.Hold down the Command key while selecting with the mouse to highlight multiple emails and Shift to highlight a range.
    Press Del.
    To get the preview pane back, double-click the same bar again.
    Cannot do this now since installing Maverick

  • Itunes displays message "this phone cannot be used because the apple mobile device service is not started

    itunes displays message "this phone cannot be used because the apple mobile device service is not started

    Type " apple mobile device service" into the search bar at the top of this page by "Support" and read the resulting help articles.

  • How to get the displayed message when using FM:  ABAP4_CALL_TRANSACTION

    Hi, 
    I am calling FM ABAP4_CALL_TRANSACTION from MS-Excel.  This FM works perfectly for me except the system messages that SAP returns are not always understandable or intituative.  My question is there another FM or Table that I can use to convert the data from MESS_TAB to a more meaningful message for the users?
    Examples listed below:
    Normal T-Code Message
    FM Message in MESS_TAB
    Real Meaning
    Fill in all required entry fields
    COBL-RMVCT        
    Field COBL-RMVCT is a required field
    Document 400000000 was posted in 130
    4000000000 130
    Document 400000000 was posted successfully
    Thanks for your Help

    Hi Karim,
    when you have the parameter to generate the message, you can use the following RFC function module:
    BAPI_MESSAGE_GETDETAIL
    The module has the following interface:
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(ID) LIKE  BAPIRET2-ID
    *"     VALUE(NUMBER) LIKE  BAPIRET2-NUMBER
    *"     VALUE(LANGUAGE) LIKE  BAPITGA-LANGU DEFAULT SY-LANGU
    *"     VALUE(TEXTFORMAT) LIKE  BAPITGA-TEXTFORMAT
    *"     VALUE(LINKPATTERN) LIKE  BAPITGA-LINKMASK OPTIONAL
    *"     VALUE(MESSAGE_V1) LIKE  BAPIRET2-MESSAGE_V1 OPTIONAL
    *"     VALUE(MESSAGE_V2) LIKE  BAPIRET2-MESSAGE_V2 OPTIONAL
    *"     VALUE(MESSAGE_V3) LIKE  BAPIRET2-MESSAGE_V3 OPTIONAL
    *"     VALUE(MESSAGE_V4) LIKE  BAPIRET2-MESSAGE_V4 OPTIONAL
    *"  EXPORTING
    *"     VALUE(MESSAGE) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      TEXT STRUCTURE  BAPITGB OPTIONAL
    Best regards
    Thomas

  • Error message for radiobuttongroup using report_attribute_error_message

    Hi,
    We are displaying error message on the submit button of a form in web dynpro abap application. We have different UI elements in the form which are mandatory to enter by the user.So we are using 'CALL METHOD lo_message_manager->report_attribute_error_message' method to display error.
    When user click on the error message control will go the UI field which is caused for error.
    This works fine for INPUT,DROPDOWNBYKEY,TEXTEDIT,RADIOBUTTON UI elements.
    But error link is not working for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX ui elements.
    Is this problem is with WEB DYNPRO ABAP or am i missing any property settings. Does SAP Web Dynpro ABAP provide this functionality for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX?
    Please help us to resolve the problem.
    Below attached written code for reference.
    CASE lo_action->name. WHEN 'SUBMIT'.
    IF lv_radio IS INITIAL.
    *    REPORT message
       call method lo_message_manager->report_attribute_error_message
         exporting
           message_text              = 'Please select something from radio button grp by key.'
           element                   =  lo_el_radio_node
           attribute_name            = `RADIO`
    *        params                    =
    *        msg_user_data             =
    *        is_permanent              = ABAP_FALSE
    *        scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
    *        msg_index                 =
    *        cancel_navigation         =
    *        is_validation_independent = ABAP_FALSE
      ENDIF.
        IF lv_text IS INITIAL.
    *    REPORT message
       call method lo_message_manager->report_attribute_error_message
         exporting
           message_text              = 'Please KEY IN SOMETHING THE TEXTEDIT BOX......'
           element                   =  lo_el_text_edit
           attribute_name            = `TEXT`
    *        params                    =
    *        msg_user_data             =
    *        is_permanent              = ABAP_FALSE
    *        scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
    *        msg_index                 =
    *        cancel_navigation         =
    *        is_validation_independent = ABAP_FALSE
      ENDIF.
        IF lv_radio_group  IS INITIAL.
    *    REPORT message
       call method lo_message_manager->report_attribute_error_message
         exporting
           message_text              = 'Please select something in second radio group.'
           element                   =  lo_el_radio
           attribute_name            = `RADIO_GROUP`
    *        params                    =
    *        msg_user_data             =
    *        is_permanent              = ABAP_FALSE
    *        scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
    *        msg_index                 =
    *        cancel_navigation         =
    *        is_validation_independent = ABAP_FALSE
      ENDIF.
    ENDCASE.

    Hi Smitha
    You declare as below :
    *---- SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECT-OPTIONS : s_werks FOR vbap-werks .                 "Plant
    SELECTION-SCREEN END OF BLOCK b1.
    *Selection Screen validation
    AT SELECTION-SCREEN .
      IF s_werks-low IS NOT INITIAL.
        SELECT SINGLE werks            "Plant
        FROM t001w
        INTO s_werks-low
        WHERE werks = s_werks-low
        and werks in ( '2000','3000','4000' ).
        IF sy-subrc NE 0.
          MESSAGE e000 WITH text-t48.
        ENDIF.
      ENDIF.
    if its a parameter just replace s_werks as p_werks
    Edited by: Martina Floriette on Feb 21, 2009 6:01 AM

  • Why previously displayed message is coming again?

    Hello
    I am on view_1, here user selecting a option, if its incorrect, then am throwing a message(say, its INCORRECT PICK) in a popup with the below code,
    * Navigate from <CONTEXT> to <ERROR_MESSAGE> via lead selection
        lo_nd_popup_message = wd_context->get_child_node( name = wd_this->wdctx_popup ).
    * Get element via lead selection
        lo_el_popup_message = lo_nd_popup_message->get_element( ).
    * Get single attribute
        lo_el_popup_message->set_attribute(
        EXPORTING
        name = `MESSAGE`
        value = lv_message ).
        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 = 'POPUPW'
        title = 'Invalid Selection'
        message_display_mode = if_wd_window=>co_msg_display_mode_selected
        close_button = abap_true
        button_kind = if_wd_window=>co_buttons_ok
        message_type = if_wd_window=>co_msg_type_none
        default_button = if_wd_window=>co_button_ok
        lo_window->open( ).
        lo_window->close( ).
        EXIT.
    Then, the user clicks OK button, and selects correct option, then user will navigated to view_2 and user will enter data, clciks submits button, then i am throwing a successful submission message on view_3, fine. But, along with successful message, user is getting the previously displayed message (INCORRECT PICK) as well!!
    How can fix it? Why still the previous message INCORRECT PICK is persisting there? why system is retaining it?
    Thank you

    Hi
    Do you use the messge area to throw messages in?
    If this is the case, please try to reset the message queue by using
    the message manager clear_messages method.
    if you are using a special node say "Messages", check if you go over
    the elements of your node. You should make this node's cardinality 1:1
    and select one attribute at the time.
    I hope this helps
    regards
    yuval peery

  • Send Display Message to SPA5xx or SPA3xx Series phones from SIP Server

    I have the program samples to update a CISCO SPA5xx phone via HTTP URI.  Unfortunately that URI is not accessible via NAT.
    I would like to be able to update the display from the Dial Plan (ie as the call routing progresses).  We use FreeSwitch, but really this is just a generic SIP question.  Is there a SIP INFO method or SIP HEADER or other way for the server to signal a display message update to the SPA5xx series of phones via SIP?
    FreeSwitch has a send_display function.  However it has only been coded for SNOM and POLYCOM support.  We can't have that!
    Thanks in advance,
    Sean

    Admin Guide contain the information that text messages have format described in RFC3428 (it mention not only how to disable/enable the feature) and I didn't said just RTFM but copied relevant part of such documentation to my response. But I'm not willing to waste our time with the discussion about "has been RTFM, or not has been RTFM".
    Now I understand you are not interested in format of SIP packets, you are interested rather in code sample that can send such kind of messages.
    The Asterisk can send such messages understood by Cisco Phone. You can call sendtext() application from dial plan. For the source code of it see file chan_sip.c, function declared as static int sip_sendtext(struct ast_channel *ast, const char *text)
    It may help to you.

Maybe you are looking for