<?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: Using the FI document no in BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003205#M1495514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deleted ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jun 15, 2010 9:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 16:28:14 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2010-06-15T16:28:14Z</dc:date>
    <item>
      <title>Using the FI document no in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003203#M1495512</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;I am using BAPI_ACC_DOCUMENT_POST to post invoices. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have the problem, that I have to write the current FI posting number concatenated with other information into the field XBLNR (referenz posting number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is, that we are using internal number rages for FI postings. That means, when calling the Bapi BAPI_ACC_DOCUMENT_POST I do not know the next FI posting number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I can read the BKPF to find out the next FI posting number, but in case of different users which are posting invoices at the same moment, this will not work in any cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if there is a user exit, bapi or badi to modify this header field XBLNR after the FI has determined the next FI posting number? If there is a bapi to update the created FI positng I can also use this to update the FU posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 16:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003203#M1495512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using the FI document no in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003204#M1495513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sure you need a second step to do this reliably. Take the new document number you get from the first step then use e.g. FI_DOCUMENT_CHANGE to update XBLNR in a second step.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: unless there is an exit point (substitution, BTE, etc.) where the new document number is already known &lt;EM&gt;and&lt;/EM&gt; you are still allowed to change the value of XBLNR...sorry not enough time to find out, maybe you can research yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 16:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003204#M1495513</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-06-15T16:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using the FI document no in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003205#M1495514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deleted ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jun 15, 2010 9:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 16:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003205#M1495514</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-06-15T16:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using the FI document no in BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003206#M1495515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before spending a lot of time on this, you might check with your functional analyst to see if this is configurable.&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, 15 Jun 2010 17:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-fi-document-no-in-bapi-acc-document-post/m-p/7003206#M1495515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-15T17:03:40Z</dc:date>
    </item>
  </channel>
</rss>

