on 01-29-2014 2:51 PM
I define a very simple Personas flavor (let's say, for a minimal display of an Equipment Master record) which contains just a handful of relevant fields. I hide all unnecessary navigation buttons, menu options or tabs, and it is a single display screen what I want.
However the user can still click the right mouse button, which brings up the context menu and allows navigating to various other views in the transaction. I would like to prevent this since they are unnecessary and especially because then I'd have to customize all those other screens according to my theme and style elements.
Is it possible to achieve this somehow? I tried various javascript suggestions via a script button, but they don't have any effect.
I haven't found a way to do this. Also, don't forget function keys. I often have a script that runs a report or transaction with a selection screen, filling in everything necessary and skipping that screen. My flavour for the report or transaction then removes the back button and replaces it with a script button that goes back twice (or puts "/n" in the okcode box). But the users can hit F3 to get to the selection screen, which I'd like to be able to avoid.
Drill-down via double-click is another thing I'd like to be able to easily disable. I currently manage this by creating a blank label that stretches over such fields and make sure it is at the front. This label then intercepts the double click and prevents drill-down. Curiously, it doesn't stop the right-click pop-up menu though.
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response, Steve.
Sounds like there is no way to influence via javascript what the Personas client is doing in this case. I guess since it already got the available function keys from the transaction definition, we'd need a new functionality that would allow specification of what should not be allowed in the flavor.
The list of possible new feature requests keeps growing
I could go on and on
Yes, proper support for disabling standard actions would be much preferable to JavaScript techniques. Right now, I guess part of the problem with trying to do such things in JS is that Personas is a Silverlight app and so interaction possibilities are minimal. You can't just walk through the DOM and delete a few entires from a pop-up menu, or register a replacement event handler .
Maybe this would be easier in an HTML version, but still I'd prefer a "proper" way of doing it.
Disabling the context menu has been requested by several customers, therefore, we have evaluated the problem and did not find an obvious technical limitation. As result, we are currently looking into it. The solution will not include disabling the context menu of ALV grids or table views.The current plan is to allow this in our new 'Control-specific Theming' (check the SP02 announcement) so it will be only available for SP02 and newer SPs.
Please check our frontend note updates for the backlog item PERSONAS30-5438. To get notified when we release new notes, I suggest to sign-up for our newsletter at http://support.personas.help.
Cheers!
--
Tobias Queck
SAP Screen Personas
Lead Architect
you can use below script to disable the right-click context menu in Personas
session.findById("wnd[0]/usr/mnu").hide();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.