06-29-2006 11:40 AM
Hello Members,
This is my very first posting here. I am working on smartforms and i want to make form for Label which comprises fields GOITEM-MAKTX,GOITEM-CHARG,GOITEM-VFDAT AND GOHEAD-BLDAT. can anybody guide me how to print data in form using above structures.
Thanks and Regards,
Pritesh
06-29-2006 11:43 AM
Hai,
Get the required data in the print program then pass that internal table to the Function module.
So you will get the data in the smartform.
Here you can pass the values to your form.
Cheers,
Umasankar
06-29-2006 11:44 AM
Hi
You should insert a table as interface with those data and use a template for the output.
Max
06-29-2006 11:44 AM
Hi,
Take a look at these links
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
The following link will explain the process step by step with pictures.
regards,
Ravi
Note : Please mark all the helpful answers and close the thread if the issue is resolved
06-29-2006 11:46 AM
Hi Pritesh,
Follow these step.
1.Select all the required data from the database table into the internal table in the print program itself.
2.In the smartform in the interface pass that internal table to the form.
3.Create windows for the Differen variables and in the text of the window pass the variables from the internal table.
07-01-2006 5:58 AM
Hi Mukesh,
Thanks for your valuable guidance. I got the form output. Now i want one more help i want to print data as a label of size 7.5cm * 3.5cm so how can i do that?
Pritesh
06-29-2006 11:46 AM
Welcome to SDN!
You can take those values to an internal table and loop it for printing. For further examples see the link below.
http://www.sapgenie.com/abap/smartforms.htm
rgds,
TM.
Please mark points if helpful.
07-01-2006 6:03 AM
First take the data in a internal table then data be in your smart form. Now print it inwhich form you want.