on 11-07-2006 9:35 AM
Two read_text modules fill the internal tables g_tab
and g_tab1.
how to display the texts from both tables in a table cell one after the another.
loop is used for first table g_tab.
when second loop is used for second table g_tab1, in print preview the program hangs.
hi krishna,
do the following.
DATA: begin of gt_line occurs 0,
line like tdline,
end of gt_line.
loop at gtab.
gt_line-line = gtab-tdline.
append gt_line.
endloop.
loop at gtab1.
gt_line-line = gtab1-tdline.
append gt_line.
endloop.
so now gt_line consists of both data appended to it.
Thanks,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Declare a variable of type string.
concatenate text from g_tab internal table and then g_tab1 into a variable.
Use this for displaying.
eg:
data: l_out type string.
loop at g_tab.
concantenate l_out g_tab-tline into l_out separated by space.
endloop.
loop at g_tab1.
concantenate l_out g_tab1-tline into l_out separated by space.
endloop.
write:/ l_out.
Kind Regards
Eswar
Message was edited by: Eswar Rao Boddeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.