<?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 enhancement ACBAPI01 not working properly in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992559#M706756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;Thank you for the reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1328/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code should be written in PBO and PAI, only if I need to make the changes for standard transactions/programs rite?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pass the data to field &lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;XREF1_HD thru BAPI - &lt;SPAN class="L0S33"&gt;'BAPI_ACC_DOCUMENT_POST'&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;by using a Z* program.&lt;/P&gt;&lt;P&gt;{Documents are getting posted to SAP using this Z* program, and an additional data need to be pass to field XREF1_HD}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make it work by following the steps mentioned by Laxman in this post. &lt;/P&gt;&lt;P&gt;What is the value that I should pass to BAPIPAREX-STRUCTURE field &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;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2015 07:11:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-09-02T07:11:03Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992552#M706749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We work with SAP Realise ECC 6.0&lt;/P&gt;&lt;P&gt;We use functions BAPI_ACC_DOCUMENT_CHECK and&lt;/P&gt;&lt;P&gt;                             BAPI_ACC_DOCUMENT_POST   to post FI document automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we need to fill FI document HEADER field BKPF-XREF1_HD.&lt;/P&gt;&lt;P&gt;In BAPIs I don&amp;#146;t see field XREF1_HD  in structure DOCUMENTHEADER.&lt;/P&gt;&lt;P&gt;I read note 487722 and created project with enhancement ACBAPI01 as a component. &lt;/P&gt;&lt;P&gt;At implementation (include ZXACCU15) we have code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_header TYPE acchd.&lt;/P&gt;&lt;P&gt;DATA: wa_extension TYPE bapiextc.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fld&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;LOOP AT extension INTO wa_extension WHERE field1 = 'HEADER'.&lt;/P&gt;&lt;P&gt;ASSIGN COMPONENT wa_extension-field2 OF STRUCTURE t_acchd TO &amp;lt;fld&amp;gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;lt;fld&amp;gt; = wa_extension-field3.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I activated project.&lt;/P&gt;&lt;P&gt;Before calling BAPI we have code:&lt;/P&gt;&lt;P&gt;CLEAR wa_extension1.&lt;/P&gt;&lt;P&gt;wa_extension1-FIELD1 = 'HEADER'.&lt;/P&gt;&lt;P&gt;wa_extension1-FIELD2 = 'XREF1_HD'.&lt;/P&gt;&lt;P&gt;IF u_wa_pdata_temp-prime_id IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;wa_extension1-FIELD3 = 'TS korekcija'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;wa_extension1-FIELD3 = 'TS normalus'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;APPEND wa_extension1 TO it_extension1.&lt;/P&gt;&lt;P&gt;I have a break-point in my exit (include ZXACCU15), but it seems that the exit is not even being performed.&lt;/P&gt;&lt;P&gt;Also I tried to use implement BTE event RWBAPI01.&lt;/P&gt;&lt;P&gt;Buti n SAMPLE_INTERFACE_RWBAPI01 in DOCUMENT_HEADER structure I dont find XREF1_HD field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fill header field XREF1_HD using BAPIs BAPI_ACC_DOCUMENT_CHECK and&lt;/P&gt;&lt;P&gt;                                                                                BAPI_ACC_DOCUMENT_POST   ????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 10:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992552#M706749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T10:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992553#M706750</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;I have the same problem: Can anyone solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raffaele.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 08:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992553#M706750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992554#M706751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, use SAMPLE_INTERFACE_RWBAPI01. and append structure ACCHD , but you must use the same fieldname of BKPF, such as NUMPG,XREF1_HD.&lt;/P&gt;&lt;P&gt;then you can code the processing of subititution in the BTE function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 02:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992554#M706751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T02:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992555#M706752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked BADI &lt;STRONG&gt;ACC_DOCUMENT&lt;/STRONG&gt;. This BADI will get triggered with &lt;STRONG&gt;BAPI_ACC_DOCUMENT_CHECK&lt;/STRONG&gt; and &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST&lt;/STRONG&gt;, I have used this BADI to change the posting keys. Just check once whether you can get your requirement solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Faheem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 05:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992555#M706752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T05:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992556#M706753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I too had the same problem and found a solution. Hope it will be useful to someone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;1. Pass field names 'XREF1_HD' &amp;amp; 'XREF2_HD' in valuepart1 of structure 'EXTENSION2' and their corresponding values in valuepart2.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;2. Create an implementation for BADI 'ACC_DOCUMENT'.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;3. The extension values will be available in 'C_EXTENSION2' parameter of Method 'Change'.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;4. The fields XREF1_HD &amp;amp; XREF2_HD are available in ACCIT but not in ACCHD. Modify these fields in ACCIT.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;5. Once doc is posted, you should be able to see values in the header.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Laxman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 06:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992556#M706753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-01T06:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992557#M706754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laxman,&lt;/P&gt;&lt;P&gt;Thanks for sharing the solution. I am new to BADI and would like to seek you help to understand the solution better. How should we pass the values to fields &lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;XREF1_HD &amp;amp; XREF2_HD?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;Do you mind providing a sample code of the implementation you created for the BADI or screen shot where I could refer to?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;P&gt;&amp;lt;email address removed by moderator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992557#M706754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-01T11:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992558#M706755</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 CHANGE method in bapi. We have sample code there. You need to write code for pbo and pai for this custom fields in screen. Just go through &lt;STRONG style="font-size: 12px; color: #333333; background: #ffffff;"&gt;FI_Header_Sub_1300 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 12:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992558#M706755</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2015-09-01T12:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992559#M706756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;Thank you for the reply. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1328/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code should be written in PBO and PAI, only if I need to make the changes for standard transactions/programs rite?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pass the data to field &lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;XREF1_HD thru BAPI - &lt;SPAN class="L0S33"&gt;'BAPI_ACC_DOCUMENT_POST'&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;by using a Z* program.&lt;/P&gt;&lt;P&gt;{Documents are getting posted to SAP using this Z* program, and an additional data need to be pass to field XREF1_HD}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make it work by following the steps mentioned by Laxman in this post. &lt;/P&gt;&lt;P&gt;What is the value that I should pass to BAPIPAREX-STRUCTURE field &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;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992559#M706756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-02T07:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992560#M706757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add the below code in your Z* program before calling the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gw_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'XREF1_HD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; gw_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2 &lt;SPAN class="L0S55"&gt;= &amp;lt;insert value here&amp;gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt; APPEND &lt;/SPAN&gt;gw_extension2 &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;gt_extension2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt; CLEAR &lt;/SPAN&gt;gw_extension2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gw_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'XREF2_HD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; gw_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2 &lt;SPAN class="L0S55"&gt;= &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;lt;insert value here&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt; APPEND &lt;/SPAN&gt;gw_extension2 &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;gt_extension2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;gw_extension2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Add the below code in 'CHANGE' method of your custom implementation &lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;for BADI 'ACC_DOCUMENT'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;c_extension2 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;lw_extension2 &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;valuepart1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'XREF1_HD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lv_xref1_hd &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lw_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;c_extension2 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;lw_extension2 &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;valuepart2 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'XREF2_HD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; lv_xref2_hd &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lw_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;c_accit &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;lw_accit&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_accit&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;xref1_hd&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_xref1_hd&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_accit&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;xref2_hd &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_xref2_hd&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY &lt;/SPAN&gt;c_accit &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;lw_accit &lt;SPAN class="L0S52"&gt;INDEX &lt;/SPAN&gt;sy-tabix &lt;SPAN class="L0S52"&gt;TRANSPORTING &lt;/SPAN&gt;xref1_hd xref2_hd.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;I don't know if updating only the first line item will always suffice, so I am modifying all the line items with those values. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;Hope it is helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;Cheers,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;Laxman.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992560#M706757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-04T13:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992561#M706758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi laxman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i know how to get values into the table &lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;c_extension2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can get default structre in after implementing Badi ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 11:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992561#M706758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-28T11:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992562#M706759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are still looking for an answer, passing the required values in gt_extension2 ( Step 1 ) will get you the values in c_extension2 of the BADI Implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 05:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992562#M706759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST enhancement ACBAPI01 not working properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992563#M706760</link>
      <description>&lt;P&gt;You may find something useful at the link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://belajarabap.wordpress.com/2017/02/16/implement-badi_acc_document-for-extention2-in-bapi_acc_document_post/"&gt;Implement BADI_ACC_DOCUMENT for Enabling Parameter Extension2 in BAPI_ACC_DOCUMENT_POST | SAP ABAP (wordpress.com)&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 02:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-enhancement-acbapi01-not-working-properly/m-p/2992563#M706760</guid>
      <dc:creator>former_member778680</dc:creator>
      <dc:date>2022-04-25T02:56:42Z</dc:date>
    </item>
  </channel>
</rss>

