<?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: Problem with postingkeys in using BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992993#M1342947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes we know that EXTENSION1 is used for updating the  ehnacement fields in the data base table esure that your are possing properly into the fields. and use the belwo link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7587414"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2009 05:44:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-07T05:44:50Z</dc:date>
    <item>
      <title>Problem with postingkeys in using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992992#M1342946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm passing the postingkey, WBS element, Sales tax code into the EXTENSION1 variable of BAPI_ACC_DOCUMENT_POST. But it is populating the postingkeys with other values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose, i'm passing the posting keys with values 02, 12 but when i check the posted document number in FB03 it is showing the posting keys as 01 &amp;amp; 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 05:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992992#M1342946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-07T05:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with postingkeys in using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992993#M1342947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes we know that EXTENSION1 is used for updating the  ehnacement fields in the data base table esure that your are possing properly into the fields. and use the belwo link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7587414"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 05:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992993#M1342947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-07T05:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with postingkeys in using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992994#M1342948</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 just checked the coding of this BAPI and saw that Extension1 is used in a user exit as below, which calls a Business transaction events. So I guess you will have to implement the BTE by creating your own function module to change the posting key according to your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the function module OPEN_FI_PERFORM_RWBAPI01_P. This is called from the subroutine below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    PERFORM call_customer_function
            TABLES extension1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further details, check the function module's (BAPI_ACC_DOCUMENT_POST) documentation and click on extension1 -- further click on BTE link provided there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also achieve this using the BADI ACC_DOCUMENT, here you would have to pass your data to extension2 isntead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Advait Gode on Aug 7, 2009 8:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 06:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-postingkeys-in-using-bapi-acc-document-post/m-p/5992994#M1342948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-07T06:24:38Z</dc:date>
    </item>
  </channel>
</rss>

