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 actual parameter is different with the data type of formal parameter.
Read more...
Environment
ABAP System.
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.