cancel
Showing results for 
Search instead for 
Did you mean: 

FPM Screen Navigation

PatrickDean
Participant
0 Kudos

Hi all - here's my scenario : 


THE SCENARIO

I've got a front FPM WD process.

Window 1 is "Enter Company Code and Contract#"

Window 2 is "Confirm Contract details" (A read-only summary screen where user checks that this is the Contract they're interested in)

Window 3 is "Contract Edit" (where the user can add / amend details ).

FPM quite happily navigates from one screen to the next using "Next Screen" buttons, and 1-2-3 breadcrumb trail along the top of the screen.

So far so good.


THE REQUIREMENT

is to add the Company Code and Contract# as parameters on the WebDynpro Application, which, if filled, take the user straight to screen 2.

I've added the parameters to the WD Application.

I've passed the parameters to the WD Context using the GET_URL_PARAMETER method in the HANDLEDEFAULT of Window 1.

Having seen that the parameters have been passed in, populated the context, I then use :

cl_fpm_factory=>get_instance( )->raise_event_by_id(

   EXPORTING

     iv_event_id   = 'FPM_NEXT_STEP'    " This defines the ID of the FPM Event

).




THE PROBLEM

This takes the breadcrumb trail at the top of the screen to step 2... however, the screen itself remains on Screen 1.

How can I trigger the screen change?



Accepted Solutions (0)

Answers (1)

Answers (1)

vaibhav_singh12
Participant
0 Kudos

Once you click next perform validation on the next step if that step is not required any more raise NEXT_STEP event again manually via code.