<?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: Extending BAPI BAPI_ACC_DOCUMENT_POST to include posting key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117894#M1510682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood that you need to extend the standard BAPI. I have also done the same thing recently. You can create a BTE to extend the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am providing the steps to create a BTE. ( one I used for my requirement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create Business Transaction Event, please follow the guideline below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1: Go to TCode "FIBF".&lt;/P&gt;&lt;P&gt;Step 2: Go to Settings -&amp;gt; Products -&amp;gt; ... of a customer&lt;/P&gt;&lt;P&gt;Step 3: Create a new entry and check the box to activate the product&lt;/P&gt;&lt;P&gt;Step 4: Create a new function module based on the sample(SAMPLE_INTERFACE_RWBAPI01) given by SAP.&lt;/P&gt;&lt;P&gt;Step 5: Go to Settings -&amp;gt; Process Modules -&amp;gt; ... of a customer&lt;/P&gt;&lt;P&gt;Step 6: Create a new entry by specifying the name of the function module name and product name created earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the Function Module (FM) is created, You will have to code inside that FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside that FM, code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT extension IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT extension.&lt;/P&gt;&lt;P&gt;READ TABLE it_accit WITH KEY posnr = extension(3).&lt;/P&gt;&lt;P&gt;IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;it_accit-bschl = extension+3(2).&lt;/P&gt;&lt;P&gt;MODIFY it_accit INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please ask if you have any questions. Hope you got some idea. Please rewards if it is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dossgs on Jun 29, 2010 12:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 10:19:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-29T10:19:57Z</dc:date>
    <item>
      <title>Extending BAPI BAPI_ACC_DOCUMENT_POST to include posting key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117893#M1510681</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 want to extend the standard BAPI to include posting key which is not available. Please help me in this. Helpful answers will be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 10:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117893#M1510681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T10:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extending BAPI BAPI_ACC_DOCUMENT_POST to include posting key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117894#M1510682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood that you need to extend the standard BAPI. I have also done the same thing recently. You can create a BTE to extend the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am providing the steps to create a BTE. ( one I used for my requirement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create Business Transaction Event, please follow the guideline below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1: Go to TCode "FIBF".&lt;/P&gt;&lt;P&gt;Step 2: Go to Settings -&amp;gt; Products -&amp;gt; ... of a customer&lt;/P&gt;&lt;P&gt;Step 3: Create a new entry and check the box to activate the product&lt;/P&gt;&lt;P&gt;Step 4: Create a new function module based on the sample(SAMPLE_INTERFACE_RWBAPI01) given by SAP.&lt;/P&gt;&lt;P&gt;Step 5: Go to Settings -&amp;gt; Process Modules -&amp;gt; ... of a customer&lt;/P&gt;&lt;P&gt;Step 6: Create a new entry by specifying the name of the function module name and product name created earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the Function Module (FM) is created, You will have to code inside that FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside that FM, code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT extension IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT extension.&lt;/P&gt;&lt;P&gt;READ TABLE it_accit WITH KEY posnr = extension(3).&lt;/P&gt;&lt;P&gt;IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;it_accit-bschl = extension+3(2).&lt;/P&gt;&lt;P&gt;MODIFY it_accit INDEX sy-tabix.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please ask if you have any questions. Hope you got some idea. Please rewards if it is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dossgs on Jun 29, 2010 12:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 10:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117894#M1510682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T10:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extending BAPI BAPI_ACC_DOCUMENT_POST to include posting key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117895#M1510683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dossgs, Thanks for your immediate reply. I will try this approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 10:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117895#M1510683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T10:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extending BAPI BAPI_ACC_DOCUMENT_POST to include posting key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117896#M1510684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar requirement to extend the standard Bapi to fill ACCIT_PA, ACCCR_PA fields (COPA characteristics and values); I have searched for a similar BTE, but didn't found.&lt;/P&gt;&lt;P&gt;Have you ever dealt with this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 13:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-bapi-bapi-acc-document-post-to-include-posting-key/m-p/7117896#M1510684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-24T13:15:50Z</dc:date>
    </item>
  </channel>
</rss>

