I'm not sure whether this will work in XI R2, but it's worth a shot...
1. Let the stored procedure create the parameter - there are some additional hidden properties that get set when this happens.
2. If your parameter is going to be based on data from a table, add just that table to the report. DO NOT link it to anything! Crystal will throw a warning that this is generally not supported, but it will work correctly for this process.
3. Edit the parameter created in step 1 in the main report. Make it dynamic and point it to the table added in step 2 to get its data. NOTE: DO NOT use the fields in this table for anything in the report itself - just use them in the dynamic parameter.
4. When you publish the report to BO, be sure to check the "Update Repository" checkbox.
5. Run the Business View Manager (BVM) and update the data connection so that it contains the password for the database connection and it doesn't prompt the user for login.
6. Also, now that the parameter is configured in the BVM, you could remove the table from the report and just point the prompt to the LOV in the BVM instead.
-Dell
DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year