<?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 BAPI_ACC_DOCUMENT_CHECK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/10397821#M1842359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi gurus,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;There is an inbound interface where the document postings are done in two steps. where the miro posting is done in step1 and another posting is done using BAPI.&amp;nbsp; This is the function module that is used for postings IDOC_INPUT_INVOIC_MRM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In case step1 doc is not posted, then step 2 is also not posted. This is already taken care of by the code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Now the requirement is that "In case step2 is not posted, then step1 should also not be posted".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i came to know that This can be overcome by &lt;STRONG&gt;BAPI_ACC_DOCUMENT_CHECK&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;whichwill tell us beforehand if step2 doc will fail or not. In case this BAPI gives error, we will not proceed in posting MIRO(step1) and through error in IDOC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Can any one please tell me, how to use this bapi, when to use, where to use &amp;amp; which exit is going to use...&amp;nbsp; can any one please give me some overview abt this bapi.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 04:12:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-03T04:12:47Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/10397821#M1842359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi gurus,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;There is an inbound interface where the document postings are done in two steps. where the miro posting is done in step1 and another posting is done using BAPI.&amp;nbsp; This is the function module that is used for postings IDOC_INPUT_INVOIC_MRM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In case step1 doc is not posted, then step 2 is also not posted. This is already taken care of by the code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Now the requirement is that "In case step2 is not posted, then step1 should also not be posted".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;i came to know that This can be overcome by &lt;STRONG&gt;BAPI_ACC_DOCUMENT_CHECK&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;whichwill tell us beforehand if step2 doc will fail or not. In case this BAPI gives error, we will not proceed in posting MIRO(step1) and through error in IDOC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Can any one please tell me, how to use this bapi, when to use, where to use &amp;amp; which exit is going to use...&amp;nbsp; can any one please give me some overview abt this bapi.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 04:12:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/10397821#M1842359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T04:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/10397822#M1842360</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;The FM &lt;STRONG&gt;BAPI_ACC_DOCUMENT_CHECK&lt;/STRONG&gt; is used to check whether a posting to accounting is possible. After calling this function module check the table parameter '&lt;SPAN class="L0S52"&gt;RETURN' of this function module if you have any error (&lt;SPAN class="L0S52"&gt;RETURN-TYPE = 'E'). If there is no such message then the FM : &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST &lt;/STRONG&gt;can be called to post accounting document.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Check the 2nd step as mentioned by you is using the FM : &lt;STRONG&gt;BAPI_ACC_DOCUMENT_POST or not .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Also check for the documention in SE37 for the above two FM for more information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 06:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-check/m-p/10397822#M1842360</guid>
      <dc:creator>atul_mohanty</dc:creator>
      <dc:date>2014-07-03T06:25:29Z</dc:date>
    </item>
  </channel>
</rss>

