on 07-10-2014 8:38 AM
Hi All
Using VF02 we are printing the SD invoices.
Issuse : Using VF02 we can print any number of invoice copies.
i need to put Control 'This is dublicate copy' when the invoice print in more than one time...
How can i trace is this invoice is already printed or not........
Rgds
PP
Hi,
use T-code SE16 or SE16N .
table NAST is having details regarding invoice printing, You can pass your billing doc no to the field
OBJKY, KSCHL is output type, nacha for Sucessfully printed indicator, U can also get Date, Time and User name from This table .
Regards
Soumendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check table NAST on object key <invoice number> (and check message type if applicable), and status 1 (VSTAT).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
that's look like a French requierment
have a look of the standard program, there is this code: RVADIN01
*---------------------------------------------------------------------*
* FORM CHECK_REPEAT
*
*---------------------------------------------------------------------*
* A text is printed, if it is a repeat print for the document. *
*---------------------------------------------------------------------*
form check_repeat.
clear repeat.
clear anzal.
select * into *nast from nast where kappl = nast-kappl
and objky = nast-objky
and kschl = nast-kschl
and spras = nast-spras
and parnr = nast-parnr
and parvw = nast-parvw
and nacha between '1' and '4'.
if *nast-vstat = '1'.
anzal = anzal + *nast-anzal.
repeat = 'X'.
endif.
endselect.
endform. "CHECK_REPEAT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.