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 TABLE OF vbak, lwa_vbak TYPE vbak. DATA:l...
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 Hi Experts, As per my requirment I need fetch two different categories of matnr based on movment type from mseg.. For eg: If I have two itab's : itab1 and itab2. In itab1 the available records are: matnr werks lifnr mat1 unit1 ABC mat2 ...