‎2006 Jan 18 11:40 AM
Hi experts,
I have displayed table data in smart forms something like this
000200000163 0001 03STA-S29
000200000163 0002 03UNS-BS003
000200000163 0003 03UNS-BS001
I put the ITAB in the loop in the smartforms...
But i need lines between them.How can i achive it?
And also i want to increase the window dynamically,depends on the number of records in the dbtable.
000200000163 0001 03STA-S29
-
000200000163 0002 03UNS-BS003
-
000200000163 0003 03UNS-BS001
-
points guaranteed
cheers
kaki
‎2006 Jan 18 11:43 AM
Hi Kaki,
One way is to populate the line in the Itab itself, it may create problems in summing etc.
You can use Templates in smart forms with one column.
Regards,
Ravi
‎2006 Jan 18 11:45 AM
Hi ravi,
Iam not doing any summing.How can i populate line in the itab itself?
kaki
‎2006 Jan 18 11:47 AM
In the print program when you are populating the Itab,
you can write,
move '----
' to itab .
append itab.
after every line.
Regards,
Ravi
‎2006 Jan 18 11:44 AM
Hi,
After each record
itab-line = '----
'.
append itab.
Regards
Amole
‎2006 Jan 18 11:47 AM
Hi Kaki,
Define a <b>template</b> for your internal table, and have the Box (<b>Grid lines</b>) defined for the template under <b>Template tab</b>.
Regards,
Raj
‎2006 Jan 18 11:48 AM
Hi,
Design your table using pattern.(select pattern).
It's available in Table->Table(Enterprise version).
Kindly reward points if it helps.
‎2006 Jan 18 11:55 AM
Hi Kaki,
If u r using 'Table' in SmartForm for display data
then , u get the functionality of 'Select Pattern' where u can select ur display pattern.
After creating table . U get Table tab. Here u will get icon which is for 'Select Pattern'.
Regards,
Digesh Panchal
‎2006 Jan 19 5:41 AM
Hi,
For ex: i have created itab in se38 having 3 fileds.(matnr,ersda,meins)and iam passing into smartforms structure t_mat.
CALL FUNCTION '/1BCDWB/SF00000252'
TABLES
T_Mat = itab.
I have created table in smartforms and it is asking HEADER,MAINDATA,FOOTER.So where i need to pass the t_mat table to get the lines?
kaki
‎2006 Jan 19 5:56 AM
Hi Kaki
In the table node you will find a 'DATA' tab. Check the internal table check box and enter your internal table name in the place provided and work area name after the INTO clause.
Ravindra Suvarna
‎2006 Jan 19 6:15 AM
Hi Kaki,
After Creating table u get 'DATA' tab.
Here u have to check operand and pass ur internal table.
if u have not define work area separately than u can pass same name(i.e Internal table name)in both field.
Regards,
Digesh Panchal