Application Development 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: 

stop form printing from entry sheet transaction

Former Member
0 Kudos

Hi to all,

I am in a project where, when we accept and save a entry sheet the form is launched to the printer, this is ok. but, when we use a program to generate this entry sheet we dont want this to happend.

I`m sucessfull stoping the execution in an abap rutine of the schema by customizing but i dont know how i can do to stop de printing. I tried to change xsubrc or sy-subrc and clearing varibles like xnast, ynast, nnast.....

I know that is a very specific question but all answers are welcomed.

1 REPLY 1

former_member223537
Active Contributor
0 Kudos

Hi Mario,

Please check whether there is any User exit which triggers printing.. in that case please pass blank parameter to PRINT IMMEDIATELY.

PRINT IMMEDIATELY = ' '.

Also check whether there is any config. setting which would have mentioned the script or Smartform name. Simply remove the name.

Best regards,

Prashant