Sei sulla pagina 1di 1

what are the difference sy-tabix and sy-index?

Sy-tabix is used to find the current line in the internal table; its a current line index. Whereas sy-index in used to find the number of current pass in the loop statement. sy-tabix : it is used in internal table loops.it gets the no.of records in the internal table. sy-index : it is used in simple loops like(do......enddo).it gets the particular record number.

what are the difference initialization and instantiation? Instantiation: The mechanism whereby objects are created from a class description.
Initialization: This is the value assigned to a variable when it first defined.

Instance ation will not allocate memory just a instance will be created. Initialization will actually allocate memory.

Potrebbero piacerti anche