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 |
What is the function of the correction system? : abap data dictionary
Why do we use types statement in abap programming?
Why is pretty printer user in abap?
What are steps involved in creating ALE?
what is the difference between invoice and proforma invoice?
How do you know that data is updated in call transaction
how do u know what is the exact user-exit for that particular enhancement.
how can we print both side in smartforms? what connects smartform to it's driver program? in which event validation is done?
How many types of RFCs are there?
how 2 create the normal form by using functional module
what is ment by buffering?
In Between events you can use loop Say Yes or No?