<?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 Posting key in BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864368#M1137375</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;when i am using BAPI_ACC_DOCUMENT_POST. &lt;/P&gt;&lt;P&gt;it executes successfully but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i enter the amount with + sign it uses 01 as the posting key. &lt;/P&gt;&lt;P&gt;if i entered the amount with - sign it selects 11 as posting key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but requirement is instead of 11 I want 50 as posting key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how it determines the key? &lt;/P&gt;&lt;P&gt;and can i change the posting key? &lt;/P&gt;&lt;P&gt;How can I pass the posting key field to this BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sri Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2008 14:57:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-20T14:57:31Z</dc:date>
    <item>
      <title>Posting key in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864368#M1137375</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;when i am using BAPI_ACC_DOCUMENT_POST. &lt;/P&gt;&lt;P&gt;it executes successfully but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i enter the amount with + sign it uses 01 as the posting key. &lt;/P&gt;&lt;P&gt;if i entered the amount with - sign it selects 11 as posting key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but requirement is instead of 11 I want 50 as posting key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how it determines the key? &lt;/P&gt;&lt;P&gt;and can i change the posting key? &lt;/P&gt;&lt;P&gt;How can I pass the posting key field to this BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sri Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864368#M1137375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T14:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Posting key in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864369#M1137376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=18958560&amp;amp;messageID=6545555" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=18958560&amp;amp;messageID=6545555&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 15:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864369#M1137376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Posting key in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864370#M1137377</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 choise of posting key (by BAPI BAPI_ACC_DOCUMENT_POST) depends on the kind of item and the sign of amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A) If the item is for customer:&lt;/P&gt;&lt;P&gt;01 if amount &amp;gt; 0&lt;/P&gt;&lt;P&gt;11 if amount &amp;lt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) If the item is for vendor:&lt;/P&gt;&lt;P&gt;21 if amount &amp;gt; 0&lt;/P&gt;&lt;P&gt;31 if amount &amp;lt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C) If the item is for g/l account:&lt;/P&gt;&lt;P&gt;40 if amount &amp;gt; 0&lt;/P&gt;&lt;P&gt;50 if amount &amp;lt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you're obtaining the posting key 11 instead of 50, it means u're transfering item for customer instead of g/l account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 15:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-acc-document-post/m-p/4864370#M1137377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T15:10:34Z</dc:date>
    </item>
  </channel>
</rss>

