<?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: Error file generation using BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971274#M1491308</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;Please replace the BDC with BAPI.&lt;/P&gt;&lt;P&gt;BAPI_MATERIAL_SAVEDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BDC for material master will create so many issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 06:05:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-22T06:05:37Z</dc:date>
    <item>
      <title>Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971270#M1491304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi .. friends . This is Sudhir . I have  a scenario of loading 50 materials using BDC concept (generate session method) with tcode mm01. During loading if we have any faulty materials then they have to be written in a separate flat file (in the location which we specify in our pc). How can it be done?  Hope your answers will be helpful for me to proceed further. Expecting for your reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;Sudhir S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 13:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971270#M1491304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T13:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971271#M1491305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  when you BDC session method, session will be created and user has process the session in SM35 , if case of any errors you can see them in the session log. You cannot wirte the error records to a file using session. Use call transaction to process the material synchronously and you can capture the error messages into an internal table which you can write it to a file. check  documentation on CALL TRANSACTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 14:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971271#M1491305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T14:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971272#M1491306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to do a call transaction with synchronous update within your program (don't just create and park a BDC session), check your return code and if not zero, write the data into an internal errors table...or insert into a custom db table from a work area at that point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 17:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971272#M1491306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T17:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971273#M1491307</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; just do a call transaction to MM01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sy-subrc is not 0 then its error.&lt;/P&gt;&lt;P&gt;Based on this you can move the error records to session and file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 18:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971273#M1491307</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-21T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971274#M1491308</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;Please replace the BDC with BAPI.&lt;/P&gt;&lt;P&gt;BAPI_MATERIAL_SAVEDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BDC for material master will create so many issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 06:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971274#M1491308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T06:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971275#M1491309</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;            I had also similar requirement through Call Transaction method, Solution is&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;           We can store all messages occuring during exection of transaction (e.g MM01) in an internal table of type BDCMSGCOLL, so it contains message id, message no and not message description for that u have to  pass internal table to a function module  MESSAGE_TEXT_BUILD now u can get message description now store this in an internal table.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;          Pass this internal table to a function module GUI_DOWNLOAD this will create flat file on ur PC based on the location u have given to this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          For session method, session log contains the information u can check   INCLUDE program BDCRECX1 which will be created during recording, run this program in the debugger mode u will get idea.&lt;/P&gt;&lt;P&gt;                       &lt;/P&gt;&lt;P&gt;Hope this will help u..............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 10:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971275#M1491309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T10:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error file generation using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971276#M1491310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with the function module you specified for loading the error messages in bdc. I have a doubt for what we need to pass for msgid and msgnr in the exporting parameters of the function module 'MESSAGE_TEXT_BUILD' and for importing parameters i have passed the internal table BDCMSGCOLL as you specified .Help me  to proceed further....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Sudhir S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 08:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-file-generation-using-bdc/m-p/6971276#M1491310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-24T08:06:18Z</dc:date>
    </item>
  </channel>
</rss>

