on 07-29-2008 2:37 PM
Hi,
is it possible to calculate the number of line in a loop? In the loop i have lot of text with condition, and i want to know if it's possible to know how many line they are in the loop.
If it's not possible, have an other question, is it possible to write a text in the down of a window?
thanks.
Hi,
Check the command LINES which gives the number of records in the internal table.
For eg: w_count = LINES( it_tab ).
You will get no. of records in w_count.
Yes, You can write text in the window.
Thanks,
Phani Diwakar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
All lines within an internal table:
DATA: gv_lines TYPE i.
DESCRIBE TABLE itab LINES gv_lines.
The number of the actual line can be found in the SY-TABIX system variable.
Regards
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please be clear with your question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.