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: 

Smart forms

Former Member
0 Kudos

Hi experts,

I have an internal table i_kna1 in which I collect the customer data (address, country, postal code... etc)

How can I display the data in my form?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

The internal table shud be declared in the interface tab of your smartform.

so when you call the smartform function module u will see this as table parameter

and there you can pass your internal table.

To do so :-

1. Go to your smrtform, there is node call FORM INTERFACE, here declare your internal table in tables tab.

2. Generate your smartform.

3. then in your driver program re-insert your smartform's function module.

now you will see table paramter where you can pass your internal table.

Check out this link,

http://www.erpgenie.com/abap/smartforms.htm

and also refer these threads,

Thanks,

Reward If Helpful.

6 REPLIES 6

Former Member
0 Kudos

Hi,

Check the following link:

http://sap-img.com/smartforms/internal-table-in-smartform.htm

Regards,

Bhaskar

Former Member
0 Kudos

create a table in smartform.

in the tab : loop of the newly created table. insert ut internal table and work area...

now insert the text elements in table and put the work area with fields in it,.

it will print...

reward points if useful.....

Former Member
0 Kudos

Hi,

The internal table shud be declared in the interface tab of your smartform.

so when you call the smartform function module u will see this as table parameter

and there you can pass your internal table.

To do so :-

1. Go to your smrtform, there is node call FORM INTERFACE, here declare your internal table in tables tab.

2. Generate your smartform.

3. then in your driver program re-insert your smartform's function module.

now you will see table paramter where you can pass your internal table.

Check out this link,

http://www.erpgenie.com/abap/smartforms.htm

and also refer these threads,

Thanks,

Reward If Helpful.

Former Member
0 Kudos

Pls check out transactions SADR, SOAD....

Pls reward if helpful.

Former Member
0 Kudos

Hi,

If you are sure of the no.of.lines in the internal table, then create a template and divide the template into no.of.cells required say 4, and in each cell you can display in the fields.

But if you are unsure of the no.of.lines that will get printed, then create a table control and divide this into each rows and columns and you can display the internal table data.

It would be better if you can create this under main window.

Regards,

JLN

Former Member
0 Kudos

Thanks a lot