<?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: Table Control values getting refreshed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528912#M848971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Check with the attributes of the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example code given, try this..&lt;/P&gt;&lt;P&gt;Is ur table control has data in it, initially?? else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this in PBO to upload,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zcust_master2 into table wi_cust1.   &lt;/P&gt;&lt;P&gt;  tb-lines = sy-dbcnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*This uploads the table control with data from customer master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then keep a pushbutton to 'save'&lt;/P&gt;&lt;P&gt;and write the following code to save the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module tabctrl input.&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if save1 = 1.&lt;/P&gt;&lt;P&gt;        modify wi_cust1 index tb-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          modify zcust_master2 from table wi_cust1.&lt;/P&gt;&lt;P&gt;          message s005(zmsgbanks1).&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          message e006(zmsgbanks1).&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Feb 2008 04:58:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-29T04:58:47Z</dc:date>
    <item>
      <title>Table Control values getting refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528909#M848968</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 a table control in which i have two input fields...If i enter some valid values and click enter the values get cleared off !! Can any one tell me how to retain those ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 21:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528909#M848968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T21:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control values getting refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528910#M848969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone pls help me out with this issue.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 22:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528910#M848969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T22:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control values getting refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528911#M848970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody have an idea how to do this ?? Pls help me out.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 04:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528911#M848970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T04:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control values getting refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528912#M848971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Check with the attributes of the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example code given, try this..&lt;/P&gt;&lt;P&gt;Is ur table control has data in it, initially?? else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this in PBO to upload,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zcust_master2 into table wi_cust1.   &lt;/P&gt;&lt;P&gt;  tb-lines = sy-dbcnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*This uploads the table control with data from customer master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then keep a pushbutton to 'save'&lt;/P&gt;&lt;P&gt;and write the following code to save the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module tabctrl input.&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if save1 = 1.&lt;/P&gt;&lt;P&gt;        modify wi_cust1 index tb-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          modify zcust_master2 from table wi_cust1.&lt;/P&gt;&lt;P&gt;          message s005(zmsgbanks1).&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          message e006(zmsgbanks1).&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 04:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528912#M848971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T04:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control values getting refreshed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528913#M848972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the following simple ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE TC1_MODIFY INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING ZFG_SRNO TO  G_TC1_ITAB.&lt;/P&gt;&lt;P&gt;  MODIFY G_TC1_ITAB INDEX TC1-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;  G_TC1_COPIED = 'X'.&lt;/P&gt;&lt;P&gt;  REFRESH CONTROL 'TC1' FROM SCREEN '8001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 05:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-values-getting-refreshed/m-p/3528913#M848972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T05:15:12Z</dc:date>
    </item>
  </channel>
</rss>

