<?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: Screen - Message handlin.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602637#M1084797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not worked with the class that you have mentioned.&lt;/P&gt;&lt;P&gt;But similar to your issues like refreshing the data i worked with the text editor of clearing the data. Normally when we use refresh and clear keywords may not work in the case of containers. &lt;/P&gt;&lt;P&gt;I will give you example where i have cleared the data in the container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD TEXT_EDITOR-&amp;gt;GET_TEXTSTREAM&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;              TEXT = &lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          CNTL_SYSTEM_ERROR = 1&lt;/P&gt;&lt;P&gt;          CNTL_ERROR        = 2&lt;/P&gt;&lt;P&gt;          OTHERS            = 3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MESSAGE TEXT TYPE 'I'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      WA_TAPD-TAPD = &lt;STRONG&gt;TEXT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my &lt;STRONG&gt;TEXT&lt;/STRONG&gt; data is passed into workarea when it is saved i have to clear it for which i do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method TEXT_EDITOR-&amp;gt;SET_TEXTSTREAM&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;TEXT = ''&lt;/STRONG&gt; "this make data clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got the concept which i want to tell , finally there might be class to refresh or clear your data. so search for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Venk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Oct 2008 14:21:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-26T14:21:34Z</dc:date>
    <item>
      <title>Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602631#M1084791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have developed a screen with a table control.&lt;/P&gt;&lt;P&gt;Now as per the requirement , the Error message handling should be at one-shot while user presses save on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me be clear:&lt;/P&gt;&lt;P&gt;if the user enters the data in the table control and after he presses save, then all the error messages shud be collected and displayed in a subscreen below the table control. It need not handle it row wise. all the errors for the total data shud be displayed in a error log which also shud be designed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can u guide me how to progress further for designing the error log and also the way t display in a sub-screen or container below the actual screen's table control data.&lt;/P&gt;&lt;P&gt;please give me a detailed explanation..... Thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chaitu..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 11:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602631#M1084791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T11:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602632#M1084792</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;In the PAI of the screen, Write the module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the module; Based on the SY-UCOMM (Function code of the save button, Write the validation to be performed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 12:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602632#M1084792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T12:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602633#M1084793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya,&lt;/P&gt;&lt;P&gt;Let me explian you the logic for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a subscreen in the main screen.&lt;/P&gt;&lt;P&gt;Now while user clicks onthe Save button. At the PAI handle all the messages and insert the data into one internal table. Now when  the subscreen calls, at PBO of the subscreen. use your internal table to display it in the subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 13:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602633#M1084793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602634#M1084794</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;should the subscreen be created in the main screen..&lt;/P&gt;&lt;P&gt;if so, where will the PAI or PBO of the subscreen exists..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or shud i create a screen with different no and then call this screen in the maiin screen, can u plz explain..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 13:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602634#M1084794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T13:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602635#M1084795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your requirement it all depends on whether to create a subscreen or another screen. If your client is asking for new screen go ahead with new screen else go with subscreen.&lt;/P&gt;&lt;P&gt;All the messages that you want to handle can be handled in both sub and new screen. Handle your messages in a messages class and trigger them in PAI according to messages that that you want to display.&lt;/P&gt;&lt;P&gt;Just for knowledge purpose want to know how many messages you are triggering where you are create subscreen for messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Venk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 13:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602635#M1084795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T13:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602636#M1084796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkat, the subscreen concept is Ok..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to display the data from the Error table collected, which type of Logic i shud use..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the table with messages, but iam using.&lt;/P&gt;&lt;P&gt;class: CL_GUI_ALV_GRID class for the display of the data by declaring a container in the subscreen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. i declared the subscreen.&lt;/P&gt;&lt;P&gt;2 in the subscreen i declared a container..&lt;/P&gt;&lt;P&gt;3. now using the Class CL_GUI_ALV_GRID, iam dispalying the data in the subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my prob is the method set_table_for_first_display from the above class is used to display the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the user corrects the entry , then the entry shud be removed from the subscreen...ok...so teh table is updated, but this method is not refreshing the data. can u suggest any other methods or classes to do the above logic...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 14:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602636#M1084796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T14:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602637#M1084797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not worked with the class that you have mentioned.&lt;/P&gt;&lt;P&gt;But similar to your issues like refreshing the data i worked with the text editor of clearing the data. Normally when we use refresh and clear keywords may not work in the case of containers. &lt;/P&gt;&lt;P&gt;I will give you example where i have cleared the data in the container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD TEXT_EDITOR-&amp;gt;GET_TEXTSTREAM&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;              TEXT = &lt;STRONG&gt;TEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          CNTL_SYSTEM_ERROR = 1&lt;/P&gt;&lt;P&gt;          CNTL_ERROR        = 2&lt;/P&gt;&lt;P&gt;          OTHERS            = 3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MESSAGE TEXT TYPE 'I'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      WA_TAPD-TAPD = &lt;STRONG&gt;TEXT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my &lt;STRONG&gt;TEXT&lt;/STRONG&gt; data is passed into workarea when it is saved i have to clear it for which i do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method TEXT_EDITOR-&amp;gt;SET_TEXTSTREAM&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;TEXT = ''&lt;/STRONG&gt; "this make data clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got the concept which i want to tell , finally there might be class to refresh or clear your data. so search for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;Venk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2008 14:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602637#M1084797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-26T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602638#M1084798</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;U have to again use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL METHOD g_grid-&amp;gt;refresh_table_display&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     is_stable      = itab(table in subscreen to be refreshed)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_SOFT_REFRESH =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FINISHED       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   others         =2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise the table not be refreshed and error entries be still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ruchi Tiwari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 07:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602638#M1084798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T07:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Screen - Message handlin..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602639#M1084799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have inserted a subscreen in to the existing screen an dcollected all the errors. and then displayed as ALV in the subscreen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 09:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-message-handlin/m-p/4602639#M1084799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T09:29:42Z</dc:date>
    </item>
  </channel>
</rss>

