<?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 'SO_NEW_DOCUMENT_ATT_SEND_API1' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322294#M509988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this FM to send the PDF file attached as an email. The issue is the mail is stopped in SAP Outbox and it is not reaching the recipient. Do I need to take care anything else. Also How can I populate group of users to this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&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              = wa_doc_chng&lt;/P&gt;&lt;P&gt;        put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        packing_list               = gt_objpack&lt;/P&gt;&lt;P&gt;        object_header              = wa_objhead&lt;/P&gt;&lt;P&gt;        contents_bin               = gt_objbin&lt;/P&gt;&lt;P&gt;        contents_txt               = gt_objtxt&lt;/P&gt;&lt;P&gt;        receivers                  = gt_reclist&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2007 11:37:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-12T11:37:47Z</dc:date>
    <item>
      <title>'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322294#M509988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this FM to send the PDF file attached as an email. The issue is the mail is stopped in SAP Outbox and it is not reaching the recipient. Do I need to take care anything else. Also How can I populate group of users to this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&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              = wa_doc_chng&lt;/P&gt;&lt;P&gt;        put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        packing_list               = gt_objpack&lt;/P&gt;&lt;P&gt;        object_header              = wa_objhead&lt;/P&gt;&lt;P&gt;        contents_bin               = gt_objbin&lt;/P&gt;&lt;P&gt;        contents_txt               = gt_objtxt&lt;/P&gt;&lt;P&gt;        receivers                  = gt_reclist&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322294#M509988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322295#M509989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shankar,&lt;/P&gt;&lt;P&gt; &lt;/P&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 = wa_doc_chng&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;here please remove this 'X' in ur program.&lt;/P&gt;&lt;P&gt;This will help u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sree.&lt;/P&gt;&lt;P&gt;PS: Reward points if Useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322295#M509989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322296#M509990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreekanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I tried with it but it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322296#M509990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322297#M509991</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;u have to configure SCOT(tcode)---&amp;gt;SMTP address node , here u have to give mail ID (e.g outlook ) server address. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have this setting done then you can send mail properly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also generally group of intended receipients are set in "Select Options" or "ranges"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tushar Mundlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322297#M509991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322298#M509992</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;Convert the data to PDF using 'SX_OBJECT_CONVERT_OTF_PDF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use&lt;/P&gt;&lt;P&gt;&lt;/P&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                    = doc_chng&lt;/P&gt;&lt;P&gt;          put_in_outbox                    = 'X'&lt;/P&gt;&lt;P&gt;          commit_work                      = 'X'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          packing_list                     = packing_list&lt;/P&gt;&lt;P&gt;          object_header                    = objhead&lt;/P&gt;&lt;P&gt;          contents_txt                     = objcont&lt;/P&gt;&lt;P&gt;          contents_hex                     = t_content_hex&lt;/P&gt;&lt;P&gt;          receivers                        = t_reclist&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Savitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322298#M509992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322299#M509993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I have checked the SCOT settings &amp;amp; It is assigned with the Outlook address. I dont see any issue there. Please let me know If I am wrong anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 11:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322299#M509993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T11:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322300#M509994</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;&amp;lt;b&amp;gt;Check these link for sample coding.&amp;lt;/b&amp;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="422456"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu016.htm" target="test_blank"&gt;http://www.sap-img.com/fu016.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="416163"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 12:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322300#M509994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T12:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322301#M509995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 12:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322301#M509995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322302#M509996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know how u solved it. I think I'm facing the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 15:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322302#M509996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: 'SO_NEW_DOCUMENT_ATT_SEND_API1'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322303#M509997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the FM below which solves.&lt;/P&gt;&lt;P&gt;&lt;/P&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              = wa_doc_chng&lt;/P&gt;&lt;P&gt;             commit_work                = 'X'&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            packing_list               = gt_objpack&lt;/P&gt;&lt;P&gt;            object_header              = wa_objhead&lt;/P&gt;&lt;P&gt;            contents_bin               = gt_objbin&lt;/P&gt;&lt;P&gt;            contents_txt               = gt_objtxt&lt;/P&gt;&lt;P&gt;            receivers                  = gt_reclist[]&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;      ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 16:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1/m-p/2322303#M509997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T16:05:10Z</dc:date>
    </item>
  </channel>
</rss>

