cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT--printing multipage T&C

Former Member
0 Kudos

Hi guys, I got stuck with this issue and if someone can help me to resolve this that will be appreciated.

I have to add last page to a sapscript to print terms and conditions on it.

Below are the steps I have performed:

Creation of T&C text in SO10.

Creation of one new page TERMS_EX

One new window  Z0001 and include std text in it.

In MAIN window callin text element

/E TERMS_EX

/: NEW-PAGE TERMS_EX

In page TERMS_EX i am adding windows MAIN and Z0001

In print program caling FM write_form with element = TERMS_EX

Page sequence: there were already 3 (FIRST, NEXT, TERMS) pages i am adding fourth (TERMS_EX)

FIRST---->NEXT

NEXT----->NEXT

TERMS----->TERMS

TERMS_EX------>TERMS_EX

Now last page is getting triggered, my T&C is three page long but I am only able to print first page.

Can someone tell me, what can be the issue?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

former_member209818
Active Contributor
0 Kudos

INstead of calling the SO text in Z001 windoow, include that text in Main Window of the TERMS_EX. Your text is fixed. But its overflowing to the multiple pages. hence you have to call that text in a window which is delaced as a MAIN Window. Try this and try testing again

Former Member
0 Kudos

Thanks, it worked.

I didnot know that only main window can be repeated on multiple pages. As  i called my text in main window itself it is printing fine.

former_member209818
Active Contributor
0 Kudos

Bingoo 🙂

ONly Main Window has a characteristic to roll out to multiple pages. If content getting printed is dynamic in nature (like item data)  and if it can extent to multiple pages then we should put that printing in Main Window only.

Kindly close the discussion and mark it as answered if you problem is resolved

Answers (0)