<?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: Call Transaction / Bapi plus Commit work in a Update task? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317176#M794603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would try calling out to a new program using SUBMIT Z_YOUR_NEW_PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And have the new Z program create the SO as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 14:13:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T14:13:27Z</dc:date>
    <item>
      <title>Call Transaction / Bapi plus Commit work in a Update task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317174#M794601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to use Call Transaction / Bapi plus Commit work in a Update task.&lt;/P&gt;&lt;P&gt;We have configured a output type for Purchase order, so when ever a PO is created via Me21N a sales order needs to be created. I tried using Bapi BAPI_SALESORDER_CREATEFROMDAT1 in the routine but &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT is not working as this is all happening in Update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a SO in the above case? &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 16:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317174#M794601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction / Bapi plus Commit work in a Update task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317175#M794602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that your requirement is to create a sales order on creation of purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you can do the same in the BADI ME_PURCHDOC_POSTED. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try implementing the same. This BADI will be triggered whenever the purchase document is posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go ahead and implement your sales order logic in this BADI and let me know if this solution works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hariharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 14:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317175#M794602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction / Bapi plus Commit work in a Update task?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317176#M794603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would try calling out to a new program using SUBMIT Z_YOUR_NEW_PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And have the new Z program create the SO as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 14:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-bapi-plus-commit-work-in-a-update-task/m-p/3317176#M794603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T14:13:27Z</dc:date>
    </item>
  </channel>
</rss>

