on 10-06-2008 3:16 PM
Dear all,
for every output of the smartform, there is an extra, useless page with only header and footer, with no (visible) main. The main is printed completely on all but this last page.
I found the following:
In the code, generated by the smartform, there is a function call to function ssfcomp_process_document.
In the form "process_pages", there is an if-statement that decides about starting another page: if intsfsy-suppwin = c_false.
This is the point where the program decides to take a new page, I just don't know where it takes its information for that system-variable.
Can anyone help?
Thanks a lot,
Sandra Dejonghe
Hi,
One simple logic ....
Use program lines in the end of all the nodes of the MAIN window for the NEXT page.
Populate a local variable with value 'X' in the program lines.
If once the data in the main window is reached and then the flag ( local variable ) gets populated.
Put the condition to the new page command as local_variable # 'X'.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Check the main window settings of the smartform.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Then control the command for the new page with appropriate condition so as to avoid unnecessary page.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check in the smartform whether any new page command is being trigerred.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm sorry, I didn't mention I do need a dynamic page break. But if 2 pages are needed, in the output there are 3. If 3 pages are needed, in the output there are 4. Etc.
In the commando for the new page, located in the main window, on the tab "General attributes", there is only the mark "Go to new page" with the name of the page-type. Nothing on the tab "Conditions".
Best regards,
Sandra
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.