Skip to Content
0
Former Member
Jun 28, 2012 at 07:44 AM

Stopping navigation in FPM

253 Views

Hi Experts,

I have developed a simple 3 step GAF component. First step is an input form where user enters few data. Second step is the Review form where data is shown to user whatever entered in the first screen in display mode. Third step is the screen which displays confirmation message after data is saved.

The requirement is that when user presses the Next button (provided by FPM framework) in the second step, one validation is done and if true, I have to show a warning message and navigation to Third step should not happen. After reading the warning, if user still feels to proceed and presses the Next button once more, screen should navigate to Third step along with saving the data.

I wrote the below code using the IS_NAVIGATION_ALLOWED parameter but it does not work. I tested and found that it only works for Error messages.

CALL METHOD wd_this->mr_fpm_message_manager->report_t100_message
EXPORTING
iv_msgid = 'ZMSG_CLASS'
iv_msgno = 001
io_component = wd_this
iv_severity = if_fpm_message_manager=>gc_severity_warning
is_navigation_allowed = ''.

Please suggest how can I achieve this.

Regards

Arindam