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

SMART FORM- Internal Table Data Printing

Former Member
0 Likes
387

Hi ,

I have a smart form in which I have to print three types of materials of Material Types say M1, M2 ,M3.

In the SMART FORM,Main Window, I have created 3 TABLES for 3 types of Materials ie,

TableM1,

TableM2,

TableM3.

The internal tables to populate these TABLES are

( passing from Print program ).

t_M1,

t_M2,

t_M3

The Number of FIELDS vary in all the tables ,thats why I have created 3 internal tables for Diff Material Types.

But only first TABLE is getting printed ie data inside TableM2, TableM3 are not getting printed.

Can any SMARTFORM Gurus please let me know how I can solve this issue.

Regards

Avi

1 REPLY 1
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
350

Check your settings. In the 'Data' tab, Loop field for each table you should have the corresponding internal table name and in the Row field you should have 'from 1 to 9999999' (or whatever number of records you need to pass).

Check if all the names are correct in the Text nodes under each table. It's very easy just to mistype and syntax check won't catch it because it's a logical error.

If all else fails, just add an ABAP node in the Main window right before the table, combine all 3 internal tables into one and then print it in just one table. It's a rather primitive solution but if it works - who cares?

Good luck!