on 07-10-2008 6:05 AM
Hi friends,
In my smartforms, I have used templates to display tabular data and i have defined line no. and column no. under text elements.Now, the data that is coming in the output is repetitive that is its not looping the table although i have used an external LOOP and defined my table and work area in it.
Could anybody help me in making the loop part work?
I will certainly reward points for the desired answer.
Thanks & Regards,
Rishi
If you have already set the internal table and the work area, i believe, it just the proper sequence of the node that get something wrong.
Moreover, place the Loop node , the Program Line node and the template node inside the main window....
The template node must be under the Loop node. See below, the proper sequence....
MAIN window
PROGRAM LINE NODE -->place your select statements here...
LOOP NODE --> on the data tab, define your Internal table and workarea
TEMPLATE NODE --> place this node, under the loop node
text node -->this is the first column. Place here the field names. ex.: &wa-fieldname1&
text node -->this is the second column Place here the field names. ex.: &wa-fieldname2&
text node -->this is the third column Place here the field names. ex.: &wa-fieldname3&
text node -->this is the fourth column Place here the field names. ex.: &wa-fieldname4&
After which, run your form...
I hope it solves your problem. Rewards if useful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
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.