Hello Experts,
i have been going through many threads but no answer found.
Assume i define internal table as for instance DATA itab TYPE SORTED TABLE OF dtab WITH NON-UNIQUE KEY field_a.
1. If the database table is activated, then for primary keys the index table is created in database. But what happens with the internal table above? Is there a similar background process? Also the hashed table.
2. Assume i want to LOOP itab INTO wa WHERE field_b = 'aaa'. How is in this case table scanned? Is there a full table scan applied? The same with READ statement with addition WITH KEY field_b.
3. Also i dont understand the definition that for "structured line type only not numerical fields are included in defauld key". But i can use WHERE statement for fields that are not included in default key. I know there are 2 ways how to access internal table, index and key access.
But base on my experiences every field in table can be accessed, regardless i have explicitly defined it or not. How is this handled by runtime?
I would appreciate your help, but please avoid using the guide definitions.
Thank you