<?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 message to spool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907898#M378227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ramu,&lt;/P&gt;&lt;P&gt;  On the error condition, before you issue the error message, use w write statement with the error description.&lt;/P&gt;&lt;P&gt;When you run this program in background, the write statements will be written to spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;Condition&amp;gt;.&lt;/P&gt;&lt;P&gt;write:/ 'Error Occured'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(zz) With 'Error Occured'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2007 09:15:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-16T09:15:30Z</dc:date>
    <item>
      <title>error message to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907897#M378226</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;in my report i need to capture errors if any and i need to send the error messages to spool . can any one guide me how to do this one.Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srikanth.V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 09:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907897#M378226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T09:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: error message to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907898#M378227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ramu,&lt;/P&gt;&lt;P&gt;  On the error condition, before you issue the error message, use w write statement with the error description.&lt;/P&gt;&lt;P&gt;When you run this program in background, the write statements will be written to spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;Condition&amp;gt;.&lt;/P&gt;&lt;P&gt;write:/ 'Error Occured'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(zz) With 'Error Occured'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 09:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907898#M378227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T09:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: error message to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907899#M378228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  by using Write statements after condition u can send the error messages to the spool.&lt;/P&gt;&lt;P&gt;PERFORM get_print_parameters USING spool_name &lt;/P&gt;&lt;P&gt;thru this FM also u can achieve the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 09:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907899#M378228</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-16T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: error message to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907900#M378229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for ur purpose u need to capture all the messages and using WRITE statement u can display the error message...now, run this report in background and all the error messages are captured in the spool...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 09:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907900#M378229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T09:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: error message to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907901#M378230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Capture all the error messages and then use write.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 09:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-to-spool/m-p/1907901#M378230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T09:39:55Z</dc:date>
    </item>
  </channel>
</rss>

