on 03-17-2009 7:25 AM
Hi, I have a variable which pulls back the values on a characteristic. It is manual entry. I would like to restrict the values which the user has access to, i.e I don;t want them to see all the values in the masterdata when they go to select the value. Does anyone know how this can be achieved? One last thing, I cannot use BI7 authorisations here.
Thanks,
Richards
Its much easier through Authorization. User exit is certaily an option, but you can try this way also --- restrict your object with all the values which you do not want user to select from. now, exclude these all values. Hopefully it will work.
Thanks...
Shambhu
Edited by: Shambhu Kumar Gupta on Mar 17, 2009 3:32 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi and thank you for your replies.
I am trying to avoid ABAP if possible so the customer exit is not an option, unless there are no others.
Shambru, I tried what you said, used a red selection on the values i don't want the user to see, but it still let the user choose the values, any other suggestions?
Thanks,
Rich
Rich,
Create a variable with processing type user exit and write code under I_STEP = 1 to restrict values.
the parameter I_STEP specifies when the enhancement is called.
The following values are valid for I_STEP:
· I_STEP = 1
Call takes place directly before variable entry
· I_STEP = 2
Call takes place directly after variable entry. This step is only started up when the same variable is not input ready and could not be filled at I_STEP=1.
· I_STEP = 3
In this call, you can check the values of the variables. Triggering an exception (RAISE) causes the variable screen to appear once more. Afterwards, I_STEP=2 is also called again.
· I_STEP = 0
The enhancement is not called from the variable screen. The call can come from the authorization check or from the Monitor.
Srini
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.