03-19-2010 4:23 AM
Hi all,
I haven't yet understand how to use table and template in smartform.When I should use table or template ? and what data format transfer to them.Pls help me ! thanks !
DinhLam,
03-19-2010 4:31 AM
HI Dinhalam ,
The tables are used to display dynamic items like internal tables , because they grow according to the amount of data , whereas the template is an fixed structure and it doesn't grows . The template can be used for fixed data like displaying the header details and the table can be used for item details .
regards,
gurunath.p
03-19-2010 4:43 AM
Table : Use to display the dynamic data, where you can't determine the no.of records in the internal table. So it can wrap into the next page according to your setting in the smart form.
Template Same like table, but it has the fixed length and it cant wrap more than the size specified.
Thanks
Praveen
03-19-2010 4:51 AM
hi,
I give an example
Table:
A product may have single or multiple delivery dates in that case we will go for node Table. As the delivery dates will appear in a single line or multiple lines which we are not sure
Template:
We know that value will be displayed in fixed lines. Eg : we are sure that material no. will appear in a line..
03-19-2010 5:38 AM
Thanks all for your anwers !
About format data for transfering to table or template ? Internal table or structure,when and how use it ?
Thanks ,
DinhLam,
Edited by: dinhlam on Mar 19, 2010 7:08 AM
03-19-2010 6:06 AM
03-19-2010 6:18 AM
check out the documentation
[http://help.sap.com/saphelp_nw04/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm]
03-19-2010 6:23 AM
03-19-2010 7:04 AM