‎2006 Jun 05 4:19 PM
Hi all,
i am new to smart forms and had met with some problems recently which i need some advice. i need to pass in a internal table of a structure(declare by myself in the print program) to the smart forms. in the smart forms, i need to loop the table and display the details in the smartforms. i have try to create a structure myself in the transaction SE11 and declare the table in smart forms like the structure i declare in the "Form interface -> tables" but this seems to give me some problem. it keep on saying that the structure need to be a flat structure.
any idea on how to declare the tables in the print program and in the smart forms. is there any documentation that i can look at that explain clearly how to import tables into smart forms and procedure on creating the structure so that the smart forms table can refer to.
thanks in advance.
‎2006 Jun 05 4:28 PM
‎2006 Jun 05 4:28 PM
‎2006 Jun 05 4:29 PM
Hi,
Take a look at these material ...
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
http://www.esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf
http://www.esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt
Coming to your problem, you can try creating a table type in SE11 using the structure you have created and use that in the interface parameters of the SMART Form.
Regards,
Ravi
Note :Please mark the helpful answers
‎2006 Jun 05 4:31 PM
Hi Lin,
Please follow as below..
You have already created a structure in SE11.
so, Create a data type is TABLE TYPE in SE11 and enter the discription.
Now, select the row type and enter the name of your already defined structure. Save it and activate it.
In the smartforms, Form interface, you have Tables section.
Etner the following details
Parameter Name: lets say MTAB
Type assignment: TYPE
Reference Type: The TABLE TYPE you have created in SE11.
let me know if you have any questions.
Ram