cancel
Showing results for 
Search instead for 
Did you mean: 

Printing text at page break (smartform) - Still not answered (12/11)

Former Member
0 Kudos

Hi,

I will be using this in a nested loop:

For each line item, the Form will be processing additional info per line item. However, say the additional information per line item takes up 7 pages. In such a case, "Line Item _________ continued" should be written at the start for the continued page.

How is this done?

Thanks,

John

Message was edited by:

John Damion

Accepted Solutions (1)

Accepted Solutions (1)

naimesh_patel
Active Contributor
0 Kudos

Try something like this:

In your main window, just before including the text create one code.

Put a code like:

w_page = sfsy-page.

After the include text again put one code and assign the latest value of the page again.

w_page = sfsy-page.

Create one window after the main which prints text "Line item ... Continued'.

Put condition like:

W_PAGE <> SFSY-PAGE.

So, your SMARTForm will look like:

> MAIN 
  > HEADER
  > MAIN AREA
   > TABLE
     > LINE TYPE
       > CODE (TO SET THE W_PAGE)
       > TEXT FOR INCLUDE TEXT
       > CODE (TO SET THE LATEST VALUE OF THE PAGE.
> CONTD (WITH CONDITION)
  > TEXT

Regards,

Naimesh Patel

Former Member
0 Kudos

Thank you. It's simple - I should have thought of that.

Answers (1)

Answers (1)

Former Member
0 Kudos

BUMP!

Former Member
0 Kudos

BUMP!