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