<?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: BAPI_ACC_DOCUMENT_POST - add fields from BSEC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217230#M1716952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First use one of the EXTENSION parameters and either the BAdi ACC_DOCUMENT with EXTENSION2 or the BTE RWBAPI01 with EXTENSION1. If the BAdI or BTE allows to change your required data ok, else try an EXPORT TO MEMORY and IMPORT it back in a substitution rule via exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2013 18:18:14 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2013-01-07T18:18:14Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217229#M1716951</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;I'm using BAPI_ACC_DOCUMENT_POST to post FI documents, and I need to update customer fields, like name and address, from BSEC table, that are not available in table structure ACCOUNTRECEIVABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already check BTE RWBAPI01 to do this, but it seems I can only update fields that are available in structure ACCIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sónia Gonçalves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 17:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217229#M1716951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-07T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217230#M1716952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First use one of the EXTENSION parameters and either the BAdi ACC_DOCUMENT with EXTENSION2 or the BTE RWBAPI01 with EXTENSION1. If the BAdI or BTE allows to change your required data ok, else try an EXPORT TO MEMORY and IMPORT it back in a substitution rule via exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 18:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217230#M1716952</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-01-07T18:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217231#M1716953</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 thought substitution rules won't work with BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't there any other way? Because if I do this by batch-input, these fields are editable, so I don't understand why I can't do this by BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll appreciate some help on this, because I really need to update these fields.&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sónia Gonçalves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 10:50:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217231#M1716953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-08T10:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217232#M1716954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Use the EXTENSION parameters in BAPI and there you can specify the field name&amp;nbsp; you want to update. And then Use the User-Exit &lt;STRONG&gt;ACBAPI01 &lt;/STRONG&gt;(Accounting: Customer Enhancement to BAPI Interfaces). Here you have to update/modify the Strucutre T_ACCIT with the required data which you want which the BAPI is not passing to BSEG table after the Doc is posted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to Implement the User-Exit and write you code in IF condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: In BAPI &lt;STRONG&gt;EXTENSION&lt;/STRONG&gt; param you have specified the &lt;STRONG&gt;Field1 = 'CUSTOMER' &lt;/STRONG&gt;then in the User exit you should read the &lt;STRONG&gt;EXTENSION&lt;/STRONG&gt; table with &lt;STRONG&gt;Field1 = CUSTOMER &lt;/STRONG&gt;and then put you code with IF condition or esle the BAPI - User-exit will be will be triggered for all BAPI calls for this BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Shakeel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 11:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217232#M1716954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-08T11:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217233#M1716955</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;This User-Exit is called in bapi BAPI_ACC_GL_POSTING_POST, not in BAPI_ACC_DOCUMENT_POST, so this will not solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In BAPI_ACC_DOCUMENT_POST we have import parameter CUSTOMERCPD, where I can update these fields, but it will update all customer items with this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have different customer items, how could I update each item, with different information?&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sónia Gonçalves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217233#M1716955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-08T12:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217234#M1716956</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;Try using the EXTENSION2 and implement the BADI &lt;STRONG&gt;ACC_DOCUMENT's &lt;/STRONG&gt;Method : FILL_ACCIT where you get the C_ACCIT data and you can change/modify the relavent record you want and then pass it back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reggards, Shakeel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 05:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217234#M1716956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-09T05:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST - add fields from BSEC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217235#M1716957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I thought substitution rules won't work with BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No, &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;rules&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;substitutions&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;are carried out correctly, at least &lt;/SPAN&gt;&lt;/SPAN&gt;call-up points 1 and 2 (header, items), as you can read in &lt;SPAN class="title"&gt;&lt;A href="https://service.sap.com/sap/support/notes/1797611"&gt;1797611&amp;nbsp; - Field updated in FI document with different value than submitted to BAPI&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But which fields are not available in parameter CUSTOMERCPD of the BAPI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps alt-edited"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps alt-edited"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 06:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-add-fields-from-bsec/m-p/9217235#M1716957</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-01-09T06:59:17Z</dc:date>
    </item>
  </channel>
</rss>

