‎2005 Jun 01 9:34 AM
Hi,
Problem:
I want to protect a certain aerea of the form, which
includes windows, boxes etc..
It should be printed after the main-window is finished
(Property I have set and works fine).
BUT the protected area should only be printed,
if all the items will fit onto the rest of the page.
If not, a page-break should be processed.
Is there a similar command like <PROTECT: ENDPROTECT:>
in SF?
Thanks a lot for help
BR
Michael
‎2005 Jun 01 10:53 AM
Hi Michael,
Text element or folder or table line have switch "Page protection". So, you can place all the elements you need into one folder and turn on its "Page protection" flag.
‎2005 Jun 01 10:53 AM
Hi Michael,
Text element or folder or table line have switch "Page protection". So, you can place all the elements you need into one folder and turn on its "Page protection" flag.
‎2005 Jun 01 12:18 PM
Hi Sergei,
Thanks for your reply.
You are right, but you can set this switch only within the
MAIN-window. But I have to protect several
Windows, boxes etc. outside (after) the MAIN-Window.
BR
Michael
‎2005 Jun 01 6:48 PM
Yes, you can only protect elements inside main window. The reason is that the only main window can change its height and even be continued on another page. So, I would recommend to redesign your SF somehow to move protected elements to the end of the main window.
‎2005 Jun 01 8:25 PM
You may try to put all your secondary windows, text elements, templates ( as the case may be) in a folder and then set the page protection at folder level. Hope this helps.
Cheers!
‎2005 Jun 01 9:14 PM
‎2005 Jun 02 9:20 AM
The height of Main Window is fixed on a page. However, as Sergei mentioned, Main Window contents can go over to the next page.
You may combine all your templates, text elements in a folder and set page protection at folder level.
If You have a table in your Main window, may be table footer node is the best place for this type of requirements.
‎2005 Jun 02 10:11 AM
Thanks to everybody,
I have found a (brutal) work-arround.
May you are intersted in it:
1.) Count all Lines of the main window
2.) If they succeed a certain number (High of MAIN)
print an empty table for all these number of lines ++1
3.) But Print all times the main-table in the main window.
The effect is:
If the Content of the Main-Table (main window) won't fit
into the MAIN Window the empty lines are printed
on the first page and the real Data will be printed on
next page.
The reason is:
The following area ( which should be protected) is much
bigger then the Main-Window and the client won't get split the data!
BR to everybody who helped me!
I gave to everybody rewards!
Michael
‎2005 Jun 17 11:52 AM
I also find same problem with you, Michael, but now I found the better solution that is,
1) You should separate to several windows.
2) Lets say you just want to display 'TOTAL' at the last page after the last items in main window, you can define total at the independent window, double click this window > under 'condition" tab > you can see the box named "additional event" -> tick "only after end of main window"
3) Then now you can see those window only at the very last page after last item in main window.
p/s you can define several windows that you only want to print at the very last page (after last item in main window) using same steps above.
It works well same as commands:-
<i>If &nextpage& = 0</i> in Sapscripts
Hope it helps you although is late.