SAP Knowledge Base Article - Preview

3664593 - Runtime error DBSQL_STMNT_TOO_LARGE in parameter FIAA_MAX_NUMBER_ANLN1_RECORDS

Symptom

In any report of Asset Accounting, the report ends with a dump like: 

*********************************************

Category               ABAP programming error
Runtime Errors         DBSQL_STMNT_TOO_LARGE
Except.                CX_SY_OPEN_SQL_DB
ABAP Program           SAPLABRA
Application Component  FI-AA-AA

Der Open SQL command is too big.

The termination occurred in ABAP program or include "SAPLABRA", in
 "SELECT_DOCIT". The
main program was "RAGITT_ALV01".

In the source code, the termination point is in line ... of include
 "LABRAF20".
include "LABRAF20".
The termination is due to exception "CX_SY_OPEN_SQL_DB" occurring in procedure
 "SELECT_DOCIT" "(FORM)",
but not being handled locally there or being declared in the RAISING
clause.

etc etc

*********************************************


Read more...

Environment

  • Financial Accounting (FI)
  • Asset Accounting (FI-AA)
  • SAP S/4 HANA
  • SAP S/4HANA Finance 

Product

SAP S/4HANA all versions

Keywords

DBSQL_STMNT_TOO_LARGE, CX_SY_OPEN_SQL_DB, SAPLABRA, SELECT_DOCIT, LABRAF20, FIAA_MAX_NUMBER_ANLN1_RECORDS, asset history sheet, asset balances, runtime error, Open SQL command, ABAP program, SAP Note 3413964, SAP Note 3656105 , KBA , FI-AA-IS , Information System , 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.