cancel
Showing results for 
Search instead for 
Did you mean: 

How to print a window data at last page of smart form dynamically

Former Member
0 Kudos
42

Hi Gurus,

could any one of help me on this?

Accepted Solutions (0)

Answers (4)

Answers (4)

sharadendu_agrawal
Active Participant
0 Kudos

Hi Sridahr,

U can name the last page by some particular name and then u can write that particular data on that page only or in the conditions tab u can put the condition as only on the last page.

I don think that sfsy-page and sfsy-formpages will work as these variables have the same values at runtime and its only in the end wen the smartform is to be printed that these variables are updated.

REward if helpful

Cheers,

Sharadendu

former_member196280
Active Contributor
0 Kudos

For printing on last page you can use condition

if &sfsy-page& = &sfsy-formpages&

Regards,

SaiRam

Former Member
0 Kudos

hi,

give this condition.

if sfsy-page = sfsy-formpages.

call function 'write_form' for that window

endif.

Former Member
0 Kudos

If you only want to print at the last page then you can check to ensure you are at the last page (if sfsy-page = sfsy-formpages) and put that as a condition on the node (table or text).

I hope that answers your question. I am not sure what you mean by dynamically (I know what dynamically means but I am unsure if you mean using a table or just a text node).

Regards,

Davis