<?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: Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835592#M1590384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For information and maybe reference, in the header data I'm leaving the following fields blank:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_TYPE&lt;/P&gt;&lt;P&gt;OBJ_KEY&lt;/P&gt;&lt;P&gt;OBJ_SYS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I fill BUS_ACT with "RFBU".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for me, might depend on specific circumstances though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 14:43:14 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2011-05-13T14:43:14Z</dc:date>
    <item>
      <title>Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835588#M1590380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody, I'm using the BAPI_ACC_DOCUMENT_POST to post a document, but I can't reverse it using the transaction FB08, I get the following message "Not possible to reverse the document in financial accounting". I found in this forum something similar: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="10165229"&gt;&lt;/A&gt; but if I leave the OBJ_TYPE blank I get the following message "Required field OBJ_TYPE was not transferred in parameter DOCUMENTHEADER".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been reading and for what I see the only way is to use the BAPI_ACC_DOCUMENT_REV_POST, but that wont work for me I need to be able to reverse the document using the FB08. Is it possible? If it's so How can I post the document using the BAPI and be able to reverse it using the FB08 transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 04:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835588#M1590380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-13T04:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835589#M1590381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're posting thousands of documents each day using this BAPI, and some get reversed by FB08 without problems (as I said in the quoted thread as well). Please post your BAPI call here and how you fill the relevant structures, especially the header data (please observe the 5000 character limit, or your post will become unreadable).&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 12:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835589#M1590381</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-05-13T12:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835590#M1590382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the long text of the error message say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 13:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835590#M1590382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-13T13:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835591#M1590383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I think the problem is with the field AWTYP. What value are you sending to the BAPI? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yo should try to send "BKPF".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Esteban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 14:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835591#M1590383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-13T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835592#M1590384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For information and maybe reference, in the header data I'm leaving the following fields blank:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_TYPE&lt;/P&gt;&lt;P&gt;OBJ_KEY&lt;/P&gt;&lt;P&gt;OBJ_SYS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I fill BUS_ACT with "RFBU".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for me, might depend on specific circumstances though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 14:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835592#M1590384</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-05-13T14:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Document after BAPI_ACC_DOCUMENT_POST using FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835593#M1590385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CONSTANTS: c_obj_type  TYPE awtyp       VALUE 'IDOC'.&lt;/P&gt;&lt;P&gt;CONSTANTS: c_obj_key   TYPE awkey       VALUE '$'.&lt;/P&gt;&lt;P&gt;CONSTANTS: c_bus_act   TYPE glvor       VALUE 'RFBU'.&lt;/P&gt;&lt;P&gt;CONSTANTS: c_doc_type  TYPE blart       VALUE 'GV'.&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 = v_obj_sys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  w_hdr-obj_type   = c_obj_type.&lt;/P&gt;&lt;P&gt;  w_hdr-obj_sys    = v_obj_sys.&lt;/P&gt;&lt;P&gt;  w_hdr-bus_act    = c_bus_act.&lt;/P&gt;&lt;P&gt;  w_hdr-username   = sy-uname.&lt;/P&gt;&lt;P&gt;  w_hdr-header_txt = w_gv-header_txt.&lt;/P&gt;&lt;P&gt;  w_hdr-comp_code  = w_gv-comp_code.&lt;/P&gt;&lt;P&gt;  w_hdr-doc_date   = sy-datum.&lt;/P&gt;&lt;P&gt;  w_hdr-pstng_date = sy-datum.&lt;/P&gt;&lt;P&gt;  w_hdr-trans_date = w_gv-pstng_date.&lt;/P&gt;&lt;P&gt;  w_hdr-fisc_year  = w_hdr-pstng_date(04).&lt;/P&gt;&lt;P&gt;  w_hdr-fis_period = w_hdr-pstng_date+04(02).&lt;/P&gt;&lt;P&gt;  w_hdr-doc_type   = c_doc_type.&lt;/P&gt;&lt;P&gt;  w_hdr-ref_doc_no = w_gv-ref_doc_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        documentheader = w_hdr&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        obj_type       = v_typ&lt;/P&gt;&lt;P&gt;        obj_key        = v_key&lt;/P&gt;&lt;P&gt;        obj_sys        = v_sys&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        accountgl      = i_agl&lt;/P&gt;&lt;P&gt;        accounttax     = i_tax&lt;/P&gt;&lt;P&gt;        currencyamount = i_cur&lt;/P&gt;&lt;P&gt;        return         = i_ret.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 16:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-document-after-bapi-acc-document-post-using-fb08/m-p/7835593#M1590385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-13T16:45:54Z</dc:date>
    </item>
  </channel>
</rss>

