‎2009 Jul 30 4:33 PM
Hi Friends,
I have used fm "so_new_document_att1_send_api1' in zprogram.
Now the issue is the program is active.
But when im calling va42 and selecting issue output it gives me error Erro while sending email.
I dont know how to go about it.
Can any one help me in this issue.
REgards,
V B
Edited by: Vijaya B on Jul 30, 2009 5:33 PM
‎2009 Jul 30 7:51 PM
‎2009 Jul 31 1:25 PM
Hi Xperts,
I have created an adobe form.
Now I have configured this adobe form and customised program of Sd_sdoc_print01 thru nace.
This customised program has a FM name SD_PDF_SEND_DATA which consists of functionality of sending mail,
where my pdf file is been attached and output device has been set.
call function 'SD_PDF_SEND_DATA'
exporting
iv_device = uv_device
iv_email_subject = lv_mail_subject
it_email_text = lt_mail_text
is_main_data = us_pdf_file
iv_language = gv_language
is_address = ls_address
importing
ev_send_to_all = lv_send_to_all
exceptions
exc_document = 1
exc_send_request = 2
exc_address = 3
others = 4.
if sy-subrc <> 0.
Sending did fail
message e000 with <gs_vbdka>-vbeln
into gv_dummy.
perform protocol_update.
<gv_returncode> = 99.
return.
endif.
U can see the printer device is set "uv_device"
..This program works fine when i run va42 and save the file and the form is reached to the appropriate user.
Now the requirment has changes where i have to attach two files : 1:PDF and the 2. Any format.
I am using FM : so_new_document_att_send_api1 to send this two files.
The program is activated showing no dumps but when i try to issue output to using va42
It gives me error Update was terminated.
Do i have to set printer device coz this fm has no parameters for setting up device.
Please help me to sort out this issue.
Regards,
Viju B.
Edited by: Vijaya B on Jul 31, 2009 2:26 PM
Edited by: Vijaya B on Jul 31, 2009 2:58 PM