<?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: BAPI_ACC_DOCUMENT_POST  and  BAPI_TRANSACTION_ROLLBACK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351135#M1640086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Dec 2011 01:55:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-20T01:55:46Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST  and  BAPI_TRANSACTION_ROLLBACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351131#M1640082</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'm using BAPI: BAPI_ACC_DOCUMENT_POST  to post the cross company document to others system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried test the BAPI with test run mode without commit it. The BAPI able to return the document number posted  (eg:5000001). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I perform the second time test run again to this BAPI, the document no. get increased even earlier steps I did not commit it. I also have using the BAPI_Transaction_Rollback, however, the document no. still get increasing. Could anyone advise on this is there any reason the number keep increase even ? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 11:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351131#M1640082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-28T11:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST  and  BAPI_TRANSACTION_ROLLBACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351132#M1640083</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;Is this BAPI can run with test run mode? I didn't see any test run parameter.&lt;/P&gt;&lt;P&gt;I think, if you want to test run an account document posting you can use BAPI_ACC_DOCUMENT_CHECK first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;P&gt;Tiwa N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 12:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351132#M1640083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-28T12:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST  and  BAPI_TRANSACTION_ROLLBACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351133#M1640084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Blue Sky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the BAPI BAPI_ACC_DOCUMENT_POST will retrieve a number from the number range via e.g. function module RF_GET_DOCUMENT_NUMBER. In the moment you retrieve the number, the number is consumed. But you can reset the number range via FBN1. In column number level you can define the last consumed number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 12:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351133#M1640084</guid>
      <dc:creator>Jens-K</dc:creator>
      <dc:date>2011-11-28T12:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST  and  BAPI_TRANSACTION_ROLLBACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351134#M1640085</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;The account document number is got just before calling the COMMIT (I mean the abap code to get the number is not in a process working in UPDATE TASK), so if you don't call the COMMIT the result will be the document won't be created but the number will be lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get back the lost number you need to manage directly the range by setting the last number (but nobody has to post a document while you're setting the range).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you want to test you program before posting a document finally you can use BAPI_ACC_DOCUMENT_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 13:15:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351134#M1640085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-28T13:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST  and  BAPI_TRANSACTION_ROLLBACK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351135#M1640086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 01:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-and-bapi-transaction-rollback/m-p/8351135#M1640086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T01:55:46Z</dc:date>
    </item>
  </channel>
</rss>

