on 08-15-2014 12:27 PM
Hi
In one of my std web dynpro apps (SRM contract) build on FPM there is a icon which on a click navigates to the contract details screen having many tabs. But every time i click on the icon it takes me to the very first tab but instead i want to navigate to the 6th tab....need advise on how it can be achieved efficiently?
i got the tab seq number from the comp config but it seems more of enhancement to be done for achieving this....any ideas on how to do it effectively please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Aliaksandr , though the link maybe useful i'm bit struck on how go-ahead with it....
I have a 'Z' comp config with 5 main views (tabs - OIF) and the global setting points to the webdynpro comp /SAPSRM/WDC_FPM_OIF_CONF...here i'm unable to see the app config and hence couldn't go any further on it
appreciate if any help can be offered here
hi
please can you advise on how to capture the tab and change the tabs inorder the default main screen is set to the desired one?
I tried to add the interface to teh class /SAPSRM/CL_FPM_OVRIDE_OIF_CTR but none of the corresponding methods are called when running the WDA
IF_FPM_TABBED
IWCI_IF_FPM_TABBED_CONF_EXIT
Hi Prabhu S,
You wrote that you have OIF application. For switch views (or tabs) in OIF application try to use example below.
lo_fpm = cl_fpm_factory=>get_instance( ).
CREATE OBJECT lo_parameter type cl_fpm_parameter.
lo_parameter->set_value(
iv_key = cl_fpm_event=>gc_event_param_view_id
iv_value = 'REQUIRED_VIEW_ID' ).
lo_fpm->raise_event_by_id(
iv_event_id = cl_fpm_event=>gc_event_view_switch
io_event_data = lo_parameter ).
Just call this code in appropriate place.
Kind regards, Aliaksandr.
Hi Prabhu S,
Component controllers can be used in different component configurations. As I understood in your case you have component controller for FPM_OIF_COMPONENT component configuration. But component controller can be added for FPM_TABBED_UIBB component configuration. I think only in this case relevant methods will be triggered.
Kind regards, Aliaksandr.
Hi Prabhu,
In class ---> /SAPSRM/CL_FPM_OVRIDE_OIF_CTR.
I just debugged and found there is method,
/SAPSRM/IF_FPM_OVRIDE_EVT_OIF~OVERRIDE_EVENT_OIF which is called everytime you leave from initial screen for creation and Every time we display the existing Contract.
There is a CASE mo_fpm_oif->mo_event->mv_event_id, where OVERRIDE_LEAVE_INIT_SCREEN and OVERRIDE_EVENT_START the UIBB READ TABLE lt_uibb INTO ls_uibb INDEX 1.is always set 1.
Please update there based on your requirements, it may help.
Best regards,
Rohit
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.