cancel
Showing results for 
Search instead for 
Did you mean: 

Error message

Former Member
0 Kudos

Hi,

I made an error message with the if_wd_messager. I thought all actions that are following are stopped, but unfortunatedly is is still triggered.

What am I doing wrong?

Harrie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Harrie,

navigation is only stopped on an Attribute type error.

Other errors types, still accept navigation if fired.

If you dont want to navigate, and have no attribute to mark as in error,

then use simple IF wd_this->mY_var = 'no errors'....

type of logic to control navigation plugs and when the are fired.

Cheers

Phil.

Answers (1)

Answers (1)

rainer_liebisch
Contributor
0 Kudos

Hi Harrie,

I assume you mean if_wd_message_manager. In this case the methods like REPORT_T100_MESSAGE for example have an attribute cancel_navigation. Set this attribute to abap_true and the navigation will be cancelled.

Rgeards,

Rainer