Skip to Content
avatar image
Former Member

Multiple invoice printing

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jan 05, 2009 at 03:57 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2009 at 04:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2009 at 04:02 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2009 at 04:07 PM

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

    Add comment
    10|10000 characters needed characters exceeded