cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Page break in compensation statemet

anuragchuri1
Explorer
0 Likes
683

Hello,

The page break tag <br> </br> is not working the in SuccessFactors compensation management statement XML. We also tried other ways to do the same (mentioned below) but nothing seems to be working.

<div style="page-break-before: always;">

<p style="page-break-after: always;"> </p><p style="page-break-before: always;"> </p>

Kindly suggest.

Thanks.

View Entire Topic
Former Member

First off, Compensation statements are not intended to be printed. They are ultimately web pages.

Page breaks do work (I have coded them) but they are very very unreliable, as you cannot control the length of the page (not to mention the different sizes of paper around the planet).

If you insist on a hard-coded page break, I used <div style="clear:both"></div>. I have also used <br clear="all"></br> but I am not sure if that is still supported.

Without seeing the full code of the XSL and the resulting HTML, there is little chance to debug your problem in this forum.

Since the XSL generates just normal HTML, this is not a SuccessFactors issue. Construct an HTML page that does what you want and then make the XML generate that.

SanketD95
Participant
0 Likes

Hello Phil,

We are not trying to print the statement here. We are facing the issue in the generated statements. I will test with the code you have provided and check.

Please refer the below snapshot for reference.

Page break and PDF printing issues on custom Compe... - SAP Community Groups

Thank You.

Sanket.