<?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 - 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-bapi-acc-document-post/m-p/611867#M25267</link>
    <description>&lt;P&gt;Hello Experts &lt;/P&gt;
  &lt;P&gt;i have one small requirement , How can i enter posting key - 21 for Debit and &lt;/P&gt;
  &lt;P&gt;posting key- 40 for credit if the gross amount ( from excel file ) is Negative .&lt;/P&gt;
  &lt;P&gt;i have to enter different posting key values is gross amount ( in file ) is positve .&lt;/P&gt;
  &lt;P&gt;i have read many posts that say i have to pass extension2 parmeters , but how can i enter 2 values that too , how will i know if it is debit or credit because there is no DEBIT / CREDIT indicator in extension2 parameter of&lt;/P&gt;
  &lt;P&gt;BAPI USED - BAPI_ACC_DOCUMENT_POST&lt;/P&gt;
  &lt;P&gt;Please give your expert views , if possible the code to refer , i will be very thankfull to you.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 15:13:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-02-09T15:13:26Z</dc:date>
    <item>
      <title>POSTING KEY IN BAPI - BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-bapi-acc-document-post/m-p/611867#M25267</link>
      <description>&lt;P&gt;Hello Experts &lt;/P&gt;
  &lt;P&gt;i have one small requirement , How can i enter posting key - 21 for Debit and &lt;/P&gt;
  &lt;P&gt;posting key- 40 for credit if the gross amount ( from excel file ) is Negative .&lt;/P&gt;
  &lt;P&gt;i have to enter different posting key values is gross amount ( in file ) is positve .&lt;/P&gt;
  &lt;P&gt;i have read many posts that say i have to pass extension2 parmeters , but how can i enter 2 values that too , how will i know if it is debit or credit because there is no DEBIT / CREDIT indicator in extension2 parameter of&lt;/P&gt;
  &lt;P&gt;BAPI USED - BAPI_ACC_DOCUMENT_POST&lt;/P&gt;
  &lt;P&gt;Please give your expert views , if possible the code to refer , i will be very thankfull to you.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 15:13:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-bapi-acc-document-post/m-p/611867#M25267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-09T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: POSTING KEY IN BAPI - BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-bapi-acc-document-post/m-p/611868#M25268</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;Did you try passing negative amount to BAPI and see how SAP standard behaves. Within include LACC9F20, SAP has predefined Posting keys based on Account being posted. I hope this suits your requirement.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2018 01:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/posting-key-in-bapi-bapi-acc-document-post/m-p/611868#M25268</guid>
      <dc:creator>former_member348872</dc:creator>
      <dc:date>2018-02-10T01:01:06Z</dc:date>
    </item>
  </channel>
</rss>

