Making standard compensation statements always fit on one page using variables
When designing standard compensation statements we often get an additional blank page that gets added at the end of the pdf (sometimes it shows some of the information we added to the right-side sections but other times it is totally blank).
The recording below takes us through some workarounds we can use to prevent that from happening while keeping all of the information needed on the statement. It is based on some explanations I made in the comments section of the blog post below: https://blogs.sap.com/2020/04/14/tips-tricks-to-customize-the-standard-compensation-statement/comment-page-1/#comment-512587
Known limitations of Variables :
- The currency sign and number formatting doesn’t carry over when bringing Money or Amount fields to the main text area (see screenshot below).
- When using variables it is easy to receive error messages upon statement generation (if something is just a little bit off statement generation will fail). We recommend following the steps demoed below very carefully and always keeping a backup of the original design when editing from one year to another.
2 pages statement after initial design : https://drive.google.com/file/d/1P1NFdd3heg_F6XidCvfY9Ni5w1w12bDv/view?usp=sharing
1 page statement after the work around explained in the recording : https://drive.google.com/file/d/1CFxJaLAHgXiMcKuKACiKl6gA28uOjnF3/view?usp=sharing
Please note there is a known limitation with this workaround that if you use tokens to display information on the main body text and the token is for a numeric field (amount, money), the field formatting displayed on the right side will not carry over to the main body text. Only custom compensation statements would allow this.
If you would like to get more insights on tips and tricks regarding standard statements, I highly recommend the following posts :
In case you are wondering how to upload a new logo or change the size of the existing logo on a standard Compensation Statement, please find a recording below :