on 08-30-2010 6:17 PM
I want to add a button to my existing FPM_OIF_COMPONENT application.
I want to code this button so that when a user clicks it, another FPM
application is displayed.
How would I code and configure this navigation to another FPM application?
Hi Friend,
There are several steps you need to do:
- Configure OIF component, add button to the toolbar with event.
- In PROCESS_EVENT method, handle this event and open new FPM application.
To open new FPM application from a FPM application
- Create a new launchpad for the FPM application.
- Launch it inside your own component. Refer to the following code:
DATA fpm TYPE REF TO if_fpm.
DATA navigation TYPE REF TO if_fpm_navigation.
DATA key TYPE fpm_s_navigation_key.
DATA target_key TYPE string.
fpm = cl_fpm_factory=>get_instance( ).
" Navigate to Compensation Planning iView
key-key1 = 'YOUR_KEY'.
navigation = fpm->get_navigation( is_key = key ).
target_key = navigation->get_key_from_alias( iv_alias = 'YOUR_ALIAS_IN_LAUNCHPAD' ).
navigation->navigate( iv_target_key = target_key ).
Refer to this [FPM|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50?quicklink=index&overridelayout=true]
Thanks,
Duy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.