<?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 criteria valuefield in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375528#M526720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know it has been a few years but how did you solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2009 09:21:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-11T09:21:52Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375523#M526715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently, i may need to enter a line item with Debit G/L, and with its CO-PA (Profitibility Segment) details as per follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Material/Product (MATNR)&lt;/P&gt;&lt;P&gt;2) Sales Org (VKORG)&lt;/P&gt;&lt;P&gt;3) Distribution Channel (VTWEG)&lt;/P&gt;&lt;P&gt;4) Division (SPART)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that BAPI_ACC_DOCUMENT_POST has a CO-PA area parameters, which are CRITERIA and VALUEFIELD. I am wondering how can I input the above fields to my line item. Has anyone have the experience on handling the above before? I would appreciate if you can share some light (sample code) if you have any. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any helpful answer will be rewarded &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 13:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375523#M526715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T13:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375524#M526716</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;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;Yo 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;include LACC9F20&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;Functionality&lt;/P&gt;&lt;P&gt;Using this method you can create a posing in accounting for certain business transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible ( Business Transactions):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Postings that generally only affect the general ledger. (RFBU)&lt;/P&gt;&lt;P&gt;Billing: For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00) Billing Document&lt;/P&gt;&lt;P&gt;Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)&lt;/P&gt;&lt;P&gt;Goods Movement are triggered by transactions in Sales and Distribution or by inventory postings. Within logistics, they lead to a change in the warehouse stocks of &amp;lt;DS:GLOS.Inventory Management&amp;gt;Inventory Management. This results in a posting in accounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Billing document:&lt;/P&gt;&lt;P&gt;By selling goods in accordance with targets, revenue is generated. The revenue is posted in billing and forwarded to accounting.&lt;/P&gt;&lt;P&gt;Invoice receipt:&lt;/P&gt;&lt;P&gt;Raw materials are purchased in accordance with targets. The invoice receipt is posted in a logistics system. The data from the raw materials is forwarded to accounting.&lt;/P&gt;&lt;P&gt;Goods Movment:&lt;/P&gt;&lt;P&gt;The use of raw materials leads to a change in stock in inventory managment. The posting of raw material consumption is forwarded to accounting.&lt;/P&gt;&lt;P&gt;G/L Account Posting:&lt;/P&gt;&lt;P&gt;Provision posting for an expected warranty service. This can refer to acquisitions or retirements belonging to stocks that are not in subledger accounting relevant to inventory management. This is particularly the case if such materials are not displayed as vendor/customer, materials, loans etc. or cannot be displayed in this way. This can also refer to write-ups or depreciation that contain higher aggregations of values than are maintained in a corresponding subledger that is relevant to inventory management.&lt;/P&gt;&lt;P&gt;The conversion of foreign currencies for receivables/payables due to large exchange rate changes that should not lead to an update of the accounts payable or accounts receivable accounting. A similar transaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggreagated level.&lt;/P&gt;&lt;P&gt;Reclassification of inventory of P&amp;amp;L statement accounts that are only used for reconcilliation purposes in the general ledger (this rearranges values for balance sheet items).&lt;/P&gt;&lt;P&gt;Balance reclassifications of stocks to receivables with different return times.&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.&lt;/P&gt;&lt;P&gt;Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even &amp;lt;b&amp;gt;BAPI_ACC_GL_POSTING_POST&amp;lt;/b&amp;gt; is also used in this work&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;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 13:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375524#M526716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T13:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375525#M526717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi skk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any sample code reflect to my question on CO-PA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate if you can lead me the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 13:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375525#M526717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375526#M526718</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 have solved my puzzle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 16:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375526#M526718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T16:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375527#M526719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 16:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375527#M526719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T16:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375528#M526720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know it has been a few years but how did you solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 09:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375528#M526720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-11T09:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST criteria valuefield</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375529#M526721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got same issue like you got earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could&amp;nbsp; u please explain how to pass &lt;SPAN style="color: #333333; font-size: 12px;"&gt;CO-PA (Profitibility Segment)&amp;nbsp; to FM(BAPI_ACC_DOCUMENT_POST) details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narasaiah T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 18:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-criteria-valuefield/m-p/2375529#M526721</guid>
      <dc:creator>former_member197830</dc:creator>
      <dc:date>2015-12-07T18:50:46Z</dc:date>
    </item>
  </channel>
</rss>

