2009 Jul 16 3:46 PM
Hello Experts,
When i print my PO(me23n) smartform i need to display the print status as Original or Re-Print.
if it has already printed then it should show RE-PRINT on the top corner of the SMART FORM Printout.
Can any one suggest me how to check the status of the printed documents and display accordingly
i.e Original or REPRINT.
Thanks
Dan
Hello Experts,
When i print my PO(me23n) smartform i need to display the print status as Original or Re-Print.
if it has already printed then it should show RE-PRINT on the top corner of the SMART FORM Printout.
Can any one suggest me how to check the status of the printed documents and display accordingly
i.e Original or REPRINT.
Thanks
Dan
2009 Jul 16 4:38 PM
Just a clue ,,
I am querying NAST table for NAST-MANUE field.
If NAST-MANUE = SPACE.
i am displaying is as a ORIGINAL (1st time) .
else.
i am displaying is as a Re-Print .
Is this correct?
2009 Jul 16 5:28 PM
The number of copies printed is stored in NAST-ANZAL
if NAST-ANZAL gt 1 then its copy or original
a®
2009 Jul 16 5:32 PM
Check for NAST-ANZAL field .
If it is 1 , then - ORIGINAL , else GT 1 , then - DUPLICATE
Thnx
Anil
2009 Jul 16 9:21 PM
>
> I am querying NAST table for NAST-MANUE field.
> If NAST-MANUE = SPACE.
> i am displaying is as a ORIGINAL (1st time) .
> Is this correct?
Well, this is not entirely accurate. This field simply means that an entry was created manually by the user. This could be a copy and could be an original if, for example, a condition record was missing and a user created the output manually. However, in about 99% of the cases this will be the correct assumption.
The suggestion to use ANZAL is completely wrong. This field is simply for the number of copies to be printed. Could be 3 on the first run and 1 on the second, you never know.
In the invoice form interface SAP added a standard parameter IS_REPEAT to handle this. Check if it is available for the purchase order.
Actually the whole original/re-print thing is kind of shady. For example, there could be a printer jam and the users would have to re-print to get an original. How would you handle this?
2009 Jul 17 12:11 AM
Hi Jelena,
In my Nast table the ANZAL field is showing 0 even if i have 1, 2 or 3 copies.
Where do i see the std parameter IS_REPEAT ? what is that interface you are refering here ?
I am using my own layout and print program to get a different output from PO.Its called PO GR complete, Invoiced PO..etc
Pls suggest..
Thanks to others who suggested the use of ANZALas well
Thanks
Dan
2009 Jul 28 10:33 PM
Good to some extent by if we use NAST-VSTAT, NAST-KSCHL combinations
2009 Jul 29 12:15 PM
Hi ,
Incase if nothing works , there is a last option of maintaining a bespoke table with po number or whatever as primary key and try to write a code in smartform to set the flag 'x' or a count 1 for the execution. So everytime check the bespoke table to see the status. This is the worst case that you can opt for if you dont find any other option.