<?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: program logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944669#M943391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You could easily do it by using an ALV. Store the error messages in an internal table and then diplay it by using the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2008 04:22:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-04T04:22:21Z</dc:date>
    <item>
      <title>program logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944668#M943390</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;i am a very interesting problem.I need to execute two blocks of code.&lt;/P&gt;&lt;P&gt;If i get an error in first block then i dont hv to stop the execution(i have to move to second block), and also have to give an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hv found half of solution. Use EXIT statement when we error occur(dont show the message,instead store it and show it after execution of second block.&lt;/P&gt;&lt;P&gt;Now, my question is how do I store a message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other solution is also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 04:15:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944668#M943390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T04:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: program logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944669#M943391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You could easily do it by using an ALV. Store the error messages in an internal table and then diplay it by using the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 04:22:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944669#M943391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T04:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: program logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944670#M943392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even I thought of this solution but didnt go ahead since this has to be run i background...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 04:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944670#M943392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T04:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: program logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944671#M943393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have to store many message and the might have a hierarchical structure then I would recommend to use interface &lt;STRONG&gt;IF_RECA_MESSAGE_LIST&lt;/STRONG&gt; (available since SAP release &amp;gt;= 6.20).&lt;/P&gt;&lt;P&gt;For an example see my Wiki posting [ Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/Message&lt;EM&gt;Handling&lt;/EM&gt;-&lt;EM&gt;Finding&lt;/EM&gt;the&lt;EM&gt;Needle&lt;/EM&gt;in&lt;EM&gt;the&lt;/EM&gt;Haystack]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you may use the function modules of function group &lt;STRONG&gt;SMSG&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;- MESSAGES_INITIALIZE
- MESSAGE_STORE
- MESSAGES_SHOW&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that you can use IF_RECA_MESSAGE_LIST to save the collected messages as &lt;STRONG&gt;persistent&lt;/STRONG&gt; &lt;STRONG&gt;application log&lt;/STRONG&gt; (transaction &lt;STRONG&gt;SLG1&lt;/STRONG&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 04:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944671#M943393</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-06-04T04:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: program logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944672#M943394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx man..it looks like a solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 05:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944672#M943394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T05:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: program logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944673#M943395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can you please explain me how the issue got solved. I am eager to know this concept. Kindly share this with me please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 09:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-logic/m-p/3944673#M943395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T09:25:03Z</dc:date>
    </item>
  </channel>
</rss>

