on 04-03-2012 2:23 PM
Hello SAP Users:
I am having some problem with Crystal Reports and Parameters. I want to put only those values in the parameter field to be selected by user that are selected by some query by the parameter itself. For example if I have a GroupCode field, I will like to retrieve only those values in the parameter field which are less than 101 from the database from which user will be select values according to his needs.
Regards.
Hi Salman
First, create a parameter with name XXXX@select * from OWHS
XXXX is the parameter in SAP user input, then @, then query
then filter data only the parameter value by click select expert
The above method can be used for 8.8,
cheer
Gary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot to both of you guys. I stand grateful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Salman,
You would need to write a separate SQL Query and add it as a 'Command Object' in the report.
You don't need to link the fields in this query to the other tables of the report. This query would be used as source for the parameter.
-Abhilash
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.