cancel
Showing results for 
Search instead for 
Did you mean: 

Page Initilization in Smartforms

former_member434229
Active Participant
0 Kudos

Hi Guys,

I am printing new Document Number (belnr) on next page. But I want the SFSY-page to be initilize when the doc number changes.

How can I do that ??

Thanks in Advance,

Nitin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

define an own variable for Your page number. In a window before Your

main window, add a program node with something like this:

g_page = g_page + 1.

Every new page, the smartform is processing the windows again, so

the g_page should contain your counted pages now.

Cheers

Answers (2)

Answers (2)

former_member434229
Active Participant
0 Kudos

Answered on my own

Former Member
0 Kudos

hi can you please let me know how could you do that.

thanks in advance.

former_member434229
Active Participant
0 Kudos

I put a loop around the data and at the end of displaying one 'belnr' I mentioned

SFSY-PAGE = SPACE.

Former Member
0 Kudos

If I understand your problem correctly you should look at the General Attributes tab of your Page node. Here you can choose the radio button to 'Initialize counter'.