‎2007 Aug 08 7:10 AM
Hi Folks,
I have a program having an Internal table ITFINAL which displays the output in ALV.
Now I want to display it even in the smartform.
How to pass on the data in itfinal to smartform?
Declarations in global definitions?
How many columns can we display in a smartform at the max when the page is DINA4.
Kindly let me know about the same.
Thanks,
K.Kiran.
Message was edited by:
Kiran K
‎2007 Aug 08 7:19 AM
Hi Kiran,
in form interface declare the same internal table type that u have defined in alv program with type as global structre that exists in se11.
and call this smartform in u r alv program and try
for number of cloumns it depends on width availabilityon page.
Reward points for all helpful answers,
kiran.M
‎2007 Aug 08 7:15 AM
‎2007 Aug 08 7:15 AM
Hi,
Go through the following Links, here u can find example with step
by step.
http://sap.niraj.tripod.com/id67.html
Check these step-by-step links
Check these links also.
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Regards,
Priyanka.
‎2007 Aug 08 7:16 AM
Hi,
To pass a Internal table to the samrtform, in the FORM routines, you need to declare the smae internal talbe in teh TABLES parametrs, but you need to create a structure with the same internal table, then only it will not give the error.
Print the columns in the smartform, that is depends in the column length of the internal table, DINA4 will have some specific lenght, so count the each column then you can print that many columns in the SMARTFORM, there is no limitation in the smartforms, but you need take care of the page length
Regards
Sudheer
‎2007 Aug 08 7:19 AM
Hi Kiran,
in form interface declare the same internal table type that u have defined in alv program with type as global structre that exists in se11.
and call this smartform in u r alv program and try
for number of cloumns it depends on width availabilityon page.
Reward points for all helpful answers,
kiran.M
‎2007 Aug 08 7:20 AM
Hi,
The table can be declared in tables section of the global definitions in a smartform. It is like passing a table to any function module.
call <fnmodulename>
tables <tablename>.
remember the variables whose definitions are made in the global section need to passed to the function module of the smartform.. the other definitions made locally are for internal use.
All the best !!
Regards
Aparna
‎2007 Aug 08 7:32 AM
How many columns depends on the width of the page. the font size u use and how many characters fit into the page..
All the best !!
Regards
Aparna