<?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: Adding extra fields for the Bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338387#M1539124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Posting keys are populated by the EXTENSION1 structure - see OSS note 487722 or the documentation for BTE RWBAPI01.  There should be examples on this forum as well...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Nov 2010 19:05:18 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2010-11-10T19:05:18Z</dc:date>
    <item>
      <title>Adding extra fields for the Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338386#M1539123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;                   My Requirement is to upload data using transaction F-02 (Enter GL Account posting) with DA document type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, the suitable BAPI I have found is BAPI_ACC_DOCUMENT_POST.  But for DA document posting we need to maintain the posting keys 40 and 14. But the bapi BAPI_ACC_DOCUMENT_POST does not have posting key field.&lt;/P&gt;&lt;P&gt;I need to add the posting key field to this bapi by copying standard bapi to customer namespace.  Please give me some ideas of how to proceed in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, I tried with BDC, but in the FBL5n transaction, it is not going to make correct entry. Then I concluded that BAPI is the correct solution.&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;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 17:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338386#M1539123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-10T17:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra fields for the Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338387#M1539124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Posting keys are populated by the EXTENSION1 structure - see OSS note 487722 or the documentation for BTE RWBAPI01.  There should be examples on this forum as well...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 19:05:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338387#M1539124</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-11-10T19:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding extra fields for the Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338388#M1539125</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 accounting BAPI, so BAPI_ACC_DOCUMENT_POST too, set the posting key automatically: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor: 21/31&lt;/P&gt;&lt;P&gt;Customer: 01/11&lt;/P&gt;&lt;P&gt;G/L: 40/50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The posting key depends on the sign of the amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now If it needs another key it should set the table T030B for a particular operation key (KTOSL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I've never tried that solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That BAPI calls 2 exit: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BTE RWBAPI01&lt;/P&gt;&lt;P&gt;The BADI ACC_DOCUMENT (method CHANGE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to use one of them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 19:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-extra-fields-for-the-bapi/m-p/7338388#M1539125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-10T19:16:31Z</dc:date>
    </item>
  </channel>
</rss>

