on 11-20-2013 4:44 AM
Hi Experts,
I'm using floor plan OIF, I need to change tab the tab by user clicking button Create or Edit:
Please see example like below :
When I click Create button the Member tab will show first like below:
When I click Edit button the Contact Group Data will show first like below:
Thanks,
With regards,
Keu
Hi,
You can try by creating two variants in Component configuration.
In one variant 'Contact Group Data' will be in the 1st tab and
in the 2nd variant 'Members' will be in the 1st tab.
On click of the FPM buttons you can set variant accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is the part regarding creating 2 variants clear?
Im explaing about setting variant now.
Implement interface in your wd comp 'IF_FPM_OIF_CONF_EXIT'.
After implementing this method you will find a method 'OVERRIDE_EVENT_OIF' in component controller.
In this method check the value for 'io_oif->mo_event->MV_EVENT_ID'
If it is having the event id associated with create button then call method 'SET_VARIANT' of 'IO_OIF' and pass the value for 'IV_VARIANT_ID' as the 1st variant you created.
If it is having the event id associated with edit button then call method 'SET_VARIANT' of 'IO_OIF' and pass the value for 'IV_VARIANT_ID' as the 2nd variant.
After this go into component configuration of you application and in the 'FloorPlan Settings' select 'Application Controller' and enter the name of WD comp in which you implemented interface 'IF_FPM_OIF_CONF_EXIT'.
Let me know if its not clear.
Drawback in this solution is creating 2 variants.
I was trying if there is any better way out.
Lets see if we get any more solutions from community members,if I get anything will let you know.
Hi Keu,
Please check following link, I hope it helpful for you.
http://scn.sap.com/thread/842645
Regards,
Starone.
Use the CHANGE_TAB_NAME event, see the FPM Developer's Guide for details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.