cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple invoice printing

Former Member
0 Kudos

Hi all,

I need to check the feseability of printing invoice with multiple copies. The requirement is, if I am printing an invoice with multiple copies then the first copy should print (in one of the fields) ORIGINAL and in the rest of them it should print DUPLICATE.

I just wanted to know its feasibility. Is it possible using some some customization or some custom development.

Thanks in advance.

Ganesh Khumse.

<MOVED BY MODERATOR TO THE CORRECT FORUM>

Edited by: Alvaro Tejada Galindo on Jan 7, 2009 11:27 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

The reauirement got solved using the implicit enhancement in driver program RBL_INVOICE and writing code in the initialization of the form.

former_member191735
Active Contributor
0 Kudos

First of all you need to read the record from NAST table to find out whether it is already printed or not then you can change your smartform heading using this options.

Former Member
0 Kudos

Hi all,

Thanks for the reply, however what I am looking for is that if someone gives a print for the first time with more than one copy. At that time can I check with NAST for the table entry? I think it will update the NAST table once the print is done for the first time. I think the solution of counting the COPYCOUNT value might work but I will be using a ADOBE form for the development. how do I proceed in that case.

Thanks in advance,

Ganesh Khumse

Former Member
0 Kudos

One more important thing is, it is the related to the FI invoice i.e. correspondance.

Thanks

Ganesh KHumse

Former Member
0 Kudos

hi.

u can use variable SFSY-COPYCOUNT to check for original and duplicate if SFSY-COPYCOUNT > 1 then print duplicate else original.

The above method will work in case of smartforms.

u can also use one more method in which u put a select on NAST table for ur particular output type which are processed(check using nast-vstat) get the values in an internal table then count the records using describe lines, if number of records is greater than one then print duplicate else print original.

кu03B1ятu03B9к

Edited by: kartik tarla on Jan 5, 2009 9:33 PM

Former Member
0 Kudos

Thi could be one of the solutions;

copying the standard Script / Smartform to Z.

In the custom Script / Samrtform .. you will have a code to check with Z table where you maintain the doc. number.

eg: For the first time, the Z table will have no entry soyou print 'Original' and also update with Doc. Number.

Next time when checked the Z table will have the entry there by you print 'Duplicate'.

But this results to maintainence of Z table...

There are several other ways ....

Thanks,

Adi.