<?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 LSMW with Bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757880#M904069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I am Using lsmw with BApi,how can i capture the error file when the Bpiret2 table is populated,please let me know.&lt;/P&gt;&lt;P&gt;thanks alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 10:48:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T10:48:25Z</dc:date>
    <item>
      <title>LSMW with Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757880#M904069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I am Using lsmw with BApi,how can i capture the error file when the Bpiret2 table is populated,please let me know.&lt;/P&gt;&lt;P&gt;thanks alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 10:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757880#M904069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW with Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757881#M904070</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;Every BAPI function module is having an error tab in which error messages are stored. You can captured it from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REWARD IF USEFUL&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 12:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757881#M904070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T12:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW with Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757882#M904071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i capture the error file when the Bpiret2 table is populated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use MESSAGE_PREPARE or FORMAT_MESSAGE function model to capture error messages as import parameters of fm are  bapiret2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code:&lt;/P&gt;&lt;P&gt;FORM print_error_msg&lt;/P&gt;&lt;P&gt;  using p_lt_messtab structure lt_messtab.&lt;/P&gt;&lt;P&gt;  msgnr = p_lt_messtab-msgnr.&lt;/P&gt;&lt;P&gt;  msgv1 =  p_lt_messtab-msgv1.&lt;/P&gt;&lt;P&gt;  msgv2 =  p_lt_messtab-msgv2.&lt;/P&gt;&lt;P&gt;  msgv3 =  p_lt_messtab-msgv3.&lt;/P&gt;&lt;P&gt;  msgv4 =  p_lt_messtab-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'MESSAGE_PREPARE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            LANGUAGE               = 'E'&lt;/P&gt;&lt;P&gt;            MSG_ID                 = p_lt_messtab-msgid&lt;/P&gt;&lt;P&gt;            MSG_NO                 = p_lt_messtab-msgnr&lt;/P&gt;&lt;P&gt;            MSG_VAR1               = msgv1&lt;/P&gt;&lt;P&gt;            MSG_VAR2               = msgv2&lt;/P&gt;&lt;P&gt;            MSG_VAR3               = msgv3&lt;/P&gt;&lt;P&gt;            MSG_VAR4               = msgv4&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            MSG_TEXT               = gt_text&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            FUNCTION_NOT_COMPLETED = 1&lt;/P&gt;&lt;P&gt;            MESSAGE_NOT_FOUND      = 2&lt;/P&gt;&lt;P&gt;            OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  write:/ gt_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " print_error_msg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 12:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757882#M904071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T12:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW with Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757883#M904072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, &lt;/P&gt;&lt;P&gt;    I am trying to load the date field in SAP using bapi in lsmw.&lt;/P&gt;&lt;P&gt;The default date is 01.01.1900.&lt;/P&gt;&lt;P&gt;the data is read correctly,even converted correctly(upto step-13).The data displyed after conversion is absolutely correct ie-01011900.But in idocs processing,loading is getting failed as i am getting an error like 'Month 19 is not pausible' in idoc overview.&lt;/P&gt;&lt;P&gt;If anybody know..how to recover please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-with-bapi/m-p/3757883#M904072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:55:47Z</dc:date>
    </item>
  </channel>
</rss>

