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 |
in the time of migration of data who will decide whether it is done in bapi , call transaction or session method to the technical consultant?
What is the difference between dialog program and a report?
In what ways we can get the context sensitive f1 help on a field?
Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...
Explain how to Handle the internal tables in ABAP?
what is the standard script for picking list?
What does the insert statement in extract datasets do?
What is sap locking?
Folder types in smatforms? 2)What is Command line?
What is the use of a pretty printer?
what are customizing?have u created any customizing table? for what purpose?
what objects can be generated by the batch input recorder?