Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Internal table to smartforms

Former Member
0 Kudos

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

8 REPLIES 8

Former Member
0 Kudos

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.

Former Member
0 Kudos

hiii

cay u tell me where u r facing problem passing internal table or creting smartform.then i try to help u.

bpawanchand
Active Contributor
0 Kudos

Hi

ignore this

Regards

Pavan

former_member598013
Active Contributor
0 Kudos

Hi Kamal,

Use the Global Definition and pass the internal table in the Smartform.

Thanks,

Chidanand

0 Kudos

hi,

ok, i hav pass this table in Global definitions.

i want to display this both tables . can u suggest me.

0 Kudos

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

0 Kudos

after passing u create a tables in main window...

Former Member
0 Kudos

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.