<?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_REV_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360703#M1400359</link>
    <description>&lt;P&gt;Use Function Module CALL_FB08, it is very simple and reverse all document!!&lt;/P&gt;&lt;P&gt;This function is same the FB08 transaction. Enter SE37 and execute this function with doc.numer, year, following below:&lt;/P&gt;&lt;P&gt;I_BUKRS = company Code&lt;/P&gt;&lt;P&gt;I_BELNR = Doc. Number ( doc. to be reverse)&lt;/P&gt;&lt;P&gt;I_GJAHR = Year&lt;/P&gt;&lt;P&gt;I_BVORG = 02&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 23:42:29 GMT</pubDate>
    <dc:creator>former_member227484</dc:creator>
    <dc:date>2023-10-31T23:42:29Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_REV_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360700#M1400356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used an ABAP program to reverse the financial documents&lt;/P&gt;&lt;P&gt;Function of the program: Call BAPI: BAPI_ACC_DOCUMENT_REV_POST to reverse the FI documents.&lt;/P&gt;&lt;P&gt;the table FAGLFLEXA  must be updated by this bapi, but the table FAGLFLEXA was not updated after completed the running of the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR lv_bus_act.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      own_logical_system = it_reversal-obj_sys .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lv_bus_act = bkpf-glvor."space&lt;/P&gt;&lt;P&gt;  it_reversal-obj_type   = bkpf-awtyp."ZACC&lt;/P&gt;&lt;P&gt;  it_reversal-obj_key    = bkpf-awkey."0100000001&lt;/P&gt;&lt;P&gt;  it_reversal-obj_key_r  = bkpf-awkey."0100000001&lt;/P&gt;&lt;P&gt;  it_reversal-pstng_date = bkpf-budat."04.12.2009&lt;/P&gt;&lt;P&gt;  it_reversal-comp_code  = bkpf-bukrs."1015&lt;/P&gt;&lt;P&gt;  it_reversal-reason_rev = '01'.&lt;/P&gt;&lt;P&gt;  it_reversal-ac_doc_no  = bkpf-belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      reversal       = it_reversal&lt;/P&gt;&lt;P&gt;      bus_act        = lv_bus_act&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_TYPE       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_KEY        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_SYS        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      return         = it_return2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody who can tell me why?&lt;/P&gt;&lt;P&gt;With many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cem Gokce&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 15:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360700#M1400356</guid>
      <dc:creator>tarkan_atesoglu</dc:creator>
      <dc:date>2009-12-04T15:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_REV_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360701#M1400357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Did you try using the exteranl "COMMIT" statement after the BAPI call function?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 21:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360701#M1400357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-04T21:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_REV_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360702#M1400358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After you called the BAPI, call the following func module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT to commit the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 22:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360702#M1400358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-04T22:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_REV_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360703#M1400359</link>
      <description>&lt;P&gt;Use Function Module CALL_FB08, it is very simple and reverse all document!!&lt;/P&gt;&lt;P&gt;This function is same the FB08 transaction. Enter SE37 and execute this function with doc.numer, year, following below:&lt;/P&gt;&lt;P&gt;I_BUKRS = company Code&lt;/P&gt;&lt;P&gt;I_BELNR = Doc. Number ( doc. to be reverse)&lt;/P&gt;&lt;P&gt;I_GJAHR = Year&lt;/P&gt;&lt;P&gt;I_BVORG = 02&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 23:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-rev-post/m-p/6360703#M1400359</guid>
      <dc:creator>former_member227484</dc:creator>
      <dc:date>2023-10-31T23:42:29Z</dc:date>
    </item>
  </channel>
</rss>

