<?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 handling errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466121#M219509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to handle errore while file transfer in outbound interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2006 12:26:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-04T12:26:31Z</dc:date>
    <item>
      <title>handling errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466121#M219509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to handle errore while file transfer in outbound interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 12:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466121#M219509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-04T12:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: handling errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466122#M219510</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 not clear on your doubt , do you want to capture errors while creating the file. check below code for this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : begin of i_errmsg occurs 0,
        x_msg(100) type c,
       end of i_errmsg.

OPEN DATASET x_file FOR output 
                            MESSAGE l_msg
                       IN text MODE ENCODING DEFAULT.
  x_RCODE = sy-subrc. 
  IF x_RCODE &amp;lt;&amp;gt; 0.
    &amp;lt;b&amp;gt;i_errmsg-x_msg = l_msg.
    append i_errmsg.&amp;lt;/b&amp;gt;  
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table i_errmsg will contain the error message details.&lt;/P&gt;&lt;P&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;Appana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 12:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466122#M219510</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-09-04T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: handling errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466123#M219511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sireesha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the assumption of Appana about your requirement is correct then you could also use a TRY/CATCH/ENTRY block to handle errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRY.
  OPEN DATASET ...

CATCH cx_root INTO lo_error.
" ... do error handling
ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2006 20:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/handling-errors/m-p/1466123#M219511</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-04T20:13:04Z</dc:date>
    </item>
  </channel>
</rss>

