cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member93896
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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