<?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: BAPIs not committing data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060726#M91828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bipin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return from the CREATEFROMDAT2 BAPI shows all successful messages. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SALES_HEADER_IN has been processed successfully&lt;/P&gt;&lt;P&gt;2. SALES_ITEM_IN has been processed successfully&lt;/P&gt;&lt;P&gt;3. Standard Order 170774 has been saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return parameter SALESDOCUMENT returns a sales document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return from COMMIT has these fields (other fields are blank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Number = 000&lt;/P&gt;&lt;P&gt;2. Log Msg No = 000000&lt;/P&gt;&lt;P&gt;3. Row = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2005 18:04:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-10T18:04:17Z</dc:date>
    <item>
      <title>BAPIs not committing data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060722#M91824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling BAPI_SALESORDER_CREATEFROMDAT2 using web services through SOAP. It returns SALESDOCUMENT number, but with VA03 transaction I can't find this sales doc. A bit of research revealed that I must do a BAPI_TRANSACTION_COMMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That doesn't work for me. I call the BAPI and then immediately issues a commit BAPI call. Both report success. But even then the sales doc isn't committed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently two SOAP calls are being treated as independent. Is there a way to define some kind of logical unit of work. Something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin_transaction&lt;/P&gt;&lt;P&gt;   BAPI1&lt;/P&gt;&lt;P&gt;   BAPI2&lt;/P&gt;&lt;P&gt;   Commit&lt;/P&gt;&lt;P&gt;End_transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know something like this can be done by creating a custom BAPI. But I want to know if that can be done using Web Services over SOAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2005 22:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060722#M91824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-09T22:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not committing data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060723#M91825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you call those two bapi's BAPI_SALESORDER_CREATEFROMDAT2, BAPI_TRANSACTION_COMMIT from the WEB. If you call like that then it will become two different LUW's. So, you need to write a RFC in the SAP and call those two bapi's in that and you need to call that RFC in the web.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2005 22:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060723#M91825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-09T22:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not committing data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060724#M91826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the return table &amp;amp; find if there is any error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2005 22:19:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060724#M91826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-09T22:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not committing data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060725#M91827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I do call them from the web and hence they are not in the same LUW. Somewhere I saw a solution that you create your own 'Z' BAPI which calls both the BAPIS. Calling that 'Z' BAPI solves the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am looking for a solution that doesn't require writing RFC or any BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I am confused what use would a BAPI be if it doesn't commit the data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 17:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060725#M91827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T17:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPIs not committing data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060726#M91828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bipin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return from the CREATEFROMDAT2 BAPI shows all successful messages. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SALES_HEADER_IN has been processed successfully&lt;/P&gt;&lt;P&gt;2. SALES_ITEM_IN has been processed successfully&lt;/P&gt;&lt;P&gt;3. Standard Order 170774 has been saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return parameter SALESDOCUMENT returns a sales document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return from COMMIT has these fields (other fields are blank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Number = 000&lt;/P&gt;&lt;P&gt;2. Log Msg No = 000000&lt;/P&gt;&lt;P&gt;3. Row = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 18:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapis-not-committing-data/m-p/1060726#M91828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T18:04:17Z</dc:date>
    </item>
  </channel>
</rss>

