cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for VF03 - Printing issue

Former Member
0 Kudos

Hello ppl,

I want to find the user exit for the printing purpose for the transaction VF03.

The requirement is that if print has already been taken,it should print as

DUPLICATE on top of invoice along with invoice no.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Did you try this

VO5N0001 :USER EXITS FOR FOR PRINTING BILLING DOCUMENT

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Is it for a script or smartform??

Vishwa.

Former Member
0 Kudos

Hi Vishwa,

Its meant for the smartform.

Former Member
0 Kudos

If it is meant for smartform, then there is a system variable which records the original and duplicate...

The system field is &sfsy-copucount&, now based on the values here you can print what you want.

Like this in program lines node:

If sfsy-copycount = 1.

Write: / 'original'.

else.

write: 'duplicate'

endif.

Vishwa.

Former Member
0 Kudos

Vishwa,

Your answer could prove to be helpful.

But as of now the functional requirement is to find the

user exit.

Anyways I'll test out this also, Thanks.

Former Member
0 Kudos

But, when you already have something so standard, why do you want to use the user exit???

Vishwa.