2008 Jan 04 7:05 AM
Hi Friends,
there is a Z smartform( Output type ) associated with the standard transaction ME21N or ME22N,,,,,
when ever there are errors for that document in ME22N or ME21N then the SMARTFORM should not print.
if its is warning messages no problem,,, but if its errors messages then its should display a message and should not print ,,,,
regards
Kumar M
Hi Friends,
there is a Z smartform( Output type ) associated with the standard transaction ME21N or ME22N,,,,,
when ever there are errors for that document in ME22N or ME21N then the SMARTFORM should not print.
if its is warning messages no problem,,, but if its errors messages then its should display a message and should not print ,,,,
regards
Kumar M
2008 Jan 04 7:12 AM
Hi Mukesh..
U will have to control it at Driver program...
As in my case I was not supposed to print PO if it is Subject to approval...
So I checked the erronous Field value for particular PO, displayed message and skipped the PO printing..
2008 Jan 04 7:13 AM
Hi Mukesh,
Thats good!
First thing is that ..we need to configur the printroutine in the NACE transaction. as it is purchaseing data applicatoin is EF.
once the PO is saved successfully then only the print will trigger. there is no need to wory about that. first confiugr accordingly.
Thanks,
Sunil
2008 Jan 04 8:13 AM
Hi Friends,
Even thought there is error in the PO we can take the print,
i should check wheteher there is any error related to that PO document before printing...
what code should i write in the smartform
is there any table where these error messsages are geting stored with respecte to that po number