I am facing problem with SMARTFORMS having two pages one with background picture and other without backgound picture.
Suppose I have two pages Page 1 and Page 2.
Page 1 has a backgound picture and page 2 doesn't have.
For page 1 i have given next page as page 2 and for page 2 i have given next page as page 1.
But page 2 is called only based on certain conditions given on page 1.
When I execute it, I get page 1, page 2 and then again page 1(extra).
How to avoid printing of duplicate copy of page 1 again?
Main window is there in page 1 and i could not add any command lines for a page break in page 2.
I would like to know answers to the following questions regarding SMARTFORMS:
1) I want to display result withbackgound picture and without background picture alternatively on pages, how can i achieve this using smartforms?
i.e. page 1 with picture, page 2 without picture, page 3 with picture, page 4 without picture and so on...
2) How to call a background picture dynamically in a page?
3) For a dynamic page break we can use command lines in the main window, how can we dynamically give a page break in the windows other than main window or in the pages where there is no main window?
I have searched SAP notes related to smartforms, I could not find answers to my questions. Please let me know if there are any reference SAP notes.
I would be very much thankful, if anyone could clarify my doubts.
Thanks and Regards,