Check authorization after selection in navigation bar

November 30 0
there is a standard entry in the navigation bar "Create service ticket" that calls the view set SrvTViewSet for creation of service tickets. The viewset contains of four standard view areas, SrvtHead, SrvtBus, SrvtPartner, SrvtSLA. We have not modified the views themselves, only the IMPL- class for the SrvtHead since we have modfied methods in the class. The problem occurs when the user do not have the right authorization to create service tickets at all (after she has selected Create service ticket in the navigation bar), then an error message is created saying "Wrong authorization" but the four screens also dumps with message cx_sf_ref_is initial or an exemption has occurred in cx_bsp_element_exception.
First I tried to take care of the authorization check myself in each view of the four but then I thougt that this would not be the correct solution. Instead the user would get an error message when she selects "Create service ticket" in the navigation bar and an error message would appear before showing the Create service ticket view at all. Is this possible? There is two authorization objects created but the standard does not seem to work regarding the authorization check.
Is there anyone having any ideas?
Thank you and goodbye,
I think what you can do is , replace the Controller for the Navbar view CL_CRM_IC_NAVBARVIEW with your own Custom Class ( do a controller replacement in the Framework Profile )
Inside this method , you can check what is the current Nav Link Clicked , if it is 'Create Service Ticket' , perform the Authorization check or whatever you want and if it not successful , raise a Error Message using below Code and have a RETURN statement . 
data : lv_msgsrv type ref to cl_bsp_wd_message_service.
lv_msgsrv =  cl_bsp_wd_message_service=>get_instance( ).
lv_msgsrv->add_message( ..... ) .
Check authorization after selection in navigation bar

Hi, there is a standard entry in the navigation bar "Create service ticket" that calls the view set SrvTViewSet for creation of service tickets. The viewset contains of four standard view areas, SrvtHead, SrvtBus, SrvtPartner, SrvtSLA. We have n

"Elegant" template - Select header / navigation bar colour ??

Hey all, I'm currently working on an iWeb website for my wedding. We chose the "Elegant" template (the one where you have different coloured headers for different page templates). Since our colours are some kind of retro brown and pink, I would

Crm Navigation Bar customization

Hello Friends,                How to add fields to the navigation bar like navigation bar customization .   i need to add fiels like service orders. can anyone pls help me out. Regards, Vijay VikramThe fields in the navigation bar are separated to 2

Scrolling/fluid navigation bar

Hi all. I'm trying to achieve something like this and have no idea where to begin. navbar has A|B|C|D click on C bar slides and you get C|A|B|D click on D bar slides and you get D|A|B|C and so on. Help or a link to help is much appreciated. any ideas

When I select Toolbar-Customize and the options box opens, the Navigation Bar icons disappear.

Two questions: 1) When I select Toolbar, then Customize, the box with the toolbar options opens, but my Navigation bar icons disappear, so I can't add the spaces, bars, etc. to it. How do I fix that? 2) I can reposition the icons in the Navigation ba

After upgrading to 4.0 my navigation bar no longer appears, it is checked as show in the menu but it doesn't. I downgraded and it still is missing.

I no longer have a navigation bar. It IS checked to show up, it isn't there with it checked or unchecked.Try they option to reset toolbars and controls as shown in this link -

In navigation bar the drop down menu is not holding open when trying to select item - ONLY in Firefox.

When trying to select item from any drop down in navigation bar the menu shrinks. I seem to not be able to navigate further than 1st item on the drop down list. However, it seems to be working in other browsers but not in Firefox. The website affecte

I have no navigation bar and firefox will not open in safe mode to reset to default config. Reinstalling doesn't work. Any help please.

I have no navigation bar ever since I closed it to gain more space on the screen. It won't re-open. Firefox will not open in safe mode, but opens immediately in normal mode with the new improper config, so I cannot reset to default config. I erased F

Invisible text in navigation bar

When I type something in the navigation bar, I get a list of related pages that I have visited before. The problem is that in Nightly 18, I can see the pages' icons but not the text. All I get is a gray rectangle. If I use the keyboard or the mouse t

Adding Content To the Top-Level of Navigation bar ?

Hi,experts ,    i have a problem with adding content to the top-level of navigation bar ? I have the authority of administration.I have added a customizing role with the entry-point property to myself userid . I have checked my navigation-target page

Navigation Bar & Work areas not appearing in CRM Webclient User Interface.

Dear all, We are into SAP CRM 6.0 implementation. I have created a new Business role (ZIC_Agent) copying the standard one IC_Agent I have assigned default layout profile, role key and the assigned navigation bar profile is ZIC_Agent, which is copied

Non-working links on duplicate navigation bar

The row of links on my web site's navigation bar is the same on every page, just cut-and-pasted. Any reason why none of them are working on the "Samples" page? I'm assuming it has something to do with the bandcamp music players embedded on that

I just upgraded from vista to windows 7 and now when i try to type in a url address in the navigation bar nothing but gibberish appears

whatever letter i type into the navigation bar, some other letter or number appears. i do not have this problem on chrome or internet explorer.go to Help Menu -> select "Restart with Add-ons Disabled" Firefox will close then it will open up w

How do I clear Navigation bar? Under Tools "clear private date" does not bring up a dialog box.

I'm trying to clear the navigation bar. Where I type in the web address ""... The list under there is too long. Using the Tools pull down menu and selecting "clear private data" does nothing. No box pops up. U

How do I add a Recent Objects direct link group to the navigation bar?

Hi I've noticed in some of the tutorials in the eLearning section there is a Recent Objects direct link group. I presume this is a dynamic collection of recent activities the user has created similar to the My Recent Documents folder you see in the S

Invisible Navigation Bar

I use Xara to produce my navigation bars, but in Dreamweaver 8 the bar is generated whee I want it, but not shown in design mode. I have tried to turn on visibility in 'View' without success. Any suggestions as to what the solution is?That usually in

Some navigation bar links have suddenly stopped working

I have been producing a site in iWeb '09 for some time, with no problems. It is hosted by MobileMe. I use a custom-built navigation bar that is saved as a test page and duplicated as and when I need a new page. There have been no problems at all unti

Somehow hyperlinked whole page, now navigation bar doesn't work

I was trying to add a hyperlink to the bottom of my page, and somehow made the whole page the hyper link. Now my navigation bar doesn't work. When I scroll with my mouse to show me if there is something hiding the navigation bar, the whole page inclu

How do i bring back my navigation bar after i hid it?

I accidentally hid my navigation bar and menu bar, now i don't know how to bring it back. == This happened == Just once or twice == June 30, 2010Hit the '''Alt''' key to show the Menu bar, then open View > Toolbars and select Menu bar, so it has a ch

Pl/sql editor navigation bar

hi! Is it possible to have the navigation bar for pl/sql editor in Visual Studio inside an Oracle Database Project? The navigation bar is visible if I open a package body from server explorer, but not if I open the generated create script. The naviga