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 are the different types of internal table?
how to debug a popup window?
What are the two statements which are required in an abap program to output an icon using a write statement?
In Sapscript , For example : I want to define font in Arial? And that font is not available in my system ? how can i get this font into my sapscript?
What are the types of data types in the sap abap?
Difference between interactive and ALV Reports
can labels generate in smartforms?if yes how?
What is Field group?
5. I have two pages, In one page I want address, Header, Main & footer. In the second page I want only Main. How to do it?
Why do we need to code a loop statement in both the pbo and pai events for each table in the screen?
hi i have one requirement on smart forms.i have to print customer details and order details(Based on customer number) in two windows.I want to write total code in report it self.can any one please help me? Thanks in an advance Vijay
WHAT IS THE DIFFERENCE BETWEEN FILE PORT AND TRFC PORT ?