10-13-2008 7:19 AM
Hi Friends,
I have 2 internal tables in Program SE38 .(one table having Customer Code and Second Table having
Customer Balances and Description of that Particular Customers) . i want to pass these Both Tables
to Smart forms and display this values. Can Anybody give the Idea or Example of Smartforms to
Pass this Values and tables to Smartforms.
Regards.
Kamal
10-13-2008 7:23 AM
Hi,
if the table u r using is type of a dictionary table....then u can declare the same in form interface-->tables...(in smartform)
declare the same in ur print program also...
if its of a specific structure...then first create the structure in se11..
Then u can use the same.....
Check this link...
http://www.sap-img.com/smartforms/smartform-tutorial.htm
Regards,
Omkar.
10-13-2008 7:23 AM
hiii
cay u tell me where u r facing problem passing internal table or creting smartform.then i try to help u.
10-13-2008 7:24 AM
10-13-2008 7:24 AM
Hi Kamal,
Use the Global Definition and pass the internal table in the Smartform.
Thanks,
Chidanand
10-13-2008 7:27 AM
hi,
ok, i hav pass this table in Global definitions.
i want to display this both tables . can u suggest me.
10-13-2008 7:29 AM
Hi Kamal,
For this you need to use the Loop and pass the internal table. Inside loop use Text control to display the text inthe smartform.
Thanks,
Chidanand
10-13-2008 7:30 AM
10-13-2008 7:40 AM
Hi,
First you pass the required tables to global definitions.
Then you create required windows based on the given requirement.Now in a particular window depending on the reqirement create a table or template.
If it is a table give line types and if it is a template give row and column number.
Then in the data tab loop the tables declared in global definitions
into work areas.If there is any looping condition give it in where condition.
if any sorting is required give the sort criteria.
Then in the text give the output field in terms of workarea.
For more details regarding smartforms go to www.saptechnical.com.
Regards.