<?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: Re Utilize custom container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-utilize-custom-container/m-p/2809183#M656638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2007 20:17:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-04T20:17:36Z</dc:date>
    <item>
      <title>Re Utilize custom container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-utilize-custom-container/m-p/2809182#M656637</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;  Any suggestions are welcome regarding a program having 2 custom controls on same screen. One is used to display an ALV (which is editable) and other is used to display error messages (if any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement 1:&lt;/P&gt;&lt;P&gt;The application validates data in ALV Data changed event and displays any errors in below message cust control. This is handled by ALV (using Display Protocol of CL_ALV_CHAGED_DATA_PROTOCOL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement2:&lt;/P&gt;&lt;P&gt;To validate data that is NOT at all changed in Grid, hence I am unable to use the DATA_CHANGED event of ALV. I am validated this data outside ALV however &amp;lt;b&amp;gt;utilizing the same message custom control&amp;lt;/b&amp;gt; to display any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the 2 requirements dont match as one is managed by ALV and one is custom handled, the generation of messages could be either from req 1 or req 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this purpose I tried calling FREE method separately for both requirements to reconstruct container object each time used to display errors. However it leads to runtime error ALV grid (not sure why) on random clicks.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;When I dont use FREE method the messages from previous requirement dont get refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has ever tried reusing the same container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ankur Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 05:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-utilize-custom-container/m-p/2809182#M656637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T05:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re Utilize custom container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-utilize-custom-container/m-p/2809183#M656638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 20:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-utilize-custom-container/m-p/2809183#M656638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T20:17:36Z</dc:date>
    </item>
  </channel>
</rss>

