<?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 Table Control Should Get Cleared in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125720#M1618852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL THE GURUS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a module pool having dropdown of Header Values in first subscreen and a table control below it in next subscreen.&lt;/P&gt;&lt;P&gt;The columns of table control are Detail Desc , Val , Remarks ,Old Value .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects a header value then based on that Detail Desc should be filled and if for that detail ifr there is any old value and remarks then it should also come. For the first time it is working firne. In val the user can enter new value and the remarks can be changed. then save. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After saving the user picks another header value and press enter but this time again under Detail Desc new values are coming corresponding to the header value but in Val the value which was entered previously for the first header value selected is coming. At the time of saving data it should also read the value entered in Val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to clear the data of table control each time when new header value is selected. I have already searched in forums but could not find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 06:03:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-09T06:03:34Z</dc:date>
    <item>
      <title>Table Control Should Get Cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125720#M1618852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL THE GURUS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a module pool having dropdown of Header Values in first subscreen and a table control below it in next subscreen.&lt;/P&gt;&lt;P&gt;The columns of table control are Detail Desc , Val , Remarks ,Old Value .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects a header value then based on that Detail Desc should be filled and if for that detail ifr there is any old value and remarks then it should also come. For the first time it is working firne. In val the user can enter new value and the remarks can be changed. then save. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After saving the user picks another header value and press enter but this time again under Detail Desc new values are coming corresponding to the header value but in Val the value which was entered previously for the first header value selected is coming. At the time of saving data it should also read the value entered in Val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to clear the data of table control each time when new header value is selected. I have already searched in forums but could not find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125720#M1618852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-09T06:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Should Get Cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125721#M1618853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you will have to refresh the internal table before populating it with the values selected for the second time. Try doing this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PBO of the screen.&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;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125721#M1618853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-09T06:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Should Get Cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125722#M1618854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per I understood your issue , When New Header is entered check it with your table entries , clear the table holding the contents of table control on saving and repopulate on every Header Input.  &lt;/P&gt;&lt;P&gt;Kindly expalin if you are expecting anything else.\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125722#M1618854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-09T06:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Should Get Cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125723#M1618855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Bharti ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select detail data  in table control internal table  on the basis  of  Header data for selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before getting data for selection based  do clear  or  refresh data  and  again do getdata  for header data   . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:26:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125723#M1618855</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-09-09T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Should Get Cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125724#M1618856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used REFRESH to lear the entries of internal table after save. &lt;/P&gt;&lt;P&gt;After that again I am fetching the data based on the header value selected.&lt;/P&gt;&lt;P&gt;It is coming correct.&lt;/P&gt;&lt;P&gt;But in PAI as shown in the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT T_ZINPP_LOGDATA.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD: T_ZINPP_LOGDATA-DETAIL_DESC,&lt;/P&gt;&lt;P&gt;             T_ZINPP_LOGDATA-VAL_NUM,&lt;/P&gt;&lt;P&gt;             T_ZINPP_LOGDATA-VAL_CHAR,&lt;/P&gt;&lt;P&gt;             T_ZINPP_LOGDATA-REMARKS,&lt;/P&gt;&lt;P&gt;             T_ZINPP_LOGDATA-OLD_VALUE,&lt;/P&gt;&lt;P&gt;             T_ZINPP_LOGDATA-OLD_DATE,&lt;/P&gt;&lt;P&gt;             T_ZINPP_LOGDATA-OLD_TIME.&lt;/P&gt;&lt;P&gt;      MODULE LOG_MODIFY.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In T_ZINPP_LOGDATA-VAL_NUM,  T_ZINPP_LOGDATA-VAL_CHAR,   T_ZINPP_LOGDATA-REMARKS, it is holding the value that was previously entered for header value selected first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to clear these values ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 06:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125724#M1618856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-09T06:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Should Get Cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125725#M1618857</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;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;LOOP AT T_ZINPP_LOGDATA.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD: T_ZINPP_LOGDATA-DETAIL_DESC,&lt;/P&gt;&lt;P&gt;T_ZINPP_LOGDATA-VAL_NUM,&lt;/P&gt;&lt;P&gt;T_ZINPP_LOGDATA-VAL_CHAR,&lt;/P&gt;&lt;P&gt;T_ZINPP_LOGDATA-REMARKS,&lt;/P&gt;&lt;P&gt;T_ZINPP_LOGDATA-OLD_VALUE,&lt;/P&gt;&lt;P&gt;T_ZINPP_LOGDATA-OLD_DATE,&lt;/P&gt;&lt;P&gt;T_ZINPP_LOGDATA-OLD_TIME.&lt;/P&gt;&lt;P&gt;MODULE LOG_MODIFY.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module clear  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in driving program .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module  clear  input .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear :  T_ZINPP_LOGDATA .&lt;/P&gt;&lt;P&gt;refresh :  T_ZINPP_LOGDATA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See that you clear details table  also and again  getdata  on selection  " USE PROPER CONDITION FOR GETTING DATA IN PBO  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 07:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-should-get-cleared/m-p/8125725#M1618857</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-09-09T07:05:49Z</dc:date>
    </item>
  </channel>
</rss>

