Skip to Content
author's profile photo Former Member
Former Member

No messages by perfoming a Function After Data Change - Web Interface Build

Hey Xperts,

I have a problem to see messages, when I perform a Function via WEB - Function After Data Change.

You can select by costomizing a Subcomponent "Layout" that a Function can be performent by the feature "Function After Data Change".

But when I run the function there is no message in the message tray.

When I run the function via Button, there will come up a messages.

Is this a buk or a feature.

How can I see message by performing a Function After Data Change ?

Thanks for help.

Thomas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 16, 2005 at 09:56 PM

    Hi Thomas,

    the system works as designed. It would be a bit anoying if the success messages are always displayed. Therefore only errors are shown.

    If you really need it, here's the modification:

    Include LUPWB_COMPONENTD18
    
    *   PROCESS FUNCTION (after data set)
        if m_state-request-function = cb_true.
          l_function ?= if_upwb_c_layout2~get_function( ).
          if l_function is not initial.
            l_function->_execute( 
    *          i_show_success_msg = cb_false ).   "<<<DELETE
               i_show_success_msg = cb_true ).   "<<<INSERT
          endif.
          m_state-request-function = cb_false.
        endif.

    Regards

    Marc

    SAP NetWeaver RIG

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Marc,

      First of all Thanks for your expert comments.

      Coming to my problem, in a layout on web i have to raise some messages as soon as user input on that - infact if it is not relavant to object type.

      For Ex:- i use a object which should be calculated but i forgot that i just saved and iam going to add one more line,immediately it should throw me error message to work on the earlier one.

      How can i achieve this, This is an urgent issue..

      Cheers,

      vMatt

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.