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

Explain the difference between a pool table and a transparent table?

537


could anyone tell me what r real time questions been asked in interviews?i am in urgent need..thanks in advance

1449


Explain the sequences of event block?

560


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

554


Is sap xi intended to replace ale?

583






Events that can be used in both the classical and interactive reports

1129


foreign key enforcement?

1630


What is a view in sap? : abap data dictionary

629


What is meant by write lock? : sap abap data dictionary

592


What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc

546


What is the length of function code at user-command?

759


What is difference between inner join and outer join?

634


Application Category?

920


What is the use of enqueue function module? : sap abap data dictionary

585


THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM

15764