‎2009 Oct 13 8:03 AM
Hi All.
We are sending emailsfor tickets and we have used smartforms for the content of the mail.
Now we have a requirement that the attachments of the ticket also have to be attached in the emails as a link.
Is it possible to add attachments in smartforms or attachments as link in smartform.
Thanks and Regards,
Akshatha
‎2009 Oct 16 7:11 AM
Hi,
You can save the tickets as an bitmap image and upload the image in sap (tcode SE78).
Then in smartforms create a Graphic using this bmp image.
Regards,
Vinod
‎2009 Oct 16 7:38 AM
we want to send attachments in the mail as a link.
And when we click on the link or URL attachtment should open,in respective attachment format.
Pls help.
Edited by: Akshatha S on Oct 16, 2009 8:49 AM
‎2009 Oct 16 8:34 AM
Hi Akshatha, <li>Have a look at the link <b><u>[Sending smartform as pdf through mail.|http://an-abaper.blogspot.com/2009/07/sending-smartform-as-pdf-through-mail.html]</u></b> Thanks Venkat.O
‎2009 Oct 16 7:54 AM
Hi ,
i suggest you upload this tickets attachemnt as a file onto the application server (AL11)
and mention the path in the mail. Hope this solves your problem.
Regards
Sajimon Chandran
‎2009 Oct 16 8:37 AM
Hi,
I think for this you can use Adobeforms (Interactive)...
Since in SAMRTFORMS you cna't interact it means you cant do any events like clicking on links and all..
Regards,
Shankar.
‎2009 Oct 16 10:08 AM
I am sending the attachment as URL(hyperlink) in smartform and it goes in the mail as a URL attached.
When i click on the URL the attachment gets displayed in the browser .
The problem is PDF,JPG,JPEG,BMP files are getting displayed in the browser correctly but
XLS,DOC,PPT,TXT do not get displayed in correct format.
XLS and TXT files get displayed continuously without any space.
How to display XLS,DOC,PPT,TXT files in browser in correct format
Thanks and Regards,
Akshatha
‎2009 Oct 16 10:13 AM
hi ,
Go through this link.
it works.
http://wiki.sdn.sap.com/wiki/display/Snippets/SmartformtoMailasPDF+attachment
regards,
padmaja
‎2009 Oct 16 11:51 AM
Do you add a URL in your mail which links to SAP and displays the smart form, or is the smart form attached as PDF?
How do you create URLs to the GIF, XLS, etc. documents? What ITS services do you trigger?
‎2009 Oct 16 12:40 PM
I am using BBP_ATTACH_BUILD_URL to generate URL for my attachments and i am sending the URL in the email.
pdf,jpg,jpeg,bmp files open in the browser.
but ppt,doc,xls files do not open in their respective formats, in the browser
Thanks and Regards,
Akshatha
‎2009 Oct 16 3:07 PM
I don't know this function module, and what kind of storage is behind. If the problem is with storage behind URL, I can't help.
But maybe it's the mime type which is wrong (as you use IE). Could you check it. As I don't know the system you use, you may find mime types in these tables: SDOKMIME, BWWF_MIME.
Test attaching one kind of document, for example powerpoint, and try to define these mime types in the tables above: application/vnd.ms-application, application/mspowerpoint, application/vnd.ms-application
‎2009 Oct 19 6:48 AM
Hi Sandra,
Mime format is correct.but i dont know y it is not displaying in correct format.
Do i have to do anything to display ppt,doc, content in browser in correct format
thanks
Akshatha
Edited by: Akshatha S on Oct 19, 2009 7:48 AM
‎2009 Oct 19 9:58 AM
What do you mean by mime is correct? (for example, in my case, I personally had problems in some SAP applications when adding attachment to SRM using application/ms-powerpoint or application/mspowerpoint; only application/vnd.ms-application worked!)
Could you show examples: could you explain exactly what happens when you click the url? what is rendered on the screen? could you paste the complete url?
Thx!
‎2009 Oct 19 10:54 AM
The mime type i am using is "application/vnd.ms-excel".
The URL it generates for excel document is as follows.
On click of this URL it asks for login details in DS! to display the attachment.
Thanks
Akshatha
‎2009 Oct 28 11:19 AM
Hi,
Use class 'CL_CRM_DOCUMENTS' and method 'SEND_DOCUMENTS' to send the attachment in mail
Thanks
Vijay