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 is interactive reporting?

618


What is the difference between a dialog program and a report?

561


How is collect statement different from append?

590


What is open sql vs native sql ?

1859


What is output determination?

680






I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.

1353


What are the update types possible? : abap data dictionary

556


What are logical databases? : abap hr

699


What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?

1169


How can we handle table control in bdc? : abap bdc

598


Example of table cluster and cluster tables.

653


hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1550


Difference between domain and data element? What are aggregate object?

609


visibility section for class level and attributes level

817


When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?

572