<?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: Continue the Processing even on Error or Warning Message, inside Loop. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439488#M1740139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is from SD, and I am invoking RSNAST01 from my Z* Program.&lt;/P&gt;&lt;P&gt;I am also invoking couple of other Function Modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 06:06:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-07T06:06:18Z</dc:date>
    <item>
      <title>Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439478#M1740129</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 have already a running code, where the input is provided in terms of Work Area.&lt;/P&gt;&lt;P&gt;Here a number of FMs and Standard Routines have been invoked based on Work Area content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, my requirement is to put the same peice of code inside loop.&lt;/P&gt;&lt;P&gt;But the problem is that the same peice of code should run for each entry ( as work area ) in loop,&lt;/P&gt;&lt;P&gt;but when then system encounters erroe for any entries the code terminates over there only, with the error message &lt;/P&gt;&lt;P&gt;of current loop pass and the whole process haults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need to continue with the next loop entry, but it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commenting these Error Message Statement is not possible, since it a standard code.&lt;/P&gt;&lt;P&gt;I need to collect all the error messages in some internal table and then show the result for all the loop entries at the end of the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I belive there is some FM for this purpose, but I am not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 14:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439478#M1740129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-03T14:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439479#M1740130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search for *collect*messages* in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe this will not help you much. If the error message is from a standard code, there is good chance that SAP will automatically stop processing. For example if a FM returns subrc &amp;gt; 0, there will be some code for exception handling which might result in throwing an error. When an error is encountered, SAP halts the process as opposed to a warning where the process continues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the result comes back to your custom program, then you should be able to continue processing. Can you share some sample code and tell us where the error happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 14:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439479#M1740130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-03T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439480#M1740131</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;Usually all messages in SAP has some parts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MSGID-Message Class ID&lt;/P&gt;&lt;P&gt;MSGNO-Message number in Class&lt;/P&gt;&lt;P&gt;MSGVAR1- Message text container 1 length 50 char&lt;/P&gt;&lt;P&gt;MSGVAR2- Message text container 2 length 50 char&lt;/P&gt;&lt;P&gt;MSGVAR3- Message text container 3 length 50 char&lt;/P&gt;&lt;P&gt;MSGVAR4- Message text container 4 length 50 char&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a internal table sa ITAB_ERR and simply put this values in this table via a work area instead of using the message statement. Then At end of program you can loop through ITAB_ERR and write the errors in list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439480#M1740131</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-03T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439481#M1740132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arindam,&lt;/P&gt;&lt;P&gt;Thanks for the reply, but this way will not help me to get my code executed for all the loop entries.&lt;/P&gt;&lt;P&gt;It will stop processing once an error message is encountered, and thus other loop entries will not be processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439481#M1740132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-03T15:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439482#M1740133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I will certainly check and revert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439482#M1740133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-03T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439483#M1740134</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;Your processing will stop only if the statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ... with TYPE 'E' is executed. NO matter what FM you use with in the loop all set SY_SUBRC and return message text using SYSTEM parameters SY-MSGID, SY-MSGNO, SY_MSGV1, SY_MSGV2, SY_MSGV3, SY_MSGV4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So replace the these MESSAGE statement with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_ITAB_ERR-MSGID = SY-MSGID.&lt;/P&gt;&lt;P&gt;W_ITAB_ERR-MSGNO = SY-MSGNO.&lt;/P&gt;&lt;P&gt;W_ITAB_ERR-MSGVAR1 = SY_MSGV1.&lt;/P&gt;&lt;P&gt;W_ITAB_ERR-MSGVAR2 = SY_MSGV2.&lt;/P&gt;&lt;P&gt;W_ITAB_ERR-MSGVAR3 = SY_MSGV3.&lt;/P&gt;&lt;P&gt;W_ITAB_ERR-MSGVAR4 = SY_MSGV4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND w_itab_err INTO ITAB_ERR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439483#M1740134</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-03T15:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439484#M1740135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arindam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again for the reply, but since it is a standard code, &lt;/P&gt;&lt;P&gt;so I can not do any modification there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 15:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439484#M1740135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-03T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439485#M1740136</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;&amp;nbsp; Which standard code are you changing? The messaging needs to be done depends on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 16:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439485#M1740136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-03T16:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439486#M1740137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not changing the Standard Code, rather I have to do the changes in my Z* Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am tweaking the existing code, to work inside loop, the existing code is working for Work Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 07:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439486#M1740137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-06T07:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439487#M1740138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on which tcode / user exit you are changing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say in some of the HR transactions..in Portal...you can collect the messages...with type as error..and still continue with the remaining records..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 15:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439487#M1740138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-06T15:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439488#M1740139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is from SD, and I am invoking RSNAST01 from my Z* Program.&lt;/P&gt;&lt;P&gt;I am also invoking couple of other Function Modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 06:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439488#M1740139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-07T06:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439489#M1740140</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;It would be helpful if you post some of your codes here especially those that are in the loop process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 07:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439489#M1740140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-07T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439490#M1740141</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 still searching for it, but could not get too helpful stuffs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, have got Standard Reports SBAL_DEMO_01 and others which works but its not too helpful for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just thought of the standard handals these stuffs,, ended with debugging DP95.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works as expected in TCode DP95, here I got FMs like &lt;SPAN style="font-size: 10pt;"&gt;SD_MESSAGE_COLLECT, ME&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;SSAGES_STOP, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;MESSAGES_INITIALIZE, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;MESSAGES_GIVE and others but nothing worked for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;DP95 also works inside Loop and captures well the Messages raised inside the User Exits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any one worked with these things, please post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanking You All.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 18:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439490#M1740141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T18:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439491#M1740142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MESSAGES_INITIALIZE'.&amp;nbsp;&amp;nbsp;&amp;nbsp; "clear the buffer messages on starting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP at &amp;lt;internal table&amp;gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp; "to collect messages&lt;BR /&gt;CALL FUNCTION 'MESSAGE_STORE'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "add your message&lt;BR /&gt;&amp;nbsp; EXPORTING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARBGB = ''&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Message ID&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSGTY = ''&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Type of message (I, S, W, E, A)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TXTNR = ''&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Message Number&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CALL FUNCTION 'MESSAGES_SHOW'.&amp;nbsp;&amp;nbsp;&amp;nbsp; "Show messages at end&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;Mordhwaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 04:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439491#M1740142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-18T04:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Continue the Processing even on Error or Warning Message, inside Loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439492#M1740143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can collect the error messages by using below function modules..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before processing the loop use the fm &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data: wa_appl_log1&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE bal_s_log,&lt;SPAN class="L0S31"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_log_handle1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;balloghndl,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;if wa_log_handle1 &lt;SPAN class="L0S52"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;not &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;initial.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*Delete previous messages&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;function &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAL_LOG_REFRESH'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_log_handle&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_log_handle1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_not_found &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;clear &lt;/SPAN&gt;wa_appl_log1.&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* define some header data of this log&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; wa_appl_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;aluser&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;uname.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; wa_appl_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;alprog&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;repid.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* create a log&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;function &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAL_LOG_CREATE'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_s_log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_appl_log1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_log_handle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_log_handle1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; og_header_inconsistent &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &amp;lt;&amp;gt; &lt;SPAN class="L0S32"&gt;0.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;message &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty &lt;SPAN class="L0S52"&gt;number &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgno&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv1 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv2 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv3 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then Inside the loop collect the error messages in a variable and add the messages to log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;data: msg type string,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itype type string.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;loop...&lt;/P&gt;&lt;P&gt;concatenate 'your error mess'&amp;nbsp; msg into msg&lt;/P&gt;&lt;P&gt;message e&lt;SPAN class="L0S52"&gt;001&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;00&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;ITYPE &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;msg.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;perform add_message.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;endloop..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form add_message.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data: lw_appl_msg1 &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;bal_s_msg .&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* Define data of message for Application Log&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgno&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgno.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv1.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv3.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv4.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'E'.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;probclass &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'1'.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSEIF &lt;/SPAN&gt;lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'W'.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;probclass &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'2'.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_appl_msg1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;probclass &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'3'.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* Add this message to log file&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;function &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAL_LOG_MSG_ADD'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_log_handle&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_log_handle1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_s_msg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lw_appl_msg1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log_not_found &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &amp;lt;&amp;gt; &lt;SPAN class="L0S32"&gt;0.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;message &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty &lt;SPAN class="L0S52"&gt;number &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv1 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv2 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv3 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv4.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Finally display the error log..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;data: lwa_display_profile &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;bal_s_prof,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lit_log_handle &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;bal_t_logh.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* get a prepared profile&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;function &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAL_DSP_PROFILE_POPUP_GET'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_s_display_profile &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lwa_display_profile&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &amp;lt;&amp;gt; &lt;SPAN class="L0S32"&gt;0.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;message &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgid &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgty &lt;SPAN class="L0S52"&gt;number &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgno&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv1 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv2 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv3 sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;msgv4.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* use grid for display if wanted&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lwa_display_profile&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;use_grid &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lwa_display_profile&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;title &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;text&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;007.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"#EC *&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S31"&gt;* set report to allow saving of variants&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lwa_display_profile&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;disvariant&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;report &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;repid.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; lwa_display_profile&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;disvariant&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;handle &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'LOG'.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_log_handle &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;lit_log_handle.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*Display Application Log&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;function &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAL_DSP_LOG_DISPLAY'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_s_display_profile &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lwa_display_profile&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_t_log_handle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lit_log_handle.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps..&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;&lt;/P&gt;&lt;P&gt;Suganya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2013 05:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/continue-the-processing-even-on-error-or-warning-message-inside-loop/m-p/9439492#M1740143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-18T05:37:43Z</dc:date>
    </item>
  </channel>
</rss>

