Skip to Content
0

Display error message and stop navigating in webdynpro Fiori page

Apr 15 at 07:23 AM

38

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Amy King Apr 16 at 02:01 PM
0

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.

Cheers,

Amy

Share
10 |10000 characters needed characters left characters exceeded