Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform 5 copies differente text footer

Former Member
0 Kudos

Hello everyone,

I need to print a smartform in 5 copies, and in each copy a differente text in the footer, something like Original, Copy1, Copy 2, and so on, can anyone help me with this I'm not really good in smartforms, thanks in advance.

Julio Cesar

2 REPLIES 2

Former Member
0 Kudos

Hi,

In the Footer part, include code lines and check the page number.

You may use a case..endcase statement also. Here you can check the page number of the form, and if say sy-pagno = 1, then ws_text = 'Original.

[ declare ws_text in your definition part and mention ws_text as the output parameters.

Now in the text field of the footer, write this &ws_text&.

Regards

Subramanian

Former Member
0 Kudos

Thanks for your answer was really helpful.