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 is open sql vs native sql ?
what is defference between repository and non repository Object?
What is Group by in Select statement?
What is difference between dialog program and a report?
Explain buffering concept usage?
Explain what are the problems in processing batch input sessions? How is batch input process different from processing on line?
What do you mean by batch data communications programming?
What are the dynamic actions and how to configure it? : sap abap hr
What is the structure of the bdc table? : abap bdc
Which transaction code can I use to analyze the performance of abap program?
What is the difference between bdc_okcode and bdc_cursor? : abap bdc
What are the buffering types?
What are the user groups?
What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc
How to get that a secondary index is attached to a select query?