<?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 records in bdc session method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828798#M920741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we get status of the records into internal table in a bdc session?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want is i want the error records into internal table i dont want to re process the success records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2008 04:31:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-09T04:31:49Z</dc:date>
    <item>
      <title>error records in bdc session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828793#M920736</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;i am running bdc session method i got some 2000 error records , and 3000 succes records , now how to process those 2000 error records how to get the error records into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 04:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828793#M920736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T04:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: error records in bdc session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828794#M920737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CHeck out the below sample program which uses both call transaction and session method ...here the erroreneous records gets updated with session method ..&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5353596"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 04:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828794#M920737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T04:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: error records in bdc session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828795#M920738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose if i got so many error records in session method then how to proceed and how to collect those error records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 04:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828795#M920738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T04:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: error records in bdc session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828796#M920739</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;Using this code u can find error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM error .&lt;/P&gt;&lt;P&gt;  LOOP AT IT_BDC_MESSAGES.&lt;/P&gt;&lt;P&gt;    IF IT_BDC_MESSAGES-msgtyp = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT single  * FROM t100  WHERE&lt;/P&gt;&lt;P&gt;                                sprsl = it_BDC_MESSAGES-msgspra&lt;/P&gt;&lt;P&gt;                                AND   arbgb = IT_BDC_MESSAGES-msgid&lt;/P&gt;&lt;P&gt;                                AND   msgnr = IT_BDC_MESSAGES-msgnr.&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        l_mstring = t100-text.&lt;/P&gt;&lt;P&gt;        IF l_mstring CS '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;1' WITH IT_BDC_MESSAGES-msgv1 INTO l_mstring.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;2' WITH IT_BDC_MESSAGES-msgv2 INTO l_mstring.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;3' WITH IT_BDC_MESSAGES-msgv3 INTO l_mstring.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;4' WITH IT_BDC_MESSAGES-msgv4 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;' WITH IT_BDC_MESSAGES-msgv1 INTO l_mstring.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;' WITH IT_BDC_MESSAGES-msgv2 INTO l_mstring.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;' WITH IT_BDC_MESSAGES-msgv3 INTO l_mstring.&lt;/P&gt;&lt;P&gt;          REPLACE '&amp;amp;' WITH IT_BDC_MESSAGES-msgv4 INTO l_mstring.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CONDENSE l_mstring.&lt;/P&gt;&lt;P&gt;        it_mess-msgtyp = IT_BDC_MESSAGES-msgtyp.&lt;/P&gt;&lt;P&gt;        it_mess-lms = l_mstring.&lt;/P&gt;&lt;P&gt;        it_mess-msgv1 = IT_BDC_MESSAGES-msgv1.&lt;/P&gt;&lt;P&gt;        APPEND it_mess.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        it_mess-msgtyp = IT_BDC_MESSAGES-msgtyp.&lt;/P&gt;&lt;P&gt;        it_mess-lms = l_mstring.&lt;/P&gt;&lt;P&gt;        it_mess-msgv1 = IT_BDC_MESSAGES-msgv1.&lt;/P&gt;&lt;P&gt;        APPEND it_mess.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form errordownload.&lt;/P&gt;&lt;P&gt;*down the internal table to excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'EXCEL_OLE_STANDARD_DAT'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                file_name                 = 'c:/Error.xls'&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                data_tab                  = it_mess&lt;/P&gt;&lt;P&gt;                fieldnames                = excel&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                file_not_exist            = 1&lt;/P&gt;&lt;P&gt;                filename_expected         = 2&lt;/P&gt;&lt;P&gt;                communication_error       = 3&lt;/P&gt;&lt;P&gt;                ole_object_method_error   = 4&lt;/P&gt;&lt;P&gt;                ole_object_property_error = 5&lt;/P&gt;&lt;P&gt;                invalid_filename          = 6&lt;/P&gt;&lt;P&gt;                invalid_pivot_fields      = 7&lt;/P&gt;&lt;P&gt;                download_problem          = 8&lt;/P&gt;&lt;P&gt;                others                    = 9.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful give reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narasimha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 04:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828796#M920739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T04:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: error records in bdc session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828797#M920740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar , &lt;/P&gt;&lt;P&gt;If u get many error records in Session method , first u need to rectify the errors .&lt;/P&gt;&lt;P&gt;You may get errors due to wrong configurations , unnecessary data in the flat file &lt;/P&gt;&lt;P&gt;and default values  etc ..After rectifying u need to run the program to uplaod the remaining records ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To capture error records in the session method use following form .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM mess .                                                 "fsp0&lt;/P&gt;&lt;P&gt;  LOOP AT messtab.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        id        = messtab-msgid&lt;/P&gt;&lt;P&gt;        lang      = messtab-msgspra&lt;/P&gt;&lt;P&gt;        no        = messtab-msgnr&lt;/P&gt;&lt;P&gt;        v1        = messtab-msgv1&lt;/P&gt;&lt;P&gt;        v2        = messtab-msgv2&lt;/P&gt;&lt;P&gt;        v3        = messtab-msgv3&lt;/P&gt;&lt;P&gt;        v4        = messtab-msgv4&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        msg       = l_mstring&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;    CONDENSE l_mstring.&lt;/P&gt;&lt;P&gt;    i_mess-l_mstring = l_mstring(250).&lt;/P&gt;&lt;P&gt;    i_mess-msgnr = messtab-msgnr.&lt;/P&gt;&lt;P&gt;    i_mess-msgv1 = messtab-msgv1.&lt;/P&gt;&lt;P&gt;    APPEND i_mess.&lt;/P&gt;&lt;P&gt;&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;ENDFORM.                    " mess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jagadeesh.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 04:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828797#M920740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T04:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: error records in bdc session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828798#M920741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we get status of the records into internal table in a bdc session?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want is i want the error records into internal table i dont want to re process the success records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 04:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-records-in-bdc-session-method/m-p/3828798#M920741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T04:31:49Z</dc:date>
    </item>
  </channel>
</rss>

