Symptom
READ TABLE ... BINARY SEARCH is used towards an internal table (standard table), but SY-SUBRC is always set to 8 for valid record, although the corresponding columns are already sorted before the form.
The problem happens under following conditions:
- The internal table is a formal TABLES STRUCTURE <struc> parameter of a form
- The data type of the actual parameter differs from the data type of formal parameter.
Read more...
Environment
ABAP System.
Product
ABAP platform all versions ; SAP NetWeaver all versions
Keywords
BINARY SEARCH, internal table, sy-subrc 8, sy-tabix, abap, form, subroutine, actual formal TABLES STRUCTURE parameter, , KBA , BC-ABA-LA , Syntax, Compiler, Runtime , 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.
SAP Knowledge Base Article - Preview