2006 Dec 26 12:16 PM
Hi
i ask before:
i copy LE_SHP_DELNOTE to Z-smartform
i want to know how can know if the invoice is original ( print one time ) or copy ( print more than one )
Thanks
have a nice day
i got answer to check in nast table i check it and is not work the field nast-VSTAT mean print or display so maybe there is other option?
2006 Dec 26 12:28 PM
Hi
What do you exactly know?
If a message was printed the field NAST-VSTAT has the value 1, only this field has this informations.
So:
SELECT * FROM NAST WHERE KAPPL = 'V2'
AND OBJKEY = <DOCUMENT NUMBER>
AND KSCHL = <MESSAGE TYPE>
AND VSTST > 0.
In this way you can know if a document was printed in the past.
But if you need to know if a document is printed for several times in the same time, you can't use the NAST table and you should chage the driver program to check that.
Max
2006 Dec 26 12:28 PM
Hi
What do you exactly know?
If a message was printed the field NAST-VSTAT has the value 1, only this field has this informations.
So:
SELECT * FROM NAST WHERE KAPPL = 'V2'
AND OBJKEY = <DOCUMENT NUMBER>
AND KSCHL = <MESSAGE TYPE>
AND VSTST > 0.
In this way you can know if a document was printed in the past.
But if you need to know if a document is printed for several times in the same time, you can't use the NAST table and you should chage the driver program to check that.
Max