<?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 for MC62 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134781#M1366002</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 use a Structure to trace the Error Messages Using Call Transaction Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STRUCTURE: BDCMSGCOLL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FM :               FORMAT_MESSAGE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example To Fetch Error Messages in BDC::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_message INTO fs_bdcmsgcoll.(T_message is a type of bdcmsgcoll)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        id        = fs_bdcmsgcoll-msgid&lt;/P&gt;&lt;P&gt;        lang      = sy-langu&lt;/P&gt;&lt;P&gt;        no        = fs_bdcmsgcoll-msgnr&lt;/P&gt;&lt;P&gt;        v1        = fs_bdcmsgcoll-msgv1&lt;/P&gt;&lt;P&gt;        v2        = fs_bdcmsgcoll-msgv2&lt;/P&gt;&lt;P&gt;        v3        = fs_bdcmsgcoll-msgv3&lt;/P&gt;&lt;P&gt;        v4        = fs_bdcmsgcoll-msgv4&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        msg       = w_message&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        not_found = 1&lt;/P&gt;&lt;P&gt;        OTHERS    = 2.&lt;/P&gt;&lt;P&gt;    IF sy-subrc  0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      WRITE:/   w_message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2009 11:07:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-08T11:07:06Z</dc:date>
    <item>
      <title>BDC for MC62</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134780#M1366001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     We have a requirement for mass updation of infostructure. This is done using MC62 transaction. The data to be uploaded is available in a file which has more than 500,000 records in the file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     We have developed a BDC program to do the updation. But while executing the program in background, some the records are skipped randomly without giving any error message resulting in non updation or incorrect updation of subsequent records also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs to solve this will be helpful.&lt;/P&gt;&lt;P&gt;Kindly Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 11:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134780#M1366001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for MC62</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134781#M1366002</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 use a Structure to trace the Error Messages Using Call Transaction Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STRUCTURE: BDCMSGCOLL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FM :               FORMAT_MESSAGE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example To Fetch Error Messages in BDC::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_message INTO fs_bdcmsgcoll.(T_message is a type of bdcmsgcoll)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        id        = fs_bdcmsgcoll-msgid&lt;/P&gt;&lt;P&gt;        lang      = sy-langu&lt;/P&gt;&lt;P&gt;        no        = fs_bdcmsgcoll-msgnr&lt;/P&gt;&lt;P&gt;        v1        = fs_bdcmsgcoll-msgv1&lt;/P&gt;&lt;P&gt;        v2        = fs_bdcmsgcoll-msgv2&lt;/P&gt;&lt;P&gt;        v3        = fs_bdcmsgcoll-msgv3&lt;/P&gt;&lt;P&gt;        v4        = fs_bdcmsgcoll-msgv4&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        msg       = w_message&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        not_found = 1&lt;/P&gt;&lt;P&gt;        OTHERS    = 2.&lt;/P&gt;&lt;P&gt;    IF sy-subrc  0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      WRITE:/   w_message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 11:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134781#M1366002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T11:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for MC62</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134782#M1366003</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;Even if the records in the flat file is correct without any error, the BDC is not uploading correct records. &lt;/P&gt;&lt;P&gt;This is happening for the records randomly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: If 1000th record creates a problem in first BDC run, it will work properly in the second run however 1500th record may give a problem in the second run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for 5000 records the BDC is working fine without any problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 11:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134782#M1366003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T11:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for MC62</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134783#M1366004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a bdc is used to upload huge data, as u want to upload...in background mode it normally gives such problem,&lt;/P&gt;&lt;P&gt;Its not because of any errors...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but because, there no enough time between 2 uploads...so when 1 record is getting updated, the another one starts,&lt;/P&gt;&lt;P&gt;so by the time 1 record is in process, another one piles up...and finally at some point of time it skips few records.&lt;/P&gt;&lt;P&gt;which u have encountered.&lt;/P&gt;&lt;P&gt;this happens if the mode is asynchronous...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so try making teh mode synchronous and put a commit work statement and wait statement.&lt;/P&gt;&lt;P&gt;so that each record will get saved and wait for few milliseconds, before updating next record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try doing this...hope this helps u &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 06:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-mc62/m-p/6134783#M1366004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T06:13:45Z</dc:date>
    </item>
  </channel>
</rss>

