Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Printing a Smartform

Former Member
0 Likes
499

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

3 REPLIES 3
Read only

Former Member
0 Likes
476

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..

Read only

Former Member
0 Likes
476

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

Read only

Former Member
0 Likes
476

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