Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

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