loop 5 times.
sy-tabix,sy-index.
endloop.
what is the output?

Answer Posted / raghuveer

By looping 5 times(if the internal table has 5 records),
sy-tabix will be 5 and sy-index = 0.

sy-index will work only in do and while loops, where as
sy-tabix will work only in loop..endloop and also sy-tabix
will be changed if we append the records into the internal
table using append statement.

If I m wrong, plz let me know

Is This Answer Correct ?    54 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the buffering options in abap?

564


What are the function of the transport system and workbench organiser? : abap data dictionary

555


Explain the difference between free and refresh?

584


What are the differences between transparent tables, pooled tables & cluster tables? : abap data dictionary

718


Mention the various databases integrities?

612






What are the components of selection table?

612


What are the aggregate objects in data dictionary? : sap abap data dictionary

671


How to call transaction in session method without recording?

1542


Can a domain, assigned to a data element be changed? : abap data dictionary

546


What are the field and chain statements?

578


What is maintenance view?

594


What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc

553


What is the difference between sum and collect?

882


What is match code? : sap abap hr

639


What is difference between dependent and independent data?

560