Skip to Content
avatar image
Former Member

Display error message and stop navigating in webdynpro Fiori page

Hi All,

On clicking on button 'Transfer to primary out specification' in Fiori page should display error message for some of the recipies based on some condition and it should not allow those recipes to navigate to that window.I have tried creating preexit of WDDOBEFOREACTION method but it is not working.So I have created overwrite exit of WDDOINIT method of standard webdynpro component of the button event which is triggering the 'transfer to primary out specification' button page. .But the result what I am getting is, while clicking on the button, its navigating to next popup and displaying the error message. but It should not navigate to that window and display the error message on the current window/view.Please guide me on this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 16, 2018 at 02:01 PM

    Hi Abinaya,

    If the button's action type is set as "validation independent", error messages issued during action processing won't halt navigation. You may want to hide the standard button and replace it with a custom button with custom action having the "standard" action type.



    Add comment
    10|10000 characters needed characters exceeded