Hi all.
When I report attribute independent errors in wddobeforeaction the following action is still executed ( lr_message_manager->report_error_message ).
An attribute dependent error cancels the action.
I found SAP Note 940408 - WDA: Error in message handling:
2.
Error messages that do not explicitly refer to a context attribute do not affect the execution of an action
, the navigation or the execution of the WDDOMODIFYVIEW methods. However, you can specify explicitly for each error message whether navigation is to be carried out and whether the WDDOMODIFYVIEW methods are to be executed. The CANCEL_NAVIGATION parameter is provided for the methods of the IF_WD_MESSAGE_MANAGER interface for this purpose. However, this parameter is only effective if the error message is reported prior to the navigation phase..
Does this mean it has been fixed in with the correction in this note or is it a statement that normal error message does not cancel the action itself. If so I wanna know why ![]()
Currentlöy we are on SP11 and in this note SP10 is mentioned as correction patch level, so I am a bit confused now ...
Thanks in advance,
Sascha