*****CONFIGURATION******
BusinessObjects version 5.1.2
MS SQL Server 2000
***********SYMPTOMS*******
When launching stored procedures with BusinessObjects version 5.1.2 and Microsoft SQL Server 2000, the RETURN_VALUE parameter always appears in the stored procedure editor's parameter list.
**********CAUSE**************
This is not a BusinessObjects issue. This is a known Microsoft bug. There is a problem with the RETURN_VALUE parameter in SQL Server 2000.
SQL Server 2000 returns @RETURN_VALUE instead of RETURN_VALUE.
BusinessObjects' stored procedures engine executes calls to the procedures via Remote Procedure Call (RPC) and understands @RETURN_VALUE as a variable to pass through the procedure, although it is not a variable. This additional parameter causes argument problems such as in the example below:
"[Microsoft][ODBC SQL Server Driver][SQL Server]Procedure Proc_TEST has no parameters and arguments were supplied.8146"
SQL Server 2000 incorrectly returns this parameter to BusinessObjects and the query fails.
The "at" ("@"

character is used to deal with variables in SQL Server's stored procedures engine. This is why BusinessObjects interprets the @RETURN_VALUE parameter as a variable and causes the problem.
**********RESOLUTION******
Stored procedures under SQL Server 2000 are not supported by BusinessObjects version 5.1.2.
It is not possible to refer to the return value parameter by name in such a way that client application code works with both SQL Server 7.0 and SQL Server 2000.
To workaround this issue, launch stored procedures from FreeHand SQL (with the EXECUTE command).
**********MORE***************