<?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: Intercompany posting through BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583248#M1756677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a customizable message and can be switched off with configuration tcode OBA5. Refer OSS note 1120495&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 15:40:17 GMT</pubDate>
    <dc:creator>sridhar_ramaswamy3</dc:creator>
    <dc:date>2014-07-30T15:40:17Z</dc:date>
    <item>
      <title>Intercompany posting through BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583245#M1756674</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;We have a requirement for Intercompany GL posting , we are using BAPI_ACC_DOCUMENT_POST for standard posting but looks like it does not work with intercompany posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried posting it thr bapi BAPI_ACC_DOCUMENT_POST bt it gives an error as "Minor difference * USD 30 cannot be allocated across company codes" bt the document is getting posted properly using FB01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We needed help on this if anyone may have worked on a similar requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&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;Ajay.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 09:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583245#M1756674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-31T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intercompany posting through BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583246#M1756675</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;Can you please provide the structures data which are being passed to the BAPI_ACC_DOCUMENT_POST. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 09:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583246#M1756675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-06T09:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Intercompany posting through BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583247#M1756676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mansi,&lt;/P&gt;&lt;P&gt;We have a custom program which post's the document to fb01 , we will get the data in flat file ..earlier it is working fine for all scenarious ( Even intercompany postings) earlier they have not provideed the exchange rate in file..but now they are providing the exchange rate in file ( There own exchange rate ..not as maintained in tcurr table )...so when i run the program it is giving the error &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN&gt;&amp;nbsp; Minor difference * USD 30 cannot be allocated across company codes&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN&gt;from FM &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;CALL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FUNCTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; font-size: 10pt;"&gt;'BAPI_ACC_DOCUMENT_CHECK'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;documentheader = gwa_header&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;accountgl = gt_accountgl&lt;BR /&gt;accountreceivable = gt_accountreceivable&lt;BR /&gt;accountpayable = gt_accountpayable&lt;BR /&gt;accounttax = gt_accounttax&lt;BR /&gt;currencyamount = gt_currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;criteria = gt_criteria&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;return = lt_check.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;we are populating the currency structure below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿gwa_currency-itemno_acc = gv_itemno.&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;gwa_currency-currency = gwa_prev-waers.﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; IF gwa_prev-shkzg NE gc_succ.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;﻿gwa_prev-wrbtr = gwa_prev-wrbtr * -1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;﻿&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿ gwa_currency-amt_doccur = gwa_prev-wrbtr.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿IF gwa_prev-kursf IS NOT INITIAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿gwa_currency-exch_rate = gwa_prev-kursf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿ENDIF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿APPEND gwa_currency TO gt_currency.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿CLEAR gwa_currency&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;After this we are using &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;BAPI_ACC_DOCUMENT_POST.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;We are getting error message from BAPI_ACC_DOCUMENT_CHECK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help how to avoid this error and post the document...it is working fine when we do the same using fb01 manually it is getting posted...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;Ajay.k&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 12:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583247#M1756676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-06T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Intercompany posting through BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583248#M1756677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a customizable message and can be switched off with configuration tcode OBA5. Refer OSS note 1120495&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 15:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intercompany-posting-through-bapi-acc-document-post/m-p/9583248#M1756677</guid>
      <dc:creator>sridhar_ramaswamy3</dc:creator>
      <dc:date>2014-07-30T15:40:17Z</dc:date>
    </item>
  </channel>
</rss>

