SAP Note 23751 - GEN_STRUCTURE_STACK_OVERFLOW for posting

Component : Validation, Substitution and Rules -

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

Summary :
This SAP Note addresses two main issues: the runtime error GEN_STRUCTURE_STACK_OVERFLOW and the error GB018 ('Boolean statement not complete'). The first is linked to excessive nesting of IF...ENDIF structures due to too many linked conditions in substitutions, validations, or rules. Programs affected vary with release; FGBB2mmm and FGBB3mmm before Release 3.0 and GBTmmaa0 post Release 3.0. It is recommended to simplify complex boolean expressions by grouping conditions into fewer, more manageable rules, and to utilize transaction GS01 for set validations in field comparisons for efficiency and performance enhancements.

Key words :
additional key words fb01, runtime error gen_structure_stack_overflow occurs, input field 'mm', generated source code, <b3>                 sr2 = <b4>, field literal comparisons, field 'table field', <table> $field = 'constant_1', table-field = 'constant_1', export parameter 'mmm'

Related Notes :

119852Termintn ASSIGN_OFFSET+LENGTH_TOOLARGE in SAPFGBBG
94771Rule maintnance (GCVZ) calls SM31 for T890 in error