<?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: functionmodule to capture error messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224115#M1207890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies guyz, the one thing forgot to mention is , this is in CRM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 15:09:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-12T15:09:55Z</dc:date>
    <item>
      <title>functionmodule to capture error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224112#M1207887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Iam validating data and if validation fails im storing that record in a temporary table .Now I need to write all this error messages to spool.&lt;/P&gt;&lt;P&gt;may I know the function module to write error messages to spool.&lt;/P&gt;&lt;P&gt;Plz advise &lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224112#M1207887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule to capture error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224113#M1207888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My understanding is that the spool is created for the background job. If you are running it in the background, then you can simply do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_error.&lt;/P&gt;&lt;P&gt;write itab_error.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224113#M1207888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T14:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule to capture error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224114#M1207889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data:Begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      mtype(255),&lt;/P&gt;&lt;P&gt;end of itab.        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno &lt;/P&gt;&lt;P&gt;                INTO Itab-mtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The write itab to spool.&lt;/P&gt;&lt;P&gt;USe :FM:JIT03_WRITE_TEXT_TO_SPOOL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224114#M1207889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T14:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule to capture error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224115#M1207890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies guyz, the one thing forgot to mention is , this is in CRM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 15:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224115#M1207890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T15:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule to capture error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224116#M1207891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;in this case you can create an internal table for populating the error messages .&lt;/P&gt;&lt;P&gt;At the end you can use these function modules to send it to spool.&lt;/P&gt;&lt;P&gt;RSPO_OPEN_SPOOLREQUEST&lt;/P&gt;&lt;P&gt;RSPO_WRITE_SPOOLREQUEST&lt;/P&gt;&lt;P&gt;RSPO_CLOSE_SPOOLREQUEST&lt;/P&gt;&lt;P&gt; hope this will resolveyour problem.&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;hareesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 15:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224116#M1207891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: functionmodule to capture error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224117#M1207892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;just use&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; message you wanted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 10:20:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/functionmodule-to-capture-error-messages/m-p/5224117#M1207892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T10:20:45Z</dc:date>
    </item>
  </channel>
</rss>

