on 05-11-2011 8:28 AM
Hi All,
My requirement is to stop re printing of delivery note after it is processed once and printed.
The NAST-STAT field is not changing to any value except 0. i am not able to figure out what change it requires. guidance needed.
thanx.
Hi,
I think it is a sapscript form used for printing here. You can set it so that the spool is deleted after successful print.
When the application print program call the function module OPEN_FORM there is a structure ITCPO as a parameter. With parameter ITCPO-TDDELETE, you can set it so that the .spool is delted after a succesful print. So the spool cannot be reprinted.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I presume that you have configured output type to print, if so in the FORM ENTRY you will have to update the return code as 0 if print was successful.
Now, NAST-VSTAT will be updated to three possible values.
0 Not processed - The entry will remain in this state until the form is printed.
1 Successfully processed - It will be updated to "1", once the form is printed successfully, it will not be set to "1" if you just do a print preview.
2 Incorrectly processed
Regards,
Chen
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.