loop 5 times.
sy-tabix,sy-index.
endloop.
what is the output?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sudhakar
Sy-tabix: No. of record in the internal table
Sy-index: index number of record which is currently executed.
Is This Answer Correct ? | 8 Yes | 3 No |
What is BDC programming?
What are the data types of internal tables?
How can I make a differentiation between dependent and independent data?
what data types allows length specification ?
n an internal table you want to modify content of a particular field in a row. How to do it?
What is collect statement?explain with example?
How do you write a squential file
What are system fields for secondary lists?
How to write file to application server?
what is defference between breakpoint and watch point?
If pass table name as parameter how can i get table contents?
what is EDI ,ALE , Debugging, Smart Forms ,IDOC'S & BDOC'S
2 Answers IBM, Yash Technologies,