<?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 Using BAPI_INCOMINGINVOICE_CREATE for GL posting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574989#M22509</link>
    <description>&lt;P&gt;The system thinks you are doing a direct posting with your BAPI, you probably missed some references.&lt;/P&gt;
  &lt;P&gt;Explain the process and name/show all fields that have a value when you execute the BAPI&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 08:28:51 GMT</pubDate>
    <dc:creator>JL23</dc:creator>
    <dc:date>2017-09-06T08:28:51Z</dc:date>
    <item>
      <title>Getting Error Using BAPI_INCOMINGINVOICE_CREATE for GL posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574988#M22508</link>
      <description>&lt;P&gt;I am using BAPI_INCOMINGINVOICE_CREATE to post vendor GL. I am passing header data and gl account data in this Bapi. After posting I'm getting Error Message ME038 "No direct postings can be made to G/L acct. XXXXX in CoCode XXXX".&lt;/P&gt;
  &lt;P&gt;I have checked G/L acct. in fs00, the Automatic Posting box is checked.&lt;/P&gt;
  &lt;P&gt;How do I resolve this problem if the Automatic Posting box is still checked.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 08:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574988#M22508</guid>
      <dc:creator>bkgupta</dc:creator>
      <dc:date>2017-09-06T08:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Using BAPI_INCOMINGINVOICE_CREATE for GL posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574989#M22509</link>
      <description>&lt;P&gt;The system thinks you are doing a direct posting with your BAPI, you probably missed some references.&lt;/P&gt;
  &lt;P&gt;Explain the process and name/show all fields that have a value when you execute the BAPI&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 08:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574989#M22509</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2017-09-06T08:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Using BAPI_INCOMINGINVOICE_CREATE for GL posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574990#M22510</link>
      <description>&lt;P&gt;Hi Jurgen,&lt;/P&gt;
  &lt;P&gt;The GL account is blocked for direct posting and I need to post that GL through program. I am passing following field in Bapi:&lt;/P&gt;
  &lt;P&gt;ls_headerdata-doc_type = 'KR'.&lt;BR /&gt; ls_headerdata-doc_date = sy-datum.&lt;BR /&gt; ls_headerdata-pstng_date = sy-datum.&lt;BR /&gt; ls_headerdata-ref_doc_no = '3625410'.&lt;BR /&gt; ls_headerdata-comp_code = '1000'.&lt;/P&gt;
  &lt;P&gt;ls_headerdata-diff_inv = '0000700162'.&lt;/P&gt;
  &lt;P&gt;ls_headerdata-currency = 'INR'.&lt;BR /&gt; ls_headerdata-gross_amount = 128.00.&lt;BR /&gt; ls_headerdata-calc_tax_ind = 'X'.&lt;BR /&gt; ls_headerdata-bline_date = sy-datum. &lt;BR /&gt; ls_headerdata-header_txt = ''. " Document Header Text&lt;/P&gt;
  &lt;P&gt;ls_gldata-invoice_doc_item = '1'.&lt;BR /&gt; ls_gldata-gl_account = lv_glacc_park. " General Ledger Account&lt;BR /&gt; ls_gldata-item_amount = 128.00.&lt;BR /&gt; ls_gldata-db_cr_ind = 'H'. &lt;BR /&gt; ls_gldata-comp_code = '1000'.&lt;BR /&gt; ls_gldata-tax_code = '0V'. &lt;BR /&gt; ls_gldata-costcenter = '4365'.&lt;BR /&gt; ls_gldata-bus_area = '4300'.&lt;/P&gt;
  &lt;P&gt;CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'&lt;BR /&gt; EXPORTING&lt;BR /&gt; headerdata = ls_headerdata&lt;BR /&gt; IMPORTING&lt;BR /&gt; invoicedocnumber = lv_inv_num&lt;BR /&gt; fiscalyear = lv_park_gjahr "lv_fiscalyear&lt;BR /&gt; TABLES&lt;BR /&gt; itemdata = lt_item_data "lt_itemdata&lt;BR /&gt; glaccountdata = lt_gldata&lt;BR /&gt; return = lt_return.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 08:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574990#M22510</guid>
      <dc:creator>bkgupta</dc:creator>
      <dc:date>2017-09-06T08:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Using BAPI_INCOMINGINVOICE_CREATE for GL posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574991#M22511</link>
      <description>&lt;P&gt;What is the process that shall be achieved?&lt;/P&gt;
  &lt;P&gt;What is document behind this number: '3625410'&lt;/P&gt;
  &lt;P&gt;It does not look like a purchase order.&lt;/P&gt;
  &lt;P&gt;Have you tried to do this process manually with a transaction? What transaction would/did you use? Did you get the same error message?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 08:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574991#M22511</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2017-09-06T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Using BAPI_INCOMINGINVOICE_CREATE for GL posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574992#M22512</link>
      <description>&lt;P&gt;I already have some invoice number for particular vendor, when I will get excel sheet related to vendor payment, I have to match both amount for same invoice. If there is any variation I have to Post that amount in GL account. I am using FB60 for GL posting and getting same error because GL is block for direct posting. I am passing Vendor Invoice number as reference document ('3625410').&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 09:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574992#M22512</guid>
      <dc:creator>bkgupta</dc:creator>
      <dc:date>2017-09-06T09:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error Using BAPI_INCOMINGINVOICE_CREATE for GL posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574993#M22513</link>
      <description>&lt;P&gt;if you get the same error then it is certainly not a problem with the BAPI. &lt;/P&gt;
  &lt;P&gt;Better you talk with your Finance consultant.&lt;/P&gt;
  &lt;P&gt;Also some hundred discussions exists already on this error message here in the community. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 09:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-using-bapi-incominginvoice-create-for-gl-posting/m-p/574993#M22513</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2017-09-06T09:05:28Z</dc:date>
    </item>
  </channel>
</rss>

