on 01-19-2016 10:58 AM
Hi All,
Can anyone give idea for navigating to step 2 directly when the URL is launched?
Any code/Configuraiton idea?
Issue 1: Sourcing cockpit screen, use FPM GAF component.
Is it possible to navigate directly to the second screen (Assign source of supply – Step 2)?
I am trying to execute an URL which launches SOCO screen, URL parameters has the document number. I am filling these document number in the selection screen here and explicilty trigger SEARCH method code and the results gets displayed in the below result table.
Till this part, I have no issue. I have successfully opened SOCO screen, set the selection and executed the search and selected the result.
Now the user has to click on next, to go to next step (step -2). I want to avoid this step of user clicking on the next. I want this logic to be part of the above code, so that user can avoid clicking on next.
Issue 2: Workload distribution screen, use FPM OIF component.
The problem here is, on click on “search” the code call another view of a different component. Unlike the above screen we don’t have the result table in the same view.
Standard code “fires a plug” to display the result table.
I don’t have a choice of firing the plug in WDDOMODIFYVIEW as WD doesn’t allow the screen to navigate while screen 1 is being rendered and the code results in dump.
Hi,
I don't know the application you are using, but in general it is possible to navigate directly to the second step in GAF. I guess your event FPM_NEXT_STEP is cancelled and that is why you still see the screen of step 1 after the execution of the event. There are two possibilities how the event could be canceled:
1. in the OVERRIDE_EVENT_GAF method via method IF_FPM_GAF->CANCEL_EVENT
2. in the PROCESS_EVENT method of any of the uibbs via setting the parameter EV_RESULT to value FAILED
Probably in your application the first possibility is the reason. I would recommend to set a breakpoint in the CANCEL_EVENT method and then debug further to see why the event is cancelled. I think you'll end up in class /SAPSRM/CL_FPM_OVRIDE_GAF or a subclass of this class where there is a method CHECK_CANCEL_EVENT which evaluates if the FPM_NEXT_STEP event should be processed or cancelled.
Regards,
Rebekka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.