<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sending mails. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189809#M759845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the ICS file format instead of the VCS. &lt;/P&gt;&lt;P&gt;I haven't tested it fully yet, but it looks much more convenient + you can find a doucment on this standard (iCalendar) writen by MS &amp;amp; Lutos on the web.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enjoy.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 10:45:28 GMT</pubDate>
    <dc:creator>yes_sapteam</dc:creator>
    <dc:date>2007-12-19T10:45:28Z</dc:date>
    <item>
      <title>Sending mails.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189806#M759842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the FM SO_NEW_DOCUMENT_SEND_API1 to send internal or external mails. However could anyone tell me abt how to send meeting requests to my outlook account using the above or any other FM available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Useful answers will certainly be awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 12:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189806#M759842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mails.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189807#M759843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this thread , this is for creating mail message but can be modified to create meeting request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1381698"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************create a text attachment (with extension .vcs) with the text in my previous link, and send it to the user, when he opens its, it will create a meeting request. *************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 10.0 MIMEDIR//EN
VERSION:1.0
BEGIN:VEVENT
DTSTART:20050418T220000Z
DTEND:20050420T220000Z
LOCATION;ENCODING=QUOTED-PRINTABLE:Walldorf/Rot
TRANSP:1
UID:CD0000008B9511D182D800C04FB1625DFB21A93E951DAE4E8D010DB91CB67B7A
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Details: https://www.sdn.sap.com/sdn/=
index.sdn?page=3Dsdnmeetslabs.htm =0D=0A
SUMMARY;ENCODING=QUOTED-PRINTABLE:SDN Meets Labs=20
PRIORITY:3
END:VEVENT
END:VCALENDAR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 12:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189807#M759843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T12:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mails.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189808#M759844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION zsend_mail_attachment.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*" IMPORTING&lt;/P&gt;&lt;P&gt;*" REFERENCE(V_FILE_PATH) TYPE STRING OPTIONAL&lt;/P&gt;&lt;P&gt;*" REFERENCE(V_SUBJECT) TYPE SO_OBJ_DES&lt;/P&gt;&lt;P&gt;*" TABLES&lt;/P&gt;&lt;P&gt;*" IT_RECEIVERS STRUCTURE SOMLRECI1&lt;/P&gt;&lt;P&gt;*" IT_MESSAGE STRUCTURE SOLISTI1&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gd_cnt TYPE i,&lt;/P&gt;&lt;P&gt;gd_sent_all(1) TYPE c,&lt;/P&gt;&lt;P&gt;gd_doc_data LIKE sodocchgi1,&lt;/P&gt;&lt;P&gt;gd_error TYPE sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Binary store for File&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : BEGIN OF it_file OCCURS 0,&lt;/P&gt;&lt;P&gt;row(255),&lt;/P&gt;&lt;P&gt;END OF it_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;splitting of the filepath&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : BEGIN OF i_split OCCURS 0,&lt;/P&gt;&lt;P&gt;row(50),&lt;/P&gt;&lt;P&gt;END OF i_split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA tab_lines LIKE sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH : it_file, objbin, it_packing_list, i_split.&lt;/P&gt;&lt;P&gt;CLEAR : it_file, objbin, it_packing_list, i_split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_message LINES tab_lines.&lt;/P&gt;&lt;P&gt;READ TABLE it_message INDEX tab_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).&lt;/P&gt;&lt;P&gt;gd_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;gd_doc_data-obj_name = 'SENDFILE'.&lt;/P&gt;&lt;P&gt;gd_doc_data-obj_descr = v_subject.&lt;/P&gt;&lt;P&gt;gd_doc_data-sensitivty = 'O'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR it_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;it_packing_list-head_num = 0.&lt;/P&gt;&lt;P&gt;it_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;it_packing_list-doc_type = 'RAW'.&lt;/P&gt;&lt;P&gt;it_packing_list-body_num = tab_lines.&lt;/P&gt;&lt;P&gt;APPEND it_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF v_file_path IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;DATA : v_len TYPE i,&lt;/P&gt;&lt;P&gt;v_index LIKE sy-index,&lt;/P&gt;&lt;P&gt;v_doc_type TYPE so_obj_tp,&lt;/P&gt;&lt;P&gt;v_filename TYPE so_obj_des .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_len = STRLEN( v_file_path ) - 3.&lt;/P&gt;&lt;P&gt;v_doc_type = v_file_path+v_len(3) .&lt;/P&gt;&lt;P&gt;TRANSLATE v_doc_type TO UPPER CASE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT v_file_path AT '\' INTO TABLE i_split .&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE i_split LINES v_index .&lt;/P&gt;&lt;P&gt;READ TABLE i_split INDEX v_index .&lt;/P&gt;&lt;P&gt;v_filename = i_split-row .&lt;/P&gt;&lt;P&gt;v_len = STRLEN( v_filename ) - 4.&lt;/P&gt;&lt;P&gt;v_filename = v_filename(v_len) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = v_file_path&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;data_tab = it_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_file.&lt;/P&gt;&lt;P&gt;MOVE it_file-row TO objbin-line.&lt;/P&gt;&lt;P&gt;APPEND objbin.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR it_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE objbin LINES tab_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_packing_list-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt;it_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;it_packing_list-head_num = 1.&lt;/P&gt;&lt;P&gt;it_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;it_packing_list-doc_type = v_doc_type.&lt;/P&gt;&lt;P&gt;it_packing_list-body_num = tab_lines.&lt;/P&gt;&lt;P&gt;it_packing_list-doc_size = tab_lines * 255.&lt;/P&gt;&lt;P&gt;it_packing_list-obj_descr = v_filename.&lt;/P&gt;&lt;P&gt;APPEND it_packing_list.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;it_receivers-receiver = 'xyz@yahoo.com'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;it_receivers-rec_type = 'U'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;it_receivers-com_type = 'INT'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;APPEND it_receivers .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the FM to post the message to SAPMAIL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;document_data = gd_doc_data&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;commit_work = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sent_to_all = gd_sent_all&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;packing_list = it_packing_list&lt;/P&gt;&lt;P&gt;contents_txt = it_message&lt;/P&gt;&lt;P&gt;contents_bin = objbin&lt;/P&gt;&lt;P&gt;receivers = it_receivers&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;too_many_receivers = 1&lt;/P&gt;&lt;P&gt;document_not_sent = 2&lt;/P&gt;&lt;P&gt;document_type_not_exist = 3&lt;/P&gt;&lt;P&gt;operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;parameter_error = 5&lt;/P&gt;&lt;P&gt;x_error = 6&lt;/P&gt;&lt;P&gt;enqueue_error = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this FM SO_OBJECT_SEND you can send mail to outlook&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the link,how send mails ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1998533"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/articles/SAP_Mail_Understanding_SO_Object_Send.asp" target="test_blank"&gt;http://www.thespot4sap.com/articles/SAP_Mail_Understanding_SO_Object_Send.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chandra Sekhar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this thread , this is for creating mail message but can be modified to create meeting request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1381698"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 12:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189808#M759844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-13T12:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sending mails.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189809#M759845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the ICS file format instead of the VCS. &lt;/P&gt;&lt;P&gt;I haven't tested it fully yet, but it looks much more convenient + you can find a doucment on this standard (iCalendar) writen by MS &amp;amp; Lutos on the web.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enjoy.&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 10:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mails/m-p/3189809#M759845</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2007-12-19T10:45:28Z</dc:date>
    </item>
  </channel>
</rss>

