<?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: BDC error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991398#M1342634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but I think that's the whole concept of "TRANSACTION". You either save everything or nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could call FB05 for each customer and output the error messages of the ones that go wrong, The others would be saved. Of course that can lead to performance problems depending on how many customers you have to update. You can try to find some BAPI/FM that will do the FB05 job and maybe, if you are lucky, this FM will give a list of all errors, but I'm sure if this is a standard function it will keep that transaction rule: save all or save nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best reagards,&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sérgio Oliveira on Aug 3, 2009 3:08 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2009 13:07:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-03T13:07:44Z</dc:date>
    <item>
      <title>BDC error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991397#M1342633</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;I am uploading data for FB05 using bdc for 10 customers.but if i get error for the 1st customer it stops further processing for other customer.Can i do something like it gives list of errors for customers which are having fault other should be uploaded finely.i am using call transaction for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 12:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991397#M1342633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T12:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991398#M1342634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but I think that's the whole concept of "TRANSACTION". You either save everything or nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could call FB05 for each customer and output the error messages of the ones that go wrong, The others would be saved. Of course that can lead to performance problems depending on how many customers you have to update. You can try to find some BAPI/FM that will do the FB05 job and maybe, if you are lucky, this FM will give a list of all errors, but I'm sure if this is a standard function it will keep that transaction rule: save all or save nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best reagards,&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sérgio Oliveira on Aug 3, 2009 3:08 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991398#M1342634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T13:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991399#M1342635</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;You can call transaction record by record using a loop for each customer in the BDC program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way the customers which do not have any error will be processed correctlly and others will  result in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise use session method.Session method is helpful for more data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991399#M1342635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T13:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991400#M1342636</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;You have to run the BDC for each line.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So loop the table and do bdc inside it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI....BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx &lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991400#M1342636</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-08-03T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991401#M1342637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;You can run your BDC in background mode using call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION c_fb05 USING i_bdcdata&lt;/P&gt;&lt;P&gt;                          OPTIONS FROM wa_opt&lt;/P&gt;&lt;P&gt;                          MESSAGES INTO i_msgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_opt-dismode  = 'N'.&lt;/P&gt;&lt;P&gt;means no display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can solve your problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tutun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 06:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991401#M1342637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T06:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991402#M1342638</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 this piece of code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Calling Transaction FB50 .&lt;/P&gt;&lt;P&gt;    call transaction 'FB50' using BDCDATA mode 'N' messages into MESSTAB.&lt;/P&gt;&lt;P&gt;*Reading Internal Table MESSTAB.&lt;/P&gt;&lt;P&gt;    read table MESSTAB.&lt;/P&gt;&lt;P&gt;    if SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;*Selecting TEXT From Table T100 Into Variable V_TEXT.&lt;/P&gt;&lt;P&gt;      select single TEXT into V_TEXT from T100  where SPRSL = MESSTAB-MSGSPRA&lt;/P&gt;&lt;P&gt;                                  and   ARBGB = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;                                  and   MSGNR = MESSTAB-MSGNR.&lt;/P&gt;&lt;P&gt;      if SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        V_LMSTRING = V_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if V_LMSTRING cs '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;1' with MESSTAB-MSGV1 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;2' with MESSTAB-MSGV2 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;3' with MESSTAB-MSGV3 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;4' with MESSTAB-MSGV4 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;' with MESSTAB-MSGV1 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;' with MESSTAB-MSGV2 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;' with MESSTAB-MSGV3 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;          replace '&amp;amp;' with MESSTAB-MSGV4 into V_LMSTRING.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;        condense V_LMSTRING.&lt;/P&gt;&lt;P&gt;*Checking The Message Type and Display The Message Accordingly.&lt;/P&gt;&lt;P&gt;        if MESSTAB-MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;          V_ERROR = V_ERROR + C_INCREMENT.&lt;/P&gt;&lt;P&gt;          IT_RESULT-MEGTYPE = 'Error'.&lt;/P&gt;&lt;P&gt;          IT_RESULT-MESSAGE = V_LMSTRING.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if MESSTAB-MSGTYP = 'S'.&lt;/P&gt;&lt;P&gt;          V_SUCCESS = V_SUCCESS + C_INCREMENT.&lt;/P&gt;&lt;P&gt;          IT_RESULT-MEGTYPE = 'Successful'.&lt;/P&gt;&lt;P&gt;          IT_RESULT-MESSAGE = V_LMSTRING.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     write: / MESSTAB.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;*Appending Table IT_RESULT.&lt;/P&gt;&lt;P&gt;    append IT_RESULT.&lt;/P&gt;&lt;P&gt;*Delete Rows of  Internal Table MESSTAB.&lt;/P&gt;&lt;P&gt;    refresh MESSTAB.&lt;/P&gt;&lt;P&gt;*Clear Header of MESSTAB.&lt;/P&gt;&lt;P&gt;    clear MESSTAB.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Ashu SIngh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 08:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-message/m-p/5991402#M1342638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T08:00:31Z</dc:date>
    </item>
  </channel>
</rss>

