External Send
Hi ,
I have done the o/p type configuration to send the Invoice data using 'Print Output' and have written the print program for the same . This is triggered from the Sales Invoice transaction VF01 . Now the user wants the o/p to be sent as an email to the Customer's email address . How can this be done . What are the config steps involved . I know we can use the External Send medium for doing this .
Any help is appreciated .
Regards,
radha123
hello radha,
You can choose the special function 8 instead of 6 for print out.
and you can attach any program you want for this option.
and in that program use the SO_OBJECT_SEND to send the just a mail or SO_NEW_DOCUMENT_ATT_SEND_API1 to send with the mail with attachments.
Are they specifying what kind of format is required for the output?
saper
Hi saper ... Thanks for the reply ... actually I am doing quite a bit of formatting in my smartform ( making all those logos , formatting columns etc ) which I dont want to re-do for email . How do I convert my print o/p to email o/p in the sense I shud be able to trigger email from VF01 but with all the formatting of my smartform .
Regards,
radha
I don't think you can do that. I may be wrong. My understanding is
output through the smartforms is converted to a printable file which
is getting printed through the dazzle kind of printing software. You
can send the spool file of your output through the mail. But it does not
make sense. See your output has to become some kind of document
(word, text, pdf) before you send that to anybody. And you will be dealing
with many customers and every body will have different softwares
to see or print.Your requirement does not look like a valid one.
Please let me know
saper
Continued......
If the user wants to send the spool file which is in the postscript format
you can send that through the mail to the customer. Then customer
has to view that through the Ghost viewr. Otherwise you can convert
the postscript file to a PDF file on the operating system level and send
that file to the customer. Then customer can see that through the acrobat
reader.
You need basis assistance for this. If you need your solution this way
I can give the steps to do this.
saper
You need to
-send a spool request, i.e. print, but not immediately
-import that spool request number in close_form
-use function CONVERT_OTFSPOOLJOB_2_PDF
-CONVERT that table into one that can be attached, search sapfans for author manohar, topic:Sending spool Attachment in PDF format through mail in backg
-attach it in SO_NEW_DOCUMENT_ATT_SEND_API1
Greetings, A
I believe this is done via configuration through customer info records or from customer master contact info.
This person posted this question on May 08, 2003 9:30 pm. Looks like
it is not a requirement anymore. I think it is not necessary for us posting many answers with out any response from the person.