on 11-10-2008 9:03 PM
Hi,
I want to use the Guided Activity Floorplan, but I plan to use buttons from my own view to navigate to the next screen. Is it possible to hide or remove the default 'Previous' and 'Next' buttons that come with GAF?
Kamal
Hi kamal,
My requirement is like, I'm using only one step so, Can I hide the GAF road map also.
Thanks and Regards,
Shashank H
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shashank,
If your using single step, you can achieve the same using the OVP floorplan. GAF road map is for multiple views(steps). In GAF, data will flow in multiple steps. As per my understanding your application is plane(data is not flowing from one step to another), hence you can directly go for OVP floorplan.
Still you need any clarifications, pls mention your requirement.
Regards,
Naga
Hello Kamal,
the visibility of the "Previous" and the "Next" button in the GAF cannot be influenced by the application at all. The GAF is a Guided Activity Floorplan and therefore we have to make sure that a basic navigation is provided between all the steps which shall look like the same for every application using the GAF.
Best regards,
Julia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julia,
Thank you for your response. I have one more related question. Is it possible to change the labels and/or events associated with the Previous and Next buttons? I need to have different labels for the buttons at each step. For example, on the first main step, the 'Next' button should have the label 'Overview', and on the second step, the next button should have the label 'Edit' and so on. When I tried to change the label for the button at the first step, the new label was adopted for all the steps. How can I avoid that?
Thanks in advance,
Kamal
Hello Kamal,
within the FPM Configuration Editor basically no configuration of the Next and Previous Step is possible.
There is one exception:
In the last step before the confirmation screen the Next Button can be declared as 'Final action'.
One u2018Final Actionu2019 can be configured per GAF variant. With this final action you can define a special label and EventId (which is raised when pressing the button) for the Next button on the last step before the confirmation screen.
Best regards,
Julia
Hi Julia,
I just found that it is indeed possible to hide the default buttons (Previous and Next) buttons that come with GAF. In the component configuration, choose View: 'Web Dynpro Built-In' from the top menu bar. Expand the element CNR_VIEW -> TOOLBAR_TOP, and set the visibility attribute to 'Invisible'. This would hide the default buttons, and you can use your own buttons to raise the FPM events 'Next' or 'Previous' to navigate between the views.
Kamal
Hi Kamal,
I have a similar requirement. I need to navigate backward and forward using my own buttons. I am actually using the interface 'FITV_FPM_API'. In this interface method is avaible for forward navigation(NAVIGATE_FORWARD). But, for backward navigation there is no method available. Could you please tell me how to achieve backward navigation using my own buttons.
Thanks,
Deepak
Hi Deepak,
Here's what I did. I used FPM GAF to configure all the steps in my roadmap, and then made the previous and next buttons invisible. Now, when clicking on your own buttons, you can create an FPM event for forward or backward navigation (in the action method) as follows:
data: lr_event type ref to cl_fpm_event.
lr_event = cl_fpm_event=>create_by_id( iv_event_id = cl_fpm_event=>gc_event_previous_step ).
wd_comp_controller->lr_fpm->raise_event( lr_event ).
You can do a similar processing for other events such as next_step, cancel, change_step etc. as well.
Hope this helps.
Kamal
Hi Kamal,
Thank you so much for the reply.
In the code that you had given (wd_comp_controller->lr_fpm->raise_event( lr_event )). Could you please tell me what "lr_fpm" is referring to. I guess it should be refering to a Interface. Could you tell me the name of that interface. Because, I am getting error saying 'raise_event' is unknown.
Thanks,
Deepak
Hi Kamal,
Thank you so much for the reply.
Now, I am not getting that error. But, I think the instance is not getting created for 'lr_fpm' from the code (wd_this->lr_fpm = cl_fpm_factory=>get_instance( ).). I am getting dump at this point. Could you please suggest whether I am missing something or what could be the reason. Thanks again for your help.
Thanks,
Deepak
Hi Kamal,
Thank you so much for the reply.
Now, I am not getting that error. But, I think the instance is not getting created for 'lr_fpm' from the code (wd_this->lr_fpm = cl_fpm_factory=>get_instance( ).). I am getting dump at this point. It says "Access via 'NULL' object reference not possible". Could you please suggest whether I am missing something or what could be the reason. Thanks again for your help.
Thanks,
Deepak
Thanks Kamal,
The following reply from you was a good one...It helped me also...
Hi Julia,
I just found that it is indeed possible to hide the default buttons (Previous and Next) buttons that come with GAF. In the component configuration, choose View: 'Web Dynpro Built-In' from the top menu bar. Expand the element CNR_VIEW -> TOOLBAR_TOP, and set the visibility attribute to 'Invisible'. This would hide the default buttons, and you can use your own buttons to raise the FPM events 'Next' or 'Previous' to navigate between the views.
Kamal
Regards
Raja Sekhar
I faced a similar issue with the view selector not appearing on the configuration page on 7.31 systems where this seems to be a known issue.
I ended up hiding the buttons by opening the Web Dynpro application in Administrator Mode by appending "&sap-config-mode=x" to the URL of a running test of the application. Alternatively, open your configuration in SE80 and in the menu bar follow: Web Dynpro Configuration > Test > Execute in Administration Mode.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
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.