on 2010 Feb 05 10:37 PM
I'm running webdynpro on basis 700 - I'm looking for a way to add additional customer auth object checks to an existing SAP web dynpro application.
When I go the methods tab, I only see a Pre-Exit & Post-Exit button; no Overwrite Exit button. I think reading these forums that is added in version 701.
So: I've been trying to find a way to do this. These are just ideas below.
- Is there any way to "cancel" an action in the pre-exit?
- Is there any way in my version to have the "Overwrite Exit" on the methods that I'm trying to enhance in my version?
- Is there any other way to add authorization to a particular action?
- Is there a method using enhancement to "hide" the UI element that causes the action to be fired?
Thank you in advance for your help.
-Ryan
Request clarification before answering.
>
> - Is there a method using enhancement to "hide" the UI element that causes the action to be fired?
Hi,
In release 7.0 it is possible to hide a UI element, just create an enhancement implementation for the view, right click on the UI element and choose Remove Element. This will hide( remove) the UI element if enhs implementation is active.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I doubt he wants to unconditonally hide the element - like me he probably wanted to do an auth check against and use the results of that to conditonally "hide" the element.
I ended up implementing the WDDOMODIFYVIEW method; in there I did the authorization check and then disabled the UI element if it failed the authorization check. It worked fairly well. The option appears on the user screen - just greyed out.
-Ryan
Thank Ryan!
My problem is that there is a method- INIT under the Component Controller. I don't want this method to be executed, instead a different code.
The method WDDOMODIFYVIEW does not exist under Component Controller...it only exist under Views.
So what options do I have. Please advice.
Thank You!
User | Count |
---|---|
85 | |
29 | |
9 | |
9 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.