<?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 with reversal date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709749#M893148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same requirement. Did you get any standard solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 May 2008 11:59:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-17T11:59:48Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709741#M893140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use BAPI_ACC_DOCUMENT_POST for posting in FBS1 with reversal reason &amp;amp; reversal date? I can't find such option in the BAPI. If not, can you suggest other BAPI that I can use to perform posting with reversal reason &amp;amp; reversal date? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709741#M893140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T04:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709742#M893141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nivla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do one thing what ever the document you want to post for &lt;/P&gt;&lt;P&gt;FBS1. you try to post the same from standard process or you see the already posted document in the document list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find out the parameters what system is passing through standard process. and try the same with your code by passing those parameters in your BAPI_ACC_DOCU_POST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709742#M893141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T04:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709743#M893142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only find reversal reason in the header parameter of BAPI_ACC_DOCUMENT_POST, but not reversal date. Has anyone ever used BAPI_ACC_DOCUMENT_POST to post with reversal date? All I need to know is whether this can be done or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709743#M893142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709744#M893143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone? Do I need to use the extention structure? Is yes, how can it be done? I came across articles saying that we can add our own posting key through the use of the extention structure. Can we do that to the reversal date as well? All helps are greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 06:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709744#M893143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T06:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709745#M893144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder is has there anyone came across the same scenario as mine? Please, I need the help urgently..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 01:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709745#M893144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T01:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709746#M893145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters p_belnr like bkpf-belnr default '0100000236'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Get last SA type document posted to build document key &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'NUMBER_GET_NEXT' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;NR_RANGE_NR = '01' &lt;/P&gt;&lt;P&gt;OBJECT = 'RF_BELEG' &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;QUANTITY = '1' &lt;/P&gt;&lt;P&gt;SUBOBJECT = '4000' "company code &lt;/P&gt;&lt;P&gt;TOYEAR = '2005' &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IGNORE_BUFFER = '2005' &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;NUMBER = docnum &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;QUANTITY = &lt;/P&gt;&lt;P&gt;RETURNCODE = &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;INTERVAL_NOT_FOUND = 1 &lt;/P&gt;&lt;P&gt;NUMBER_RANGE_NOT_INTERN = 2 &lt;/P&gt;&lt;P&gt;OBJECT_NOT_FOUND = 3 &lt;/P&gt;&lt;P&gt;QUANTITY_IS_0 = 4 &lt;/P&gt;&lt;P&gt;QUANTITY_IS_NOT_1 = 5 &lt;/P&gt;&lt;P&gt;INTERVAL_OVERFLOW = 6 &lt;/P&gt;&lt;P&gt;BUFFER_OVERFLOW = 7 &lt;/P&gt;&lt;P&gt;OTHERS = 8 &lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;IF SY-SUBRC 0. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;"Begin to populate docnument header. &lt;/P&gt;&lt;P&gt;*obj_key contains new document no. &lt;/P&gt;&lt;P&gt;CONCATENATE docnum '4000' sy-datlo(4) INTO doc_header-obj_key. &lt;/P&gt;&lt;P&gt;doc_header-obj_type = 'BKPFF'. &lt;/P&gt;&lt;P&gt;*obj_key_r contains document no. needed to reverse &lt;/P&gt;&lt;P&gt;CONCATENATE p_belnr '4000' sy-datlo(4) INTO doc_header-obj_key_r. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;doc_header-obj_sys = 'A1DMD011'. &lt;/P&gt;&lt;P&gt;*doc_header-OBJ_KEY_R = 'AWREF_REV'. &lt;/P&gt;&lt;P&gt;*doc_header-AC_DOC_NO = '8'. &lt;/P&gt;&lt;P&gt;*doc_header-header_txt = 'TEST BOC BAPI POSTING'. &lt;/P&gt;&lt;P&gt;doc_header-comp_code = '4000'. &lt;/P&gt;&lt;P&gt;doc_header-REASON_REV = '02'. &lt;/P&gt;&lt;P&gt;doc_header-pstng_date = '20050517'. &lt;/P&gt;&lt;P&gt;doc_header-FIS_PERIOD = '05'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;"All tables filled - now call BAPI. &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ACC_GL_POSTING_REV_POST' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;REVERSAL = doc_header &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;OBJ_TYPE = doc_header-obj_type &lt;/P&gt;&lt;P&gt;OBJ_KEY = doc_header-obj_key &lt;/P&gt;&lt;P&gt;OBJ_SYS = doc_header-obj_sys &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;RETURN = return &lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT return WHERE type = 'E'. &lt;/P&gt;&lt;P&gt;EXIT. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0. &lt;/P&gt;&lt;P&gt;WRITE: / 'BAPI call failed - debug and fix!'. &lt;/P&gt;&lt;P&gt;LOOP AT return. &lt;/P&gt;&lt;P&gt;WRITE: / . &lt;/P&gt;&lt;P&gt;WRITE: &lt;/P&gt;&lt;P&gt;return-TYPE, &lt;/P&gt;&lt;P&gt;'|', &lt;/P&gt;&lt;P&gt;return-ID, &lt;/P&gt;&lt;P&gt;'|', &lt;/P&gt;&lt;P&gt;return-NUMBER, &lt;/P&gt;&lt;P&gt;'|', &lt;/P&gt;&lt;P&gt;return-MESSAGE. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;ELSE. &lt;/P&gt;&lt;P&gt;LOOP AT return. &lt;/P&gt;&lt;P&gt;WRITE: / . &lt;/P&gt;&lt;P&gt;WRITE: &lt;/P&gt;&lt;P&gt;return-TYPE, &lt;/P&gt;&lt;P&gt;'|', &lt;/P&gt;&lt;P&gt;return-ID, &lt;/P&gt;&lt;P&gt;'|', &lt;/P&gt;&lt;P&gt;return-NUMBER, &lt;/P&gt;&lt;P&gt;'|', &lt;/P&gt;&lt;P&gt;return-MESSAGE. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;CLEAR return. &lt;/P&gt;&lt;P&gt;REFRESH return. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;WAIT = 'X' &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;return = return. &lt;/P&gt;&lt;P&gt;WRITE: / 'BAPI call worked!!'. &lt;/P&gt;&lt;P&gt;WRITE: / doc_header-obj_key, ' posted'. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works. &lt;/P&gt;&lt;P&gt;Reward points if it helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 01:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709746#M893145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T01:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709747#M893146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this BAPI 'BAPI_ACC_GL_POSTING_REV_POST' is used to perform the reversal, am I right? What I need is to POST an accounting document (together with reversal reason &amp;amp; reversal date; like how to do it in FBS1), not reversing an accounting document. You dun do reversal in FBS1, don't you? Correct me if I'm wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 03:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709747#M893146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T03:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709748#M893147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I will ahve to assume this can't be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 09:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709748#M893147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709749#M893148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same requirement. Did you get any standard solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2008 11:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709749#M893148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-17T11:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST with reversal date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709750#M893149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very old threat but I dont like when there is no solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's possible using the extension2 parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you can pass your date for reversal (stodt) and reason (stgrd).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As documented you have then to implement the BADI &lt;STRONG&gt;&lt;A href="https://community.sap.com/"&gt;ACC_DOCUMENT&lt;/A&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will look like something like this.&lt;/P&gt;&lt;P&gt;Bapi Call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lt_extension2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;OF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;bapiparex&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_extension2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;bapiparex&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;structure&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ACCIT'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart1 &lt;SPAN class="L0S55"&gt;= YOUR DATE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_extension2&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2 &lt;SPAN class="L0S55"&gt;= YOUR REASON&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;ls_extension2 &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;lt_extension2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;then you bapi call passing the lt_extension2 as parameter&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Badi:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;if_ex_acc_document&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;change&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;* Feldsymbole&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&amp;lt;ls_accit&amp;gt; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;accit&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;* Arbeitsbereiche&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ls_extension&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;bapiparex&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &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;ASSIGNING &lt;/SPAN&gt;&amp;lt;ls_accit&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;ls_extension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;structure &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ACCIT'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ls_accit&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;stodt &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_extension&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ls_accit&amp;gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;stgrd &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ls_extension&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valuepart2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Hope this will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Yannick&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 11:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-with-reversal-date/m-p/3709750#M893149</guid>
      <dc:creator>former_member260398</dc:creator>
      <dc:date>2016-07-22T11:57:32Z</dc:date>
    </item>
  </channel>
</rss>

