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
What are the modes in lock objects? : sap abap data dictionary
How to handle error in session method? : abap bdc
Can a constructor be redefined?
Why do we need enhancements?
How many structures can be created in a Ztable ?
What is the use of start-of-selection.,if not use in report what will happen,?
How do you process errors in call transaction method? : abap bdc
How move-corresponding works
What is the significance of technical settings (specified while creating a table in the data dictionary) ?
What is the difference between skip and new-line?
In sap script how to print bar code in vertical manner
What is open sql?
What is the syntax for call transaction? : abap bdc
How to find the return code of a statement in abap programs?
What are the three hierarchical levels of data types and objects?