cancel
Showing results for 
Search instead for 
Did you mean: 

Stoping the navigation in FPM Framework

Former Member
0 Kudos

Hi All,

I am working on Travel Request Application which is built in Web Dynpro ABAP and FPM technology.

I have added custom button on General Data component to check some validation, when i through a error message it is showing the error but the navigation is not canceled how to stop the FPM navigation when there is an error ?

Your help is really appreciated

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check this thread :

[]

Radhika.

Former Member
0 Kudos

Hi Kiran,

I assume you are using the FPM message manager to throw the error message. If yes, then it is possible to stop the navigation of the application based on your validations.

In the FPM message manager methods, there exists a parameter IS_NAVIGATION_ALLOWED. All you need to do is pass the value abap_false explicitly to this parameter when you throw the message. The FPM framework will take care of stopping the validation.

Regards

Rohan