on 11-13-2007 8:22 PM
Not sure if it is called a driving query or something else, but I am looking for a way to control variable inputs shown on a specific variable entry.
For example if I had a variable called "Alphabet" and the options where A, B, C, D, E, F, G, etc. But I just wanted to show the options A, B, C how can I tell the variable screen to do this?
Thanks in advance for any input.
Hi,
you can define it either in a SAP-exit and restirict the values or you can even get the values from another query and use this result as input for your new query. But that's dependent on the type of variable. If you want to use an SAP-exit choose SAP-exit or otherwise it would replacement path using another query or control query.
For SAP exit the general variable exit RSXUSR01 or RSXUSR02 has to be active. In i_Step = 1 you would calculate the values for your variable and return it in variable e_T_data. You can find many examples here in SDN. Look also for query with replacement path.
Regards,
Juergen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While defining the variable itself you can set the range and give the upper limit and lower limit Some thing like this A between D.
This will display only values between A and D you can also inlcude and exclude the values in the range.
Cheers.
Ranga.
Message was edited by:
Ranga
Message was edited by:
Ranga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.