SAP Note 517534 - STACK_BLOCK_ILLEGAL_STATE with CHECK with functional method

Component : Syntax, Compiler, Runtime -

Solution : https://service.sap.com/sap/support/notes/517534 (SAP Service marketplace login required)

Summary :
In SAP environments encountering a short dump STACK_BLOCK_ILLEGAL_STATE due to the misuse of the CHECK statement alongside functional methods, an error arises if the CHECK instruction is placed within a TRY..ENDTRY or CATCH..ENDCATCH block inside a terminating loop pass. To remedy this, users should implement kernel patches accordingly (610: PL 535 and 620: PL 86) and subsequently regenerate the implicated programs. For bulk program regeneration, consult SAP Note 162991. This action ensures stability and compliance with proper coding practices in ABAP environments.

Key words :
short dump stack_block_illegal_state occurs, call method reason, endtry oder catch, error occurs, check statement, functional methods, logical expression, terms check, instruction check, endcatch construction

Related Notes :

162991Generation tools for ABAP programs