cancel
Showing results for 
Search instead for 
Did you mean: 

smartform print shd be crossed with text "COPY" if generated second time ?

0 Kudos

hi all

smartform print (pdf) should be crossed with text "COPY" if generated second time ?

let me know the process to overcome this functionality in the smartform .

can you please help me in this regard ,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Populate the output parameters options of type SSFCOMPOP... tdcopies( number of copies)

and pass it to the smartform function module....

and handle the text to be displayed based on the tdcopies

do tdcopies times.

if sy-index = 1.

text = 'Original'

else

text = 'Copy'.

endif.

call your smartform function module....

enddo.

display the text in secondary window in your form

regards

padma

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you are click on the page and go to 'Background Picture' tab, there you can give the picture in the background. If the form is a copy the background picture will be printed.

OR

Create 2 sets of pages Page FIRST1 and Page FIRST2.

In page FIRST1 will be noraml plane page. Page FIRST2 is a page with copy printed on it.

Put all the windows in both the pages. Put the condition that if the form is a copy then print page FIRST2.

regards,

Gaurav

former_member196280
Active Contributor
0 Kudos

Make sure you design two pages as "ONE" "TWO" in your smartform and place a condition basing on whether the form is printed or not,

Make sure you place a water mark by name copy for page "TWO".

now goto NAST table and check whether the page has been printed or not, if printed call page "TWO" else "ONE"

Regards,

SaiRam

0 Kudos

hai,

u can do this by using system variable by declaring a window it in layout

SFSY-COPYCOUNT0

query whether

define a v_text for orginal and copy

if sfsy-copycount0 = '000'

text = 'original'

else

text ='copy'

former_member188005
Contributor
0 Kudos

For getting the output whether its an Original / Copy of the output, You have to fetch the relavent data from NAST table.

Enter the requried parameters in the selection and check the field REPET. If the value is 'X' then its a copy/repeat output or else its an Original output.

Regards...