on 03-06-2013 11:56 AM
Hi Everyone.
i created a GAF fpm so it facilitates user to navigate through 'NEXT' and 'PREVIOUS' button and also by directly clicking on the step number.
now my requirement is i want to restrict the navigation by direct selecting the road map step. so that user has to navigate by using next and previous buttons.
Please help me out.
Thanks and Regards.
vasu yadav.
Again, if you are trying to work around standard behvior, you should still review your design.
Having said that, in order to disable/enable GAF steps dynamically, you can implement the IF_FPM_GAF_CONF_EXIT interface in your AppCC. Then, you can use the IO_GAF object in method OVERRIDE_EVENT_GAF to enable/disable buttons using methods GET_MAINSTEPS and ENABLE_MAINSTEP of that object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes but here i have 5 steps.
when i was in step1 all are in enable mode.
when i was in step2 first step was in disable mode
when i was in step3 three second step and first step was in disable mode ....
so i used enable = 'X'
but the code is not at all satisfying my requirement is theie any interface i need to implement.
Thanks & Regards
Vasu Yadav
HI Abdullah Azzouni,
Sir we implement OVERRIDE_EVENT_GAF their i wrote the code regarding enable and disable of road map steps . But the problem is when we are in Step 2. We are not able to control Step 1 and Step 3 .
One more Can we have a method to stop navigation by clicking on road map steps. i mean when we going to road map steps cursor is changing to hot-spot can we disable that method entirely...
Plz it's an urgent issue .
Thanks and regards.
Vasu Yadav.
Not sure if you have found the solution. I had a similar issue and resolved it easily.
Locate the view in which the ROADMAP UI element is located. e.g. for FPM_GAF_COMPONENT it is the CNR_VIEW.
Make a not of the ID of the Roadmap UI element.
In the WDDOMODIFYVIEW implement the Post Exit Method get the roadmap ui element which is of type CL_WD_ROAD_MAP.
Call the SET_ON_SELECT method and set its value to blank i.e. ' '.
This will ensure that there is no action set for the onSelect property of the UI element and hence we will not be able to navigate by clicking the road map steps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this method, you have access to the GAF object IO_GAF (interface type IF_FPM_GAF). There, you have access to all steps and you can control their properties (disable/enable). Please refer to the FPM Cookbook available on this website for how to work with that object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a specific reason you want to do that? Are you keeping an index of the step that is being processed? If you are trying to avoid a certain behavior in the standard FPM framework, you might want to review how you designed and built the application. It does not harm to refresh your FPM skills by reviewing the FPM Cookbook.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.