<?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 ; posting key issue; Urgent !!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631465#M281804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a implemtention of BADI ACC_DOCUMENT, set the value directly in method if_ex_acc_document~change. Table T030B is not needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD if_ex_acc_document~change.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    ls_extension2  TYPE bapiparex,&lt;/P&gt;&lt;P&gt;    lv_posnr       TYPE posnr.&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS:&lt;/P&gt;&lt;P&gt;    &amp;lt;fs_accit&amp;gt;       TYPE accit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT c_extension2 INTO ls_extension2.&lt;/P&gt;&lt;P&gt;    CASE ls_extension2-STRUCTURE.&lt;/P&gt;&lt;P&gt;      WHEN 'BSCHL'. "posting key&lt;/P&gt;&lt;P&gt;        lv_posnr = ls_extension2-valuepart1+0(3).&lt;/P&gt;&lt;P&gt;        READ TABLE c_accit ASSIGNING &amp;lt;fs_accit&amp;gt; WITH KEY posnr = lv_posnr.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          &amp;lt;fs_accit&amp;gt;-bschl = ls_extension2-valuepart1+3(2).&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2007 05:31:08 GMT</pubDate>
    <dc:creator>former_member279310</dc:creator>
    <dc:date>2007-04-06T05:31:08Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631458#M281797</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 am using BAPI_ACC_DOCUMENT_POST for posting of my invoices. &lt;/P&gt;&lt;P&gt;It is posting the document but in the posting key column "PK" it is displaying number "11" instead of "01".&lt;/P&gt;&lt;P&gt;11 is used for credit memo's.&lt;/P&gt;&lt;P&gt;01 is used for Invoices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i could handle this change in my program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i saw few psoting in forum but it is not clear.&lt;/P&gt;&lt;P&gt;what should i do? Any help with really appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631458#M281797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631459#M281798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it depends on the business transaction you pass in the header. What are you passing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631459#M281798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631460#M281799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Maintain the t030b table with the required posting keys.&lt;/P&gt;&lt;P&gt;System determines the posting based on the transaction key whatever you pass it from BAPIACGL09-kTOSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI .. please Check the program LACC9F20 line 951, this is the place where it fills the posting key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631460#M281799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631461#M281800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u may not be able to make the change from your program as the BAPI implicitly call a FM to determine the posting key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some BTE/ EXIT that has to be implemented. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its urgent and all the records have the same posting then better do a BDC as i had the same problem. Cause the BAPI messes up the CREDITS AND DEBIT MEMO'S with invoices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631461#M281800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631462#M281801</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;how do i go about filling the table 't030b'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631462#M281801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631463#M281802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sudhir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is already maintained. So, there are couple of entries -&lt;/P&gt;&lt;P&gt;Transaction Debit Credit&lt;/P&gt;&lt;P&gt; AGD         01    11&lt;/P&gt;&lt;P&gt; HRD         01    11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so which one should i be using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mine should be credit entry = 01&lt;/P&gt;&lt;P&gt;               debit entry  = 40.&lt;/P&gt;&lt;P&gt;how can i reference them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Vasu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631463#M281802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631464#M281803</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;  Check the amounts that are you passing..Make sure the negative/positive sign is correct in the CURRENCYAMOUNT parameter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 18:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631464#M281803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T18:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST ; posting key issue; Urgent !!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631465#M281804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a implemtention of BADI ACC_DOCUMENT, set the value directly in method if_ex_acc_document~change. Table T030B is not needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD if_ex_acc_document~change.&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    ls_extension2  TYPE bapiparex,&lt;/P&gt;&lt;P&gt;    lv_posnr       TYPE posnr.&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS:&lt;/P&gt;&lt;P&gt;    &amp;lt;fs_accit&amp;gt;       TYPE accit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT c_extension2 INTO ls_extension2.&lt;/P&gt;&lt;P&gt;    CASE ls_extension2-STRUCTURE.&lt;/P&gt;&lt;P&gt;      WHEN 'BSCHL'. "posting key&lt;/P&gt;&lt;P&gt;        lv_posnr = ls_extension2-valuepart1+0(3).&lt;/P&gt;&lt;P&gt;        READ TABLE c_accit ASSIGNING &amp;lt;fs_accit&amp;gt; WITH KEY posnr = lv_posnr.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          &amp;lt;fs_accit&amp;gt;-bschl = ls_extension2-valuepart1+3(2).&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 05:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-posting-key-issue-urgent/m-p/1631465#M281804</guid>
      <dc:creator>former_member279310</dc:creator>
      <dc:date>2007-04-06T05:31:08Z</dc:date>
    </item>
  </channel>
</rss>

