cancel
Showing results for 
Search instead for 
Did you mean: 

Show window only in last page

Former Member
0 Kudos

Hello guys,

I have a problem, I have an smartform an I want to show a window only in last page, I have read what for do this I need implement the follow instruction :

SFSY-PAGEBREAK ne 'X'.

But as you can see on the image below I have an error:

Could Anyone can help me?

Accepted Solutions (0)

Answers (3)

Answers (3)

romit_raina
Active Participant
0 Kudos

Hello,

There is no field (PAGEBREAK) in structure - SFSY  but you can find that in structure - INTSFSY .

As i understand you need to display window in last page, so you can use COMMAND node.

Trigger NEW-PAGE/Page break using COMMAND node.




Stay Awesome

Romit Raina

Former Member
0 Kudos

Hi Luis

You can use:

SFSY-PAGE (Page Number/Number of Pages)

SFSY-JOBPAGES (Total Number of Pages of Print Job)

Best regards

Rudy_Clement1
Participant
0 Kudos

Hi Luis,

You can mark the option 'Only after end of Main Window' for that particular window. This screenshot is taken from smartform R2RBL_SDORC_L where SAP prints the 'NOTE' window only on the last page:

Kind regards,

Rudy.