<?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: TRY and ENDTRY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616683#M1439839</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;do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRY.
 READ DATASET...
 CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
* Log message: The required conversion in not supported
 CATCH CX_SY_CONVERSION_CODEPAGE.
* Log message: Convesrsion is not possible
 CATCH CX_SY_FILE_AUTHORITY.
*Log message: No authorization for access to a file
 CATCH CX_SY_FILE_IO.
* Log message: When reading the file, an error occured
 CATCH CX_SY_FILE_OPEN.
*Log message: The file could not be opened
 CATCH CX_SY_PIPE_REOPEN.
* Log message: Pipe closed
ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info on these exceptions, see [READ DATASET|http://help.sap.com/abapdocu_70/en/ABAPREAD_DATASET.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2010 09:23:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-28T09:23:34Z</dc:date>
    <item>
      <title>TRY and ENDTRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616680#M1439836</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;I have program to upload data in XML format, in certain cases, the program end with shortdump.&lt;/P&gt;&lt;P&gt;It's happen when program reading upload file (READ DATASET). &lt;/P&gt;&lt;P&gt;Is it posible we avoid the shortdump? may be there is any statement to handle the error so program can continue run?&lt;/P&gt;&lt;P&gt;Because i can to create error log report for this upload program, so we can inform to user which file is error.&lt;/P&gt;&lt;P&gt;I read TRY-ENDTRY, is it posible to user it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hengky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 08:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616680#M1439836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: TRY and ENDTRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616681#M1439837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 08:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616681#M1439837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: TRY and ENDTRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616682#M1439838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm forget the Shortdump, it looked like unicode error or something.&lt;/P&gt;&lt;P&gt;The thing that I need is I want program can continue even the file is error, so I can report to user which file is needed correction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hengky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 09:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616682#M1439838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T09:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: TRY and ENDTRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616683#M1439839</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;do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRY.
 READ DATASET...
 CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
* Log message: The required conversion in not supported
 CATCH CX_SY_CONVERSION_CODEPAGE.
* Log message: Convesrsion is not possible
 CATCH CX_SY_FILE_AUTHORITY.
*Log message: No authorization for access to a file
 CATCH CX_SY_FILE_IO.
* Log message: When reading the file, an error occured
 CATCH CX_SY_FILE_OPEN.
*Log message: The file could not be opened
 CATCH CX_SY_PIPE_REOPEN.
* Log message: Pipe closed
ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info on these exceptions, see [READ DATASET|http://help.sap.com/abapdocu_70/en/ABAPREAD_DATASET.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 09:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616683#M1439839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: TRY and ENDTRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616684#M1439840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if You want to make it properly, do the same also for OPEN DATASET and CLOSE DATASET. Exceptions which can occur by these two statements can be found in [Statements for the ABAP File Interface |http://help.sap.com/abapdocu_70/en/ABENFILE_INTERFACE_STATEMENTS.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 09:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/try-and-endtry/m-p/6616684#M1439840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T09:27:07Z</dc:date>
    </item>
  </channel>
</rss>

