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
Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel
What is the differrences between structure and table in data dictionary in abap? : abap hr
What are the personnel administration related infotypes? : abap hr
Can we display a list in a pop-up screen other than full-size stacked list?
What are the aggregate objects in the data dictionary? : abap data dictionary
How did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr
What are the steps in creating screen ?
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?
Use SET PF_STATUS which is in the FM reuse_alv_grid_display to set the button
What are the different types of sapscript symbols?
Which database object is used for storing the system variables? : abap data dictionary
What is the difference between table and template?
If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?
Difference between stand alone CRM and back-end CRM
What are conversion routines? : abap data dictionary