Types of Internal Table
Types of Internal table in SAP ABAP
Internal tables can be categoriesed into STANDARD, SORTED and HASHED.
Standard tables have an internal index by default. Records can be accessed by using the index number or with the any key. The response time always depends on the volume of data in the standard internal table.
Sorted tables also has an internal index but it is pre-sorted by the key. They also have an internal index. Records can be accessed by using the index number or with the any key. The system uses binary search by default to retrieve the data faster.
Hashed tables have no Internal index and should be accessed by a key which must be specified as unique. The response time totally depends on the Hash Algorithm.
If you like this post, you may as well like these too:
- ABAP Programs: Filling an internal table from a database table REPORT ZSOURCE1203.* Work area for a database tableTABLES CUSTOMERS.* Defining an internal table with header lineDATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100 WITH HEADER LINE.* Filling the internal table (previous content...
- ABAP Programs: A simple internal table REPORT ZSOURCE1201.* Work area for a database tableTABLES CUSTOMERS.* Defining an internal tableDATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100.* Reading all entries of the database table into the internal tableSELECT *...
- ABAP Programs: Upload Excel to Internal table Here is a simple program which will upload the excel file to the internal table using the function module ‘TEXT_CONVERT_XLS_TO_SAP’. REPORT Z_EXCEL_2_ITAB. ************************************** * http://www.erpdb.info * ************************************** TYPE-POOLS: truxs. PARAMETERS:...
- ABAP: How to create a dynamic internal table and work area FIELD-SYMBOLS:<fs_table> TYPE STANDARD TABLE, <fs_table_wa> TYPE ANY. DATA: table_ref TYPE REF TO data, wa_ref TYPE REF TO data. DATA: l_structure TYPE dd02l-tabname value 'VBAP'. CREATE DATA table_ref TYPE STANDARD...



















Leave a Reply