<?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: SO_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172346#M997467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try to replicate the mail code in a program and write the submit code in the form that you will place in the dynamic action table this will suffice requirement &lt;/P&gt;&lt;P&gt;                     or .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use your main program ,declare a parameter under No display mode and pass this variable by submitting the program in your form that you will place in your dynamic action table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jacks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 16:32:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-14T16:32:22Z</dc:date>
    <item>
      <title>SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172342#M997463</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 use a report with a perform SEND. In this perform i use the FM SO_DOCUMENT_SEND_API1. This works, the email is send.&lt;/P&gt;&lt;P&gt;Now i want to call this perform from another Report (external perform) or rather from the HR-table t588z with Action 'F'.&lt;/P&gt;&lt;P&gt;The message 'Mail was sent occurs, but there is no item in TA SCOT and no mail is going out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experience ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172342#M997463</guid>
      <dc:creator>stefan_hntemann</dc:creator>
      <dc:date>2008-07-14T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172343#M997464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have import parameter&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
commit_work   = 'X'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the function module call?&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172343#M997464</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-14T15:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172344#M997465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi a®s,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see coding below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_data              = document_data&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;    IMPORTING&lt;/P&gt;&lt;P&gt;      sent_to_all                = sent_to_all&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      packing_list               = packing_list&lt;/P&gt;&lt;P&gt;      contents_txt               = contents_txt&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    contents_hex               = contents_hex&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      receivers                  = 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;  CASE sy-subrc.&lt;/P&gt;&lt;P&gt;    WHEN '0'.&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;      MESSAGE i000(zhr) WITH 'Mail wurde gesendet !'.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172344#M997465</guid>
      <dc:creator>stefan_hntemann</dc:creator>
      <dc:date>2008-07-14T15:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172345#M997466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I doubt SAP will not allow the commit work in the same session while triggering the dynamic actions may be we need to submit the program containing the form so that this opens a seperate session....and performs the function as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ARS Sir:&lt;/P&gt;&lt;P&gt;    please correct me if  i was wrong as i had faced this problem when&lt;/P&gt;&lt;P&gt; i used HR infotype operation which hasn't allowed me to commit or rather helped me only when i wrote a submit..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jacks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172345#M997466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T15:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172346#M997467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try to replicate the mail code in a program and write the submit code in the form that you will place in the dynamic action table this will suffice requirement &lt;/P&gt;&lt;P&gt;                     or .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use your main program ,declare a parameter under No display mode and pass this variable by submitting the program in your form that you will place in your dynamic action table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jacks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 16:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172346#M997467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T16:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172347#M997468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to change the function module call with an addition CALL FUNCTION func STARTING NEW TASK task . But i am not 100% sure about this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading this documentation about dynamic actions &lt;/P&gt;&lt;P&gt;&lt;A href="http://it.toolbox.com/wiki/index.php/Dynamic_Action" target="test_blank"&gt;http://it.toolbox.com/wiki/index.php/Dynamic_Action&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this will help you out,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 16:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172347#M997468</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-14T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172348#M997469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;it works with &lt;/P&gt;&lt;P&gt;CALL FUNCTION func STARTING NEW TASK task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 07:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-document-send-api1/m-p/4172348#M997469</guid>
      <dc:creator>stefan_hntemann</dc:creator>
      <dc:date>2008-07-15T07:34:29Z</dc:date>
    </item>
  </channel>
</rss>

