<?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 Inconsistent FI/CO document header data for updating error in bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inconsistent-fi-co-document-header-data-for-updating-error-in-bapi/m-p/7128382#M1512095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;E RW                   609&lt;/P&gt;&lt;P&gt;Error in document: BKPFF $ BRD302&lt;/P&gt;&lt;P&gt;E RW                   015&lt;/P&gt;&lt;P&gt;FI/CO interface: Inconsistent FI/CO document header data for updating&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF it_jvpost-a01 IS NOT INITIAL.
      IF it_jvpost-a01 LT 0.

        lv_itemno = lv_itemno + 1.


        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '6402100'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
*      wa_currencyamount-curr_type = .  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.

        lv_itemno = lv_itemno + 1.

        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '2014060'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
        wa_currencyamount-curr_type = '00'.  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01 * -1. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.
      ELSE.
        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '2014060'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
        wa_currencyamount-curr_type = '00'.  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.

        lv_itemno = lv_itemno + 1.

        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '6402100'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
        wa_currencyamount-curr_type = '00'.  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01 * -1. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.
      ENDIF.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm passing all the required data in the header but still i'm getting the error.&lt;/P&gt;&lt;P&gt;Am i missing anything else? i have even searched forum for this but didn't get any answer.&lt;/P&gt;&lt;P&gt;pls help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jul 2010 11:32:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-30T11:32:53Z</dc:date>
    <item>
      <title>Inconsistent FI/CO document header data for updating error in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inconsistent-fi-co-document-header-data-for-updating-error-in-bapi/m-p/7128382#M1512095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;E RW                   609&lt;/P&gt;&lt;P&gt;Error in document: BKPFF $ BRD302&lt;/P&gt;&lt;P&gt;E RW                   015&lt;/P&gt;&lt;P&gt;FI/CO interface: Inconsistent FI/CO document header data for updating&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF it_jvpost-a01 IS NOT INITIAL.
      IF it_jvpost-a01 LT 0.

        lv_itemno = lv_itemno + 1.


        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '6402100'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
*      wa_currencyamount-curr_type = .  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.

        lv_itemno = lv_itemno + 1.

        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '2014060'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
        wa_currencyamount-curr_type = '00'.  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01 * -1. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.
      ELSE.
        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '2014060'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
        wa_currencyamount-curr_type = '00'.  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.

        lv_itemno = lv_itemno + 1.

        wa_accountgl-itemno_acc = lv_itemno.  "Line Item No"
        wa_accountgl-gl_account = '6402100'.  "G/L Account"
        wa_accountgl-item_text = lv_ref.   "Item Text"
        wa_accountgl-comp_code = it_jvpost-rbukrs.   "Company Code"
        wa_accountgl-profit_ctr = it_jvpost-prctr.  "Profit Center"
        APPEND wa_accountgl TO it_accountgl.
        CLEAR : wa_accountgl.


        wa_currencyamount-itemno_acc = lv_itemno.  "Line Item No"
        wa_currencyamount-curr_type = '00'.  "Currency Type"
        wa_currencyamount-currency = 'EUR'.   "Currency"
        wa_currencyamount-amt_doccur = it_jvpost-a01 * -1. "Amount"
        APPEND wa_currencyamount TO it_currencyamount.
        CLEAR : wa_currencyamount.
      ENDIF.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm passing all the required data in the header but still i'm getting the error.&lt;/P&gt;&lt;P&gt;Am i missing anything else? i have even searched forum for this but didn't get any answer.&lt;/P&gt;&lt;P&gt;pls help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 11:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inconsistent-fi-co-document-header-data-for-updating-error-in-bapi/m-p/7128382#M1512095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T11:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent FI/CO document header data for updating error in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inconsistent-fi-co-document-header-data-for-updating-error-in-bapi/m-p/7128383#M1512096</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;Check this SDN Wiki : [Accounting Document Interface |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=195726664]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 11:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inconsistent-fi-co-document-header-data-for-updating-error-in-bapi/m-p/7128383#M1512096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T11:37:16Z</dc:date>
    </item>
  </channel>
</rss>

