on 2009 Feb 23 10:29 AM
Hi All,
I have done a script for the WC Document,
But now the client requires it to print it only once for a particular document number,
How can we do. Is there any such coding to restrict the print only once per document.
If any knows the solution please post the solution
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Mar 27, 2009 10:40 AM
You can control the printing in many ways.
Using Document status:
Check whether the WC document having any status from which you can determine that this document already printer.
Using message control:
If the form is controlled via message control then table NAST having field VSTAT. If the VSTAT is '1' for the OBJKY(ie document number) then you can block printing.
If nothing possible above said then:
If there is nothing like that then you have to create a Z table. Whenever that document is printed , you check record in the z table for this document, if one exists (means already printed) block tahe printing otherwise continue printing. You have code it in the driver program
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You create a zprogram to restrict print out and just check a table TSP03C.
Regards
Ansari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just check in the Data Base Table where u are taking the document number from....for the Print Indicators...you can use them for not printing it again.
Regards,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just check in the Data Base Table where u are taking the document number from....for the Print Indicators...you can use them for not printing it again.
Regards,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.