Symptom
- Calling a stored procedure with WITH VERSION VALIDATION returns SQL 1341: "Procedure version validation failed: Version validation is not enabled for this procedure: line 1 col 151 (at pos 150)."
- Netweaver system log (SM21) shows "Database error 1341 at OPC" and the version validation not enabled message.
- Netweaver work process log (ST11) displays "SQLCODE: 1341" and "SQLERRTEXT: Procedure version validation failed..." along with a sample call like CALL "_SYS_BIC"."sap.erp.dimp.ad.gdp/GET_GDP_ASSIGNMENTS_RPEGALL2F04" ( ... ) WITH VERSION VALIDATION ? ;.
- Work process log may include "SQSC: WARNING => Procedure Version Validation was disabled" and the affected procedure name.
- In HANA Studio:
- STT2 Dump may be generated.
- In some cases, the message states: "Procedure version validation failed: Procedure version is not matched with given version number."
Read more...
Environment
- SAP HANA Database 1.00
- SAP HANA Database 2.00
Product
SAP HANA, platform edition all versions
Keywords
CX_SY_DB_PROCEDURE_SQL_ERROR, DB_SEL_STD_VAR, DSQL_OPEN_PROC, SQL 1341, Database error 1341, WITH VERSION VALIDATION, ENABLE_OBJECT_VERSION_VALIDATION, SQLScript procedure, _SYS_BIC, NetWeaver SM21, ST11 work process log, OPC, version mismatch, validation disabled, HANA stored procedure , KBA , HAN-DB , SAP HANA Database , IS-ADEC-GPD , Grouping, Pegging & Distribution , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview