2007 Sep 27 12:40 PM
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?
2007 Sep 27 12:42 PM
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.
2007 Sep 27 12:41 PM
Hi,
Check the following link:
http://sap-img.com/smartforms/internal-table-in-smartform.htm
Regards,
Bhaskar
2007 Sep 27 12:42 PM
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.....
2007 Sep 27 12:42 PM
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.
2007 Sep 27 12:43 PM
Pls check out transactions SADR, SOAD....
Pls reward if helpful.
2007 Sep 27 12:45 PM
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
2007 Sep 28 8:41 AM