on 11-26-2009 12:22 PM
Hello SAP Gurus,
I need your help in smartforms, actually main window is not triggering next page when template is filled up with items. Here is details how I have created smartforms.
First page-
subwindows....
Main
-> Template->loop at interanl table->Program lines(for condition check)->texts
there are fews points I would like to add here:
1. Reason for using template is, layout has three columns and based on conditions I need to show items in specific columns.
2. when any column of Template is full with items it should trigger next page, but it is not happening. when I added command inside loop then I got error that cell number N row Y not avaliable. It seems next page didn't consider template.
3. If I use tables then data was not displaying correctly, like if second column is filled for first case, for another case if first column should fill up then data was not populating at the start of column it was displaying just below of second colum data, in the first coulum. means first line of first coulum display blank. so can't use tables.
4. If I put Template under loop then for each data, smartforms triggers new page and templete is filling up with only one record at a time. that is also wrong.
I hope you all understand my problem. Please let me know if there is any other method or I am doing somthing wrong.
Thanks in Adv.
Gaurav.
Edited by: Gaurav Sharan on Nov 26, 2009 1:24 PM
Edited by: Gaurav Sharan on Nov 29, 2009 7:45 PM
You could just use a table, but you must fill all 3 columns of each line at a time: for that, you must prepare an internal table to represent exactly what you will print, then you loop at this internal table, and that's done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SANDRA,
Thanks for replying. Actually problem is that all three column data are coming from a single table and it is difficult to prepare a table with all data of a column in a row. Anyway.. I am trying to code that way. I was hoping if any other option available without changing code then it would have been better.
Thanks,
Gaurav.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.