on 04-04-2007 10:25 AM
How can I dispaly the total number of records that is in my internal table in the form?
hi,
use <b>describe table itab lines w_line.</b>
before calling write form.
print the same variable in script &w_line&
regards,
ananth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaheen,
That is the way to do it(Ananth's).
Make sure you are doing it in the correct text element.
If you are calling the write form with text element 'MAIN1', then yo umust have populated the V_lines using the describe statement before the call to the write form.
Can you show your coding?
Regards,
Ravi
data: g_lin typ i.
describe table itab lines g_lin.
g_lin contains the no.of records in itab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
data: g_lin typ i.
describe table itab lines g_lin.
g_lin contains the no.of records in itab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes as prabu told u have to use the DESCRIBE command to know number of records in an internal table.
V_LINES TYPE SY-TABIX.
DESCRIBE TABLE IT_TAB LINE V_LINES.
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
do this way...
data : v_lines type i.
describle table itab lines v_lines.
you can even use <b>SY-TFILL</b> variable
REgards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
YU can use the Describe statement to find the numberof lines in the itab.
describe table itab lines v_lines. "V_lines wil have the number of records in the itab.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
make use of keyword DESCRIBE
press F1 in ABAP editor on that keyword
and pass the same value to Form.
Regards
Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.