Hi all,
I have got a problem regarding breaks in a form. I concentrate data in SAP with ABAP in a table (several pages). And some parts of the table should't be broken in the form (at the end of the page). In ABAP I build a flag to query that via JavaSkript (in the layout).
If flag = X --> the rows can be broken at the end of the page
If flag = ' ' --> the rows shouldn't be broken at the end of the page --> this rows should be located on the next page
How can I solve it with JavaSkript?
Thank you for your efforts.
On the pagination tab there is a section where you can program a conditional break .....this will tell the program when to break and when not to .....I do not think that you will be able to pragramatically set the allow break in content flag.
There is also the widow amd orphan controls that will allow you to keep certain objects together but again this woudl be for the whole document and not dynamically set like you are asking
I do not think you will be able to do what you are asking
Paul
Hi all,
thank you for the answers. But it didn´t work! I try to describe my problem in another way...
if the flag = X
I need the function --> subform --> allow pagebreak in the content (check box) (---->in German --> Seitenumbrüche im Inhalt zulassen)
if the flag = ' '
I need the function --> subform --> not allow pagebreak in the content (check box)
I think it is possible to realise it in JavaSkript.
Another way is maybe to duplicate the relevant subform (with the conditioned table) and position the skripting in the parent subform.
- subform1 --> allow pagebreak in the content
- subform2 --> not allow pagebreak in the content
If flag = X
use subform 1
if flag =' '
use subform 2
maybe is it possible to realise via Javaskript...thank you all in anticipation!
North America
Europe, Middle East and Africa
Asia Pacific