<?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: Problem with clearing FM - POSTING_INTERFACE_CLEARING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676940#M1290597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Neil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, we are using FM POSTING_INTERFACE_START, then POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have successfully tested this FMs for clearing documents over 50000 at a time, without splitting into sets of 999. Its only for this particular case that it is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 1 payment document and rest others (over 200000) open items. So my question is - if we have to split for every 999 items, do we need to call the POSTING_INTERFACE_START, then call the FM POSTING_INTERFACE_CLEARING in a loop and at the end call POSTING_INTERFACE_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this post a single clearing document or a separate payment document for every set of 999 items ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2009 13:47:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-09T13:47:19Z</dc:date>
    <item>
      <title>Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676937#M1290594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the above FM for clearing customer open items against the incoming payments. &lt;/P&gt;&lt;P&gt;This is working fine for some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However for large volume ransactions, this does not work - When executed in background the program gives error "BDC_OPEN_GROUP, group .. is invalid". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we are tyring to clear around 220000 open items against 1 payment document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module works fine for all scenarios, however does not work only for for large volume transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP does not provide any assistance for this issue as the function module is 'not released'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given below is the code that we are using to call the function module:&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'POSTING_INTERFACE_START'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_function         = 'C'&lt;/P&gt;&lt;P&gt;      i_group            = l_group&lt;/P&gt;&lt;P&gt;      i_mode             = 'N'&lt;/P&gt;&lt;P&gt;      i_update           = 'S'&lt;/P&gt;&lt;P&gt;      i_user             = sy-uname&lt;/P&gt;&lt;P&gt;      i_xbdcc            = 'X'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      client_incorrect   = 1&lt;/P&gt;&lt;P&gt;      function_invalid   = 2&lt;/P&gt;&lt;P&gt;      group_name_missing = 3&lt;/P&gt;&lt;P&gt;      mode_invalid       = 4&lt;/P&gt;&lt;P&gt;      update_invalid     = 5&lt;/P&gt;&lt;P&gt;      OTHERS             = 6.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Clear all the line items.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'POSTING_INTERFACE_CLEARING'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_auglv                    = c_auglv     "value = UMBUCHNG&lt;/P&gt;&lt;P&gt;      i_tcode                    = c_tcode    "value = FB05&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_blntab                   = t_blntab&lt;/P&gt;&lt;P&gt;      t_ftclear                  = t_ftclear&lt;/P&gt;&lt;P&gt;      t_ftpost                   = t_ftpost&lt;/P&gt;&lt;P&gt;      t_fttax                    = t_fttax&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      clearing_procedure_invalid = 1&lt;/P&gt;&lt;P&gt;      clearing_procedure_missing = 2&lt;/P&gt;&lt;P&gt;      table_t041a_empty          = 3&lt;/P&gt;&lt;P&gt;      transaction_code_invalid   = 4&lt;/P&gt;&lt;P&gt;      amount_format_error        = 5&lt;/P&gt;&lt;P&gt;      too_many_line_items        = 6&lt;/P&gt;&lt;P&gt;      company_code_invalid       = 7&lt;/P&gt;&lt;P&gt;      screen_not_found           = 8&lt;/P&gt;&lt;P&gt;      no_authorization           = 9&lt;/P&gt;&lt;P&gt;      OTHERS                     = 10.&lt;/P&gt;&lt;P&gt;  IF t_blntab[] IS INITIAL.    " sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    w_flag = 'X'.&lt;/P&gt;&lt;P&gt;    w_indicator = 'U'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CLEAR w_flag.&lt;/P&gt;&lt;P&gt;    w_indicator = 'A'.&lt;/P&gt;&lt;P&gt;    COMMIT WORK.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'POSTING_INTERFACE_END'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers regarding the solution for this problem will be of great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sushil Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 23:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676937#M1290594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T23:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676938#M1290595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sushil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because you are limited to posting 999 lines at any one time. You will have to change your code to to ensure that FM POSTING_INTERFACE_CLEARING is called for every 999 lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 01:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676938#M1290595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T01:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676939#M1290596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sushil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check counter for every 999 Line Items.after every 999th entry there should be  FM POSTING_INTERFACE_CLEARING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Sujeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 04:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676939#M1290596</guid>
      <dc:creator>SujeetMishra</dc:creator>
      <dc:date>2009-06-09T04:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676940#M1290597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Neil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, we are using FM POSTING_INTERFACE_START, then POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have successfully tested this FMs for clearing documents over 50000 at a time, without splitting into sets of 999. Its only for this particular case that it is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 1 payment document and rest others (over 200000) open items. So my question is - if we have to split for every 999 items, do we need to call the POSTING_INTERFACE_START, then call the FM POSTING_INTERFACE_CLEARING in a loop and at the end call POSTING_INTERFACE_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this post a single clearing document or a separate payment document for every set of 999 items ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676940#M1290597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T13:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676941#M1290598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sujeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, we are using FM POSTING_INTERFACE_START, then POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have successfully tested this FMs for clearing documents over 50000 at a time, without splitting into sets of 999. Its only for this particular case that it is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 1 payment document and rest others (over 200000) open items. So my question is - if we have to split for every 999 items, do we need to call the POSTING_INTERFACE_START, then call the FM POSTING_INTERFACE_CLEARING in a loop and at the end call POSTING_INTERFACE_CLOSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this post a single clearing document or a separate payment document for every set of 999 items ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676941#M1290598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T13:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676942#M1290599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sujeet, Neil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using this FM only for clearing. We are not passing any line items in FTPOST, but only the header information. ftpost-stype = 'K' and ftpost-count = 1. We are not passing anything with ftpost-stype = 'P' which is for the line items.  This is working for almost all scenarios. A clearing document gets created correctly by clearing the payment document against all applicable open invoices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I say it fails for large volume, it is the open invoices that the FM is trying to clear against the payment document. So the clearing document created has only 2 line items, one for the payment and one for the total of all the 220000 open invoices. I am not sure how this is a problem with 999 line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sushil Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 16:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676942#M1290599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T16:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676943#M1290600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is an altogether different issue then. Apologies for causing confusion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just out of curiosity have you tried doing this manually via FB05 to see how the transaction reacts? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 23:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676943#M1290600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T23:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676944#M1290601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess, already u hv seen RFBIBL00 prog. for reference and its documentation.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 01:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676944#M1290601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-10T01:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676945#M1290602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sushil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing the same issue you had with the FB05 for large volume of items to be cleared&lt;/P&gt;&lt;P&gt;Did you find a solution other than split the posting and create multiple documents ?&lt;/P&gt;&lt;P&gt;Will you be able to share it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 18:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676945#M1290602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-18T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with clearing FM - POSTING_INTERFACE_CLEARING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676946#M1290603</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;I am also facing the same problem you had with POSTING_INTERFACE_CLEARING&lt;/P&gt;&lt;P&gt;For a large amount of items to be cleared,&lt;/P&gt;&lt;P&gt;Did you find a solution other than splitting the posting and creating multiple documents?&lt;/P&gt;&lt;P&gt;Can you share it?&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;Chedva&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2022 06:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-clearing-fm-posting-interface-clearing/m-p/5676946#M1290603</guid>
      <dc:creator>former_member804390</dc:creator>
      <dc:date>2022-07-31T06:16:35Z</dc:date>
    </item>
  </channel>
</rss>

