Determine Action in wddobeforeaction
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,
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.
specific function for the button*