cancel
Showing results for 
Search instead for 
Did you mean: 

Restricitng values for a Manual Input Variable

richiew03
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

richiew03
Explorer
0 Kudos

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

Former Member
0 Kudos

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