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

Template &Table issue under loop in smart form

Former Member
0 Likes
1,007

Hi,

I have a requirement in a smart form which i designed in the below format:

Loop ( looping is done based on Kunnr)

--Template

--Table

Endloop.

Requirement: For every new customer, details should come in a new page.

I am displaying the details in template based on the looped record. In the same way, i am fetching table records based on looped record. The problem is, for one customer it is having more than 25 records. out of which 20 are displayed in first page and the remaining in 2nd page. So, in the second page this template details are not appearing for this customer.

What i observed is table is getting elongated when it is having more than 20 items and getting displayed in second page, but the template is not aware of this activity.

How to print template header on every page?

Thanks & Regards,

Praveen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
634

In Table click on Header .In output Options tab u will find 2 check boxes At start of table & At page Break.

remove template and add header in table with this 2 check boxes checked

2 REPLIES 2
Read only

Former Member
0 Likes
635

In Table click on Header .In output Options tab u will find 2 check boxes At start of table & At page Break.

remove template and add header in table with this 2 check boxes checked

Read only

Former Member
0 Likes
634

Hi Praveen,

I had faced the same issue as that of yours but it got solved by following steps:

According to my understanding, you are writing  loop (loop based on kunnr) within the main window.

1) Create a new page "%Page2"same as that of your first page.

2) For both the pages give next page as "%Page2".

3) Create a node " command " after table in the first page and give "Go to new page " as "%Page2".

Hope this solution works for you too.

Thanks & Regards,

Aparna.