Hi All,
Cancel_navigation( ) is not working. I am keeping the method in Wdbeforenavigation itself.
Could anyone give me the reason why this is happening?
I have three buttons on the view. EDIT, DISPLAY, SAVE.
When user clicks on the save button and any one of the inputfields on view is empty then i am displaying the warning and using the cancel_navigation method to stop the navigation in the Application.
But this is not happening.
Earlier I was displaying the Attribute_errror_message and it was stoping the navigation by setting the parameter cancel_navigation to ABAP_TRUE.
Problem with the Attribute_errror_message is that the message is getting displayed thrice for which i dont know any reason. So i switched to this alternative.
Could anyone spend some time to read above description and suggest me some solution.
It is needed urgently.
Regards,
Arti.