<?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 function nothing posts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-function-nothing-posts/m-p/782201#M39344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In most BAPIs you have to implicitly trigger the Commit Work by calling BAPI_TRANSACTION_COMMIT. The following is from the online help for this function:&lt;/P&gt;&lt;P&gt;FU BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;Execute external Commit when using BAPIs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This method executes a COMMIT WORK command. It is required for transactions developed externally to the R/3 System that change data in the R/3 System via BAPI calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call BAPIs in your program that change data in the R/3 System, afterwards you must call this method to write the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Messages are returned in the parameter 'return'. This parameter documentation contains the return codes and their descriptions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;Use the method BapiService.TransactionRollback to prevent changes to the database being committed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Mar 2004 18:23:54 GMT</pubDate>
    <dc:creator>thomas_jung</dc:creator>
    <dc:date>2004-03-03T18:23:54Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST function nothing posts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-function-nothing-posts/m-p/782200#M39343</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;I am trying to post a document of type DR (simulating transaction FB70) using BAPI_ACC_DOCUMENT_POST function.&lt;/P&gt;&lt;P&gt;The function returns success code (605) and the message that document was successfully posted but indeed it is not in the database. I have tried to call this BAPI from ABAP program and from non-SAP system using RFC enabled wrapper function that calls this BAPI. I need this wrapper function in order to perform some checking routines before calling BAPI. The result was the same. I have tried to debug the code. There are a lot of calls to functions in update mode in BAPI_ACC_DOCUMENT_POST function logic but I was unable to find the commit work statement. It seems, that changes were not committed to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be very appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gediminas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2004 17:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-function-nothing-posts/m-p/782200#M39343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-03T17:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST function nothing posts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-function-nothing-posts/m-p/782201#M39344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In most BAPIs you have to implicitly trigger the Commit Work by calling BAPI_TRANSACTION_COMMIT. The following is from the online help for this function:&lt;/P&gt;&lt;P&gt;FU BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;Execute external Commit when using BAPIs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This method executes a COMMIT WORK command. It is required for transactions developed externally to the R/3 System that change data in the R/3 System via BAPI calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call BAPIs in your program that change data in the R/3 System, afterwards you must call this method to write the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;Messages are returned in the parameter 'return'. This parameter documentation contains the return codes and their descriptions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;Use the method BapiService.TransactionRollback to prevent changes to the database being committed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2004 18:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-function-nothing-posts/m-p/782201#M39344</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2004-03-03T18:23:54Z</dc:date>
    </item>
  </channel>
</rss>

