cancel
Showing results for 
Search instead for 
Did you mean: 

Last Page in Smartforms

Former Member
0 Kudos

Hi,

I 'm doing a invoice smartforms with lot of page in function to the number of element in a table in the main window.

I have First page and next page in my smartforms.

I want in the last page that they are 1 différent window compared to the first.

What condition i need to do, to display just this window in the last page.

Thanks for your reply.

View Entire Topic
Former Member
0 Kudos

Hi,

For the first page....yes ...they would be equal...

If you have any PAGE number window in your FIRST page ...

then use program lines under that window which ofcourse should be FINAL window then only the SFSY-FORMPAGES would calculated correctly ...

in the program lines ...

IF SFSY-PAGE = SFSY-FORMPAGES.

lv_last_page_flag = 'X'.

ENDIF.

then use the flag as a condition to trigger the command and the window.

Hope this is clear.

Regards,

Ram