SAP Knowledge Base Article - Preview

3834011 - KZ-FI: "SQL error on database selection: cannot insert NULL or update to NULL" in KZ_FIN_STMNT

Symptom

When creating the Profit and Loss Statement using DRC report KZ_FIN_STMNT (Kazakhstan Financial Statement), the report generation fails with the following errors:

No selection and storage of reported items for table FIRUD_FSTM_RPITM and query LOG_TABLE_ITEMS

SQL error on database selection: cannot insert NULL or update to NULL: TrexColumnUpdate failed on table 'SAPHANADB:FIRUD_FSTM_RPITM'with error: constraint NOT NULL violation;checkStringColumn(): found NULL on pos 0,column 'CURRENCY'


Read more...

Environment

  • SAP S/4HANA

Product

SAP S/4HANA all versions

Keywords

KZ_FIN_STMNT, G_CURRENCY_TYPE, FIRUD_FSTM_RPITM, SQL error on database selection, cannot insert NULL, DRC, Kazakhstan Financial Statement, currency type, Run Statutory Reports, KZ Financial Statements, Balance Sheet, generated with errors, document log , KBA , FI-LOC-FI-KZ , Kazakhstan , Problem

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.