Error
Error Code:
2878
SAP S/4HANA Error 2878: SQLScript Output Parameter Mismatch
Description
This error indicates that a SQLScript procedure or function in SAP HANA was defined with an incorrect number of output parameters. It occurs when the code expects exactly one output parameter, but zero or multiple were provided during compilation or execution.
Error Message
ERR_SQLSCRIPT_GENERICLANG_EXACTLY_ONE_OUTPUT_PARAM
Known Causes
3 known causesIncorrect Procedure Signature
A SQLScript procedure or function was defined with zero or more than one `OUT` or `INOUT` parameter, violating the strict single output rule.
Missing Output Parameter
A procedure or function intended to return a value or result set was declared without any `OUT` or `INOUT` parameters.
Multiple Output Parameters
The SQLScript code defined more than one `OUT` or `INOUT` parameter for a single procedure or function.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service