2006 Sep 23 2:28 PM
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
2006 Sep 23 2:43 PM
Hi
U have to change the printer program calling the smartform, here you can set the print parameters to be trasnfered to smartforms
Max
2006 Sep 23 3:34 PM
Hi,
check out rsnast00 program and Fm get_print_parameters
regards
Amole
2006 Sep 23 9:43 PM
Hi,
Go through the link,
http://help.sap.com/saphelp_47x200/helpdata/en/51/b6583f6c7d11d194ac0000e82dec10/frameset.htm
Regards,
Azaz Ali.
2006 Sep 24 12:22 PM
hi syed,
try this.
give output_options-TDNOPRINT = 'X'
inside ur smart from function module.
rgds
anver
if helped mark points
2006 Sep 25 7:39 AM
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.