cancel
Showing results for 
Search instead for 
Did you mean: 

How make a smartform with two page that re-call herself????

Former Member
0 Kudos

Hi,

I have a question about the possible realization of my smartforms. I must do a smartforms that it must have a redundancy's first and also second page. It must have repeat until I have finish the loop on my internal table in the window main of the first page and after, when the loop's main first page is finished, I must re-call the second page where I have defined another internal table in the window main's second page.

Can I recall the same page and after skip to another page?

When in first page I must define the next page, I must put the first or the second page?

If I put the first page, how I can skip to the second page when I will finish to loop at internal's table?

If I put the second page, how I can re-call the first page until the loop on internal table is finish?

Thanks in advance.

Regards,

Davide.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

In your first page specify the second page as next page. In Second page specify the first page as next page.

Specify the condition in the Loop condition tab.

Regards,

Joan

Former Member
0 Kudos

Hi,

thanks everybody for yours suggestions, I'm succeed to solved my problem.

Now I have another question: with the standard call fuction HR_IT_DISPLAY_WITH_PDF, I can display my smartfomr like pdf file; can I create and save my smartform like a file pdf without it will come display on the window!?

Thanks.

Regards, Davide.

Former Member
0 Kudos

I ur first page . put next page as first page it self, and at the end of main window put a command node to call next page when ur internal table loop gets completed for this may be u can implement a counter v_count which count line of itab and say it is 10, so in conditions tab of command node use the condition v_count > 9.

кu03B1ятu03B9к

Former Member
0 Kudos

Hi Davide,

In you first page put first page as next page.

In you next page put your next page as next page

Add a command in you main window after the first loop.

In command in the folder General attribute, mark the Go to new page check box and enter next page as page name.

Regards

Åsa Thenstedt