do 4 times.
sy-tabix,sy-index.
end do.
what is the output ?
Answers were Sorted based on User's Feedback
Answer / purnachander nagula
REPORT yputest1 .
START-OF-SELECTION.
DO 5 TIMES.
WRITE:/ 'sy-index', sy-index.
WRITE:/ 'sy-tabix', sy-tabix.
ENDDO.
Result
test
sy-index 1
sy-tabix 1
sy-index 2
sy-tabix 1
sy-index 3
sy-tabix 1
sy-index 4
sy-tabix 1
sy-index 5
sy-tabix 1
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / sudhakar
SY_INDEX Increments to 1 inside the DO.ENDDO Iteration and in WHILE.ENDWHILE.
While SY_TABIX is set to 0.
Note: It is used to determine the lines inside the LOOP.ENDLOOP statement.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raghuveer
do 4 times will give the following values:
sy-index = 4.
sy-tabix = 1(default value).
sy-index will work only in do and while, where as sy-tabix
will works only in loop...endloop.
Is This Answer Correct ? | 5 Yes | 9 No |
Explain get cursor field?
Q2.What is the special character is used to mask a single characher. 1. & 2. % 3.’_____ 4._____’
What is an abap data dictionary? : abap data dictionary
what is the format of the text used in sapscript
what is the Currency and Quantity field in BDC?
Explain the components of selection table?
what is the difference b/w linear search and binary search? (how can these search)
15 Answers HCL, IBM,
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?
CAN WE DEBUG A MACROS ? HOW DO TO MATHEMATICAL ON TWO NUMBERS ?
What are the data types of the abap/4 layer?
27) Explain the Importance of each type of window in Smart forms?
How can u call a Report from a module pool program?