Skip to Content
author's profile photo Former Member
Former Member

Dynamic Sapscript page content

Hi Experts,

I'm currently developing a Sapscript form where it should have dynamic content.

i have the header of the form and the body.

if the body is short, it can be be placed on the first page of the form.

if the body is long and goes off the first page, it should be totally removed from the first page and placed in the second page (or more). if this happens, there should be a note on the first page, saying "see next page". also, this should be created in a different spool. (there would be 2 spool jobs)

how should i tackle this problem?

Thanks in advance.

shockadis

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2010 at 07:34 AM

    Hi Shockadis,

    For the problem of having the body completely on the next page you need to place it between PROTECT-ENDPROTECT. you can place your text element of body inside this set of keywords. this will check if the data flows to the next page, then it starts printing from the new page itself.

    For displaying the message 'See Next Page', if your header gets accomodated on the first page, check the condition that if total number of pages is more than one then display the message.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.