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

smartform tables question

Former Member
0 Likes
742

Hi Gurus,

I have a requirement to print smartform with some text and a table. basically I am having contract document data in an internal table. so for each contract number i have multiple lines  in this table. All this data is part of the interface parameters of the samrtform. I want to generate the smartform as shown in attachment. some text and below a table for each contract. The number of contracts is not constant. so number of tables is also not constant. I just need a overview of things that I need to do ( like creating loops, tables . flow logic ).

thanks

1 ACCEPTED SOLUTION
Read only

ronaldo_aparecido
Contributor
0 Likes
698

Hi sankara .

In my opinion you could :

1-Create a internal table in your program only with contract  numbers befora call smartforms.

2-In your internal table items will be create a field of contract  numbers to link with the first internal table created.

3-in your smart you will use a loop in the internal table with contract numbers inside this loop you can insert a loop in table items with where condition contrac_number = contrac number .then create a template with same format of your image attachment.

4-I think this will work.


Hi sankara .

In my opinion you could :

1-Create a internal table in your program only with contract  numbers befora call smartforms.

2-In your internal table items will be create a field of contract  numbers to link with the first internal table created.

3-in your smart you will use a loop in the internal table with contract numbers inside this loop you can insert a loop in table items with where condition contrac_number = contrac number .then create a template with same format of your image attachment.

4-I think this will work.


1 REPLY 1
Read only

ronaldo_aparecido
Contributor
0 Likes
699

Hi sankara .

In my opinion you could :

1-Create a internal table in your program only with contract  numbers befora call smartforms.

2-In your internal table items will be create a field of contract  numbers to link with the first internal table created.

3-in your smart you will use a loop in the internal table with contract numbers inside this loop you can insert a loop in table items with where condition contrac_number = contrac number .then create a template with same format of your image attachment.

4-I think this will work.