cancel
Showing results for 
Search instead for 
Did you mean: 

Show/Hide tabs in top level navigation of a role based on assigned services

Former Member
0 Kudos

Hi,

I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.

Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.

I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.

Is there a way I can show or hide these worksets which are defined in the role on top level navigation?

In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?

Regards,

Sumeet

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I think in your case Portal is leading. You login to your portal , unless you change your desktop in portal using custom TopLevelNavigation which involves iViews from WDA , you cannot simply controle the Visibility from WDA based.

I would suggest to look for a solution that is based on the ROLE so that the worksets in the TLN aligned besed on the user role.

Former Member
0 Kudos

Thats a good lead. Can you please elaborate on what you mean my customizing top level navigation with iviews for WDA?

I dont want to create separate roles for combination of services, I want this to be decided dynamically, can the top level navigation be programmed dynamically?

Former Member
0 Kudos

Hi,

There are api in java to build TLN dynamically. I would suggest to search in Portal content development area for TLN. I am sure that lots of expertise ready to help you out there.

Former Member
0 Kudos

Thanks Baskaran. Is there a way this can be achieved via abap?

Former Member
0 Kudos

Please refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]

What i meant was that you can do a custom TLN like this

[http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]

Seems to me java/jsp is more appropriate than doing it via WDA.

ANother way that you might look into this is Application integrator which again java programming effort needed.

Former Member
0 Kudos

Since the rendering is not local, as Baskaran says better leave it in Java.

However you can create something similar to top level navigation, like a custom panel or a set of buttons which links individual pages in abap web dynpro and then embed it in every page, the navigation will look similar and you can control your dynamic functionality.

In EHP4 you will get a look and feel very close to the standard TLN.

-Sumeet

Answers (0)