cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Reprint

Former Member
0 Kudos

Hi Guys,

I am working on smartform, I have requirment

when i take print of smartform it should be reprint and reprint should be written at the top of the page ,how to do that..

Points should be rewarded...

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

valter_oliveira
Active Contributor
0 Kudos

Hello there.

Please check SAP note 316097. There is the solution for your problem.

Regards.

Valter Oliveira.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In the smartform initialization tab write the coding as follows.

CLEAR repeat.

SELECT * INTO wa_nast FROM nast

WHERE kappl = nast-kappl

AND objky = nast-objky

AND kschl = nast-kschl

AND spras = nast-spras

AND parnr = nast-parnr

AND parvw = nast-parvw

AND nacha BETWEEN c_1 AND c_4.

CHECK wa_nast-vstat = 1.

repeat = 'X'.

EXIT.

ENDSELECT.

in the top of the smartform create a text with your required text and in the codition give reppeat = 'X'.

Thanks,

NN.

Former Member
0 Kudos

hey,

i am working on invoice smartform, can you pls tell me how to print Original text when first time invoice is printed and when second time invoice is printed duplicate text should be printed.

Thanks and regards

Faiz Khan