Application Development 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: 

[SmartForm] With a dynamic page break, the main window of the page to display is not displayed.

0 Kudos

Hi guys,

Here is my problem :

I have 3 pages on my SmartForm:

  • FIRST-> NEXT page
  • NEXT-> NEXT page
  • LAST-> LAST page.

My goal is to display the LAST page in the last position of the form, if I have one (only FIRST) or multiple pages (FIRST, NEXT) displayed.

To do that I added a dynamic page break with the command node"Transition to the new page: LAST", which I added in the last sheet of the node of my main window in the FIRST page.

It works but not quite ! , The LAST page content is well displayed if it is in a secondary window but since it is in the main window, the smartform does not display the content and displays a blank page output.

Do you have tracks? thank you ! (ps: sorry for my english)

1 ACCEPTED SOLUTION

DoanManhQuynh
Active Contributor
0 Kudos

i have found lots of similar question (with answer accepted) on internet, did you check it yet? e.g: https://archive.sap.com/discussions/thread/985485

https://archive.sap.com/discussions/thread/3573869

3 REPLIES 3

Sandra_Rossi
Active Contributor

I'm not sure to understand what exactly is your problem.

Maybe: the MAIN window is tricky, it has to appear in all the pages where you want the content of the MAIN window to be flowed over, but you must do the whole code in the first page where MAIN appears, it will apply to all pages implicitly. So you should define some content after the node "Transition to the new page" so that some data is displayed in the MAIN window of the last page.

DoanManhQuynh
Active Contributor
0 Kudos

i have found lots of similar question (with answer accepted) on internet, did you check it yet? e.g: https://archive.sap.com/discussions/thread/985485

https://archive.sap.com/discussions/thread/3573869

0 Kudos

Yep,

I solved the problem by copying the main windows from page to page (with the same name). having different main windows / pages I don't know how the engine works but not as I wanted