on 05-04-2009 1:16 PM
Good afternoon everybody,
I have a problem concerning a smartform.
My actual table looks like this :
Page 1
Column 1 Column 2
DATA 1 -
> DATA 2
DATA 3 -
> DATA 4
DATA 5 -
> DATA 6.... etc
Page 2
Column 1 Column 2
DATA 7 -
> DATA 8
etc.
And I need to display the table like that (in vertical) :
Page 1
Column 1 Column 2
DATA 1 DATA 4
DATA 2 DATA 5
DATA 3 DATA 6
Page 2
Column 1 Column 2
DATA 7 DATA 11
DATA 8
DATA 9
DATA 10
Does anybody know how to do that (if this is possible) ?
Thx for your help.
Edited by: HenriAD on May 4, 2009 2:17 PM
Hi,
For your requirement first you place
Loop node
---> Place Template and create rows and columns as per requirement
Before displaying every row data read the corresponding line items using index of row and place it on Row of Template.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henri,
Create two templates in the main window give the position for the text nodes and display as per your requirement.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You re-arrange your table vertically, as you required. Then try to display it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
suppose the table is itab with columns A and B,
so ur data is like wa-A and wa-B.
now use a table node to loop at itab into wa.
now create two rows with line type having single column.
loop
ROW1 -
print wa-A
ROW2
print wa-B.
endloop.
this way u'll get ur data vertically
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.