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: 

how to remove default printer option or to enable mail option in smartforms

Former Member
0 Kudos
484

hi all,

i am sending shipment details smartform via email through standard transaction.the moment when i configure output type in VT02N,with dispatch time 4(immediatly print)it is throwing error 'update was terminated'.

i have checked in OSS note for the above error.

Note 86147 -

but my requirement is not to set the printer, it should go mail directly,can anyone tell me about how to delete default printer setting from smartform.

or how to set mailing option in smartforms, can anyone help me in this, i have urgent requirement,plz give me detail info on this issue.

regards

syed samdani

5 REPLIES 5

Former Member
0 Kudos
168

Hi

U have to change the printer program calling the smartform, here you can set the print parameters to be trasnfered to smartforms

Max

Former Member
0 Kudos
168

Hi,

check out rsnast00 program and Fm get_print_parameters

regards

Amole

Former Member

anversha_s
Active Contributor
0 Kudos
168

hi syed,

try this.

give output_options-TDNOPRINT = 'X'

inside ur smart from function module.

rgds

anver

if helped mark points

0 Kudos
168

hi anver,

thanks for the valuble advice. still pop up for printer is coming but without print option. i have suppressed the popup with no_dialog option.

for sending email i am doing like this in my code

1.send smartform to spool.

2.convert spool request to pdf

3. attach pdf to email.

it is throwing error update was terminated when i execute with standard tcode vt02n with dispatch time 4.