cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with smartform for delivery

Former Member
0 Kudos

Hi all,

iam having a requirement in smartforms.

For first original delivery, i should have an output with BLANK watermark...

and for proceedng outputs, it should have COPY watermark.

Rite now, when iam going for printing the delivery no., which contains 3 copies...

so as per my requiremnt the first copy has to be printed with BLANK watermark and prceeding should have COPY watermark.

here iam getting two spools, one with BLANK watermark and the other with 2 copies of COPY watermark as expected...

The code changes are implemented in driver pgm.

But the problem is, iam calling the smartforms twice as per the watermark...

l_copies = g_output_options-tdcopies. " no. of copies to be printed. i.e. 3

IF l_copies = 1.

g_output_options-tdcopies = 1.

l_copies = l_copies - 1.

call smartform.

ENDIF.

IF l_copies > 1.

g_output_options-tdcopies = l_copies.

call smartform.

ENDIF.

Is there any way of implementing the code in smartform...

Regards,

Sathish Donthula

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

try to enter your code in initialization part in smartform.

With Regards,

Nikunj Shah