on โ07-07-2011 9:36 AM
Hello Experts,
I have created a 3 step road map using FPM GAF component.
Initially when i am in 1st Main Step Then 2nd and 3rd steps should be disabled.
Later when i come to 2nd Main Step then the 1st step should be enabled and the 3rd Step should be disabled.
Finally when i navigate to 3rd Main Step then the 2nd should be disabled and the 1st Step should be enabled.
I have tried using Enable_mainstep based on GET_CURRENT_STATUS but my requirement was not met.
Can You please help me out in this.
Thanks in Advance,
Shravan
Have you implemented the interface under Implemented interfaces tab..You need to handle this in Handle Override event of GAF..IF_FPM_GAF_CONF_EXIT.
Test exmaple application config FPM_DEMO_GAF...component name FPM_GAF_BOOK_FLIGHT
In this component controller check this event OVERRIDE_EVENT_GAF and also PROCESS_EVENT for coding..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is kind of complex situation to explain over here.
I have done something like this (long time ago).
Maintain a table for all steps in your configuration.(lt_main_step).
io_gaf->get_mainsteps( IMPORTING et_mainstep = lt_main_step ).
get the current state to know which MainStep you are in.
io_gaf->get_current_state( ES_CURRENT_STATE = ls_current_state )
Loop through the lt_main_step set the enabled property abap_false to all the mainsteps except the one in the current_state.
Use the io_gaf-> ENABLE_MAINSTEP( ) method.
You need to do this in OVERRIDE_EVENT_GAF method.
PS: remember that once you are in the MainSTEP1 and step2 and 3 are disabled. User cannot click that buttons. So by programmatic you need to trigger the change_step event to the desired mainstep.
if_fpm_constants=>gc_event-change_step
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.