Application Development and Automation 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: 
Read only

Passing Internal table to smartforms

Former Member
0 Likes
1,008

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
Read only

Former Member
0 Likes
890

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.

Read only

Former Member
0 Likes
890

hiii

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

Read only

bpawanchand
Active Contributor
0 Likes
890

Hi

ignore this

Regards

Pavan

Read only

Former Member
0 Likes
890

Hi Kamal,

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

Thanks,

Chidanand

Read only

0 Likes
890

hi,

ok, i hav pass this table in Global definitions.

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

Read only

0 Likes
890

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

Read only

0 Likes
890

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

Read only

Former Member
0 Likes
890

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.