<?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: Getting Error while using BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-using-bapi-acc-document-post/m-p/3527315#M848564</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;It sounds like you may be trying to use an SAP transaction code 'F-02' instead of one of the valid business transaction values in the BAPI parameter DOCUMENTHEADER-BUS_ACT.  Take a look at form check_glvor in include program LACC9F10.  The error message you described is RW613, which is returned when none of the valid cases for business transaction are passed to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI function module documentation describes which business transaction values are valid for the type of posting you are attempting.  For example: RFBU for G/L postings, SD00 for billing in SD.  As stated in the BAPI documentation, "You can find further information in the SAP Library under "Financials -&amp;gt; Accounting - General (AC) -&amp;gt; Interfaces to Accounting (AC)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you mentioned 'F-02', my hunch is that you need to use 'RFBU' as the business transaction (DOCUMENTHEADER-BUS_ACT) instead of 'F-02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2008 21:25:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-17T21:25:57Z</dc:date>
    <item>
      <title>Getting Error while using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-using-bapi-acc-document-post/m-p/3527314#M848563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I am facing an error while executing the BAPI called BAPI_ACC_DOCUMENT_POST. The error says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in Document: BKPFF $&lt;/P&gt;&lt;P&gt;BAPI call with wrong business transaction F-02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         So please help me to avoid this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 10:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-using-bapi-acc-document-post/m-p/3527314#M848563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error while using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-using-bapi-acc-document-post/m-p/3527315#M848564</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;It sounds like you may be trying to use an SAP transaction code 'F-02' instead of one of the valid business transaction values in the BAPI parameter DOCUMENTHEADER-BUS_ACT.  Take a look at form check_glvor in include program LACC9F10.  The error message you described is RW613, which is returned when none of the valid cases for business transaction are passed to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI function module documentation describes which business transaction values are valid for the type of posting you are attempting.  For example: RFBU for G/L postings, SD00 for billing in SD.  As stated in the BAPI documentation, "You can find further information in the SAP Library under "Financials -&amp;gt; Accounting - General (AC) -&amp;gt; Interfaces to Accounting (AC)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you mentioned 'F-02', my hunch is that you need to use 'RFBU' as the business transaction (DOCUMENTHEADER-BUS_ACT) instead of 'F-02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 21:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-while-using-bapi-acc-document-post/m-p/3527315#M848564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T21:25:57Z</dc:date>
    </item>
  </channel>
</rss>

