<?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: BAPI_ACC_DOCUMENT_POST no posting CO (cost element) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363665#M523121</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;The G/L posting is ok, there's no CO-posting. The total number of lines to be abel to post are no problem/issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What fields are required to create te CO-posting (cost element)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 11:11:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T11:11:21Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363663#M523119</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're using BAPI BAPI_ACC_DOCUMENT_POST to post to G/L. &lt;/P&gt;&lt;P&gt;The G/L posting works fine, postings are made.&lt;/P&gt;&lt;P&gt;We're expecting a CO-posting to Cost Element too. This is not the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how we filled the BAPI structures/tables (currencyamount is also filled):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;documentheader:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUS_ACT		BKPF&lt;/P&gt;&lt;P&gt;USERNAME 	myusername&lt;/P&gt;&lt;P&gt;HEADER_TXT 	text&lt;/P&gt;&lt;P&gt;COMP_CODE 	1&lt;/P&gt;&lt;P&gt;DOC_DATE 	20070614&lt;/P&gt;&lt;P&gt;PSTNG_DATE 	20070614&lt;/P&gt;&lt;P&gt;DOC_TYPE 	AB&lt;/P&gt;&lt;P&gt;REF_DOC_NO 	123456&lt;/P&gt;&lt;P&gt;COMPO_ACC 	FI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;accountgl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITEMNO_ACC	0000000001&lt;/P&gt;&lt;P&gt;GL_ACCOUNT 	0000012345&lt;/P&gt;&lt;P&gt;ITEM_TEXT0 	itemtext&lt;/P&gt;&lt;P&gt;ALLOC_NMBR 	123456&lt;/P&gt;&lt;P&gt;COSTCENTER 	0000000999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we need to fill more fields (and which/how)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 10:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363663#M523119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T10:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363664#M523120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&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 = st_bapiache09&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;obj_key = w_awkey&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;accountgl = t_bapiacgl09 &lt;/P&gt;&lt;P&gt;accountpayable = t_accountpayable&lt;/P&gt;&lt;P&gt;accountreceivable = t_accountreceivable&lt;/P&gt;&lt;P&gt;currencyamount = t_bapiaccr09&lt;/P&gt;&lt;P&gt;extension1 = t_extension&lt;/P&gt;&lt;P&gt;return = t_bapiret2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The posting key is automatically assigned by the BAPI, u can't transfer it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can post upto 998 entries the 99th entry should be posted in G/L account as nullifying entry. This 99th entry should contain the total of all the 998 entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;include LACC9F20&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;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;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 10:58:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363664#M523120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T10:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363665#M523121</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;The G/L posting is ok, there's no CO-posting. The total number of lines to be abel to post are no problem/issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What fields are required to create te CO-posting (cost element)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363665#M523121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363666#M523122</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;You need to populate the structuure criteria &amp;amp; pass it to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RBC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363666#M523122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363667#M523123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fill this structure? &lt;/P&gt;&lt;P&gt;I thought this was only neccessary for CO-PA. We do not use CO-PA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 11:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363667#M523123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363668#M523124</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;I am sorry, you are right it should be done only for CO-PA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for misguiding you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 12:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363668#M523124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T12:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST no posting CO (cost element)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363669#M523125</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;The answer is :&lt;/P&gt;&lt;P&gt;clear field COMPO_ACC in structure documentheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 14:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-no-posting-co-cost-element/m-p/2363669#M523125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T14:39:10Z</dc:date>
    </item>
  </channel>
</rss>

