Get Example source ABAP code based on a different SAP table
ABAP_ITABFUNC > - Index Function The example demonstrates the table function line_index>>.
ABAP_SOURCE_CODE DEMO CL_DEMO_LINE_ •
ABAP_DESCRIPTION Different line numbers in the same internal table as in the executable example for specified lines> are read and inserted into an internal table, idx>: The line number of a line in the primary table index> found using a free search key. The number -1>, since the secondary hash key id> is used. The number 0>, since no line is found (0> overrides -1 >). The line number of a line in the primary table index> found using a different free search key. The line number of a line found in the assigned secondary table index> using the sorted table key cities>. The number 0>, since no line is found.