Check authorization after selection in navigation bar
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,
Then Redefine the Method PROCESS_NAVIGATION_REQUEST
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( ..... ) .
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
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
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
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
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
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 - https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are
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 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
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
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
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
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
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
I'm trying to clear the navigation bar. Where I type in the web address "www.somethingsomething.com"... 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
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
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
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
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
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
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