<?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 save sent email in shared folder? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635130#M1282744</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've created a program that sends out an email with an attachment, using the function so_new_document_att_send_api1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this sent email should also be stored in a shared folder in the business workplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? How?&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 11:16:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-19T11:16:15Z</dc:date>
    <item>
      <title>save sent email in shared folder?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635130#M1282744</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've created a program that sends out an email with an attachment, using the function so_new_document_att_send_api1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this sent email should also be stored in a shared folder in the business workplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? How?&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635130#M1282744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: save sent email in shared folder?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635131#M1282745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , check the parameter PUT_IN_OUTBOX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this flag is activated ('X'), the newly created document is also placed in the outbox of the active user when it is sent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635131#M1282745</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-19T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: save sent email in shared folder?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635132#M1282746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is possible to send to shared folder. You have to copy the function group SOI1into customer name space(ZD_SOI1) and delete all the  functions except the functions ZD_SO_NEW_DOCUMENT_ATT_SEND_API1 (copy of SO_NEW_DOCUMENT_ATT_SEND_API1) and zd_SO_DOCUMENT_SEND_API1( copy of SO_DOCUMENT_SEND_API1 ) . &lt;/P&gt;&lt;P&gt;Add the import parameter FOLDER_ID (type SOODK) to both functions. Modifyt the source code of the function zd_SO_DOCUMENT_SEND_API1.&lt;/P&gt;&lt;P&gt;Before modification:&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          EXTERN_ADDRESS             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          FOLDER_ID                  = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After modification: &lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          EXTERN_ADDRESS             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           FOLDER_ID                  = FOLDER_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now call the function ZD_SO_NEW_DOCUMENT_ATT_SEND_API1  instead of SO_NEW_DOCUMENT_ATT_SEND_API1 with the added parameter folder_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;data folder_id like SOODK.&lt;/P&gt;&lt;P&gt;     folder_id-objtp = 'FOL'.&lt;/P&gt;&lt;P&gt;      folder_id-objyr = '34'.&lt;/P&gt;&lt;P&gt;     folder_id-objno = '000000026820'.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'ZDFI_SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;..................................................................................&lt;/P&gt;&lt;P&gt;                                     folder_id = folder_id&lt;/P&gt;&lt;P&gt;....................................................................................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 15:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-sent-email-in-shared-folder/m-p/5635132#M1282746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T15:35:53Z</dc:date>
    </item>
  </channel>
</rss>

