cancel
Showing results for 
Search instead for 
Did you mean: 

How to Hide a Tab in FPM

Former Member
0 Kudos

Hi Colleagues,

We have a requirement in which we have to dynamicaaly hide a tab on a screen that uses FPM. We were able to disable the tab but we did not find any option to hide/remove tab provided by FPM.

regards

ashish

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You are able to disable dynamically, are you setting the enable property to false in ModifyView method?

If you are doing it in ModifyView method, try setting the visibility value to WDVISIBILITY.NONE.

If not please let me know the procedure you have adapted to disable the tab, so that I can analyze further.

Best regards,

Chinnu

Former Member
0 Kudos

Hello Ashish,

1. If your application is based on the OIF, then you need to use the OVERRIDE_EVENT method provided by the IF_FPM_OIF_CONF_EXIT API. Inside this method, you'll have an importing parameter called IO_OIF which can be used to removed a mainview from the configuration at runtime.

1. If you are using a tabbed composite UIBB, then you need to use the OVERRIDE_EVENT method provided by the IF_FPM_TABBED_CONF_EXIT API. Inside this method, you'll have an importing parameter called IO_TABBED which can be used to removed a tab from the configuration at runtime.

Regards

Rohan

Edited by: Rohan Saundattikar on Nov 13, 2009 2:14 PM

Former Member
0 Kudos

Hi,

We are implementing SRM 7.0 (Release 701).

Our requirement is to hide/disable BUDGET subview from SRM Portal -> Display Purchase Order -> Header -> Budget.

I tried to enhance Webdynpro component FPM_OIF_COMPONENT and while adding interface IF_FPM_TABBED_CONF_EXIT in the implemented interface, the system displays message "Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_E already exists".

Please advise.

Regards,

Bijaya

Former Member
0 Kudos

Steps to Hide/Remove BUDGET sub-view from PO Display-

1. Go to Object Navigator (t-code SE80) and enter Web Dynpro component FPM_OIF_COMPONENT. Right-click and then click on u201CCreate/Change Configurationu201D.

2. Enter configuration ID /SAPSRM/WDCC_FPM_OIF_PO_PURCH and then click on u201CChangeu201D.

3. Select Sub-view Budget.

4. To remove the sub-view, click on DELETE.

5. The sub-view will be removed.

Steps to Hide/Remove Sub-view contents and NOT the sub-view itself-

1. Enter the Configuration ID of the sub-view component.

2. Click on Web Dynpro Built-in tab.

3. Select all elements and set visibility as u201CInvisibleu201D.

4. Click SAVE.

5. Contents of BUDGET sub-view will be removed.

Steps to bring removed/deleted sub-view back on Portal-

1. Select Mainview HEADER and click on u201CAdd UIBBu201D. Enter the following in Attributes Subview: Budget.

Subbiew ID: Budget

Subview Name: Budget

Sequence Index: 4

2. Click on Attributes for the added UIBB and then enter the following values.

Component Name: /SAPSRM/WDC_UI_DO_BUDGET

View: IV_L_FPC_CA_DETAILS

Configuration Name: /SAPSRM/WDCC_UI_DO_BUDGET3

Regards,

Bijaya