Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Determine Action in wddobeforeaction

Hello Experts!

I have a problem in my Web Dynpro ABAP application.

Is there any possibility to determine which action was triggerd within the method wddobeforeaction?

I have several actions in a view and I want checks and error messages to be different for some of the actions.

The problem is that even when I declare the action as validation independent, all error messages created in wddobeforeaction are displayed in the following view.

The specific situation is as follows:

In my application, I have a Table with two ToolBarButtons in a ToolBar, each of which triggers a different action,

and each of these actions needs a specific validation and a seperate set of errors to be displayed.

If there's no way to handle these two independently in wddobeforeaction, does anyone know how it can be done without wddobeforeaction?

Thank you in advance,


Former Member
Former Member replied

Hi Jan,

U can handle the validation in the onaction of the button.

Do the validation part before the action intended function of the button in that event handler.


do validation

throw message.


  • specific function for the button*



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question