on 07-11-2012 6:27 PM
Dear All,
I want to make the system allow printing the invoices ONLY one time, i tried to deselect the "Multiple Issuing" in output type but still not working!!
Thanks
Mostafa Ali
hi
please check below write routine , and assign this. at out put type level, at processing routine level , you add this logic , then you will check
FORM ti_invoice_open_form .
zoption-tddest = 'INVOICE'. "Output device (printer)
zoption-tdimmed = 'X'. "Print immediately
zoption-tddelete = 'X'. "Delete after printing
zoption-tdcopies = 1 . "p_no . " No of copies
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
Your can create one ztable and enter the user name and number of times
that user can take the number of print outs ( In your case its one) and write down the
abap code in the driver programe of your invoice script to compare this number of
Print out with the number of records created in NAST with respect to Billing number by using the group by clause of the ABAP.
you take the help of your abaper.
regards
Khajahussain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Develop a routine in VOFM and assign against the output type in t.code NACZ in requirement column.The routine logic can check the table NAST (with object key as billing document number and processing status as not processed). If the processing status is 1 - then don't allow.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.