ABAP系统变量SY-INDEX与SY-TABIX差异点 ABAP系统变量SY-INDEX与SY-TABIX都是用来记录循环的次数。但是SY-INDEX在do...endo和while...endwhile中起作用,而SY-TABIX在loop...endloop中有效。 测试代码: REPORT ztest_index_tabix. DATA:lit_vbak TYPE STANDARD TA
SAP Managed Tags: ABAP Development Hi Sudheer, sy-tabix : Sy-tabix is used to find the current line in the internal table; it’s a current line index, Table Index. This signifies the number of table index. Each row of a table has certain index or counter. The value of sy-tabix ...
5.search APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table. COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set t...
SAP Managed Tags: ABAP Development Hello, You can simply use the command "APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2. " This command appends lines of itab1 to itab2 .Now, your table itab2 has all the entries. In case if you want to append only certain lines ...