<?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: modify the table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496038#M840852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan for the response. I was asking to default in the field level itself in the table control for the list box and not filling the list box with default values. I need to take on the drop down default values as a defaul value in table control listbox field so that the user can see the default value when he enters the screen. The table control has 100 lines and the listbox should be defaulted to the 100 lines. Right now i have done looping through the table and defaulting in the program. But is there anyway to do it in the screen painter itself? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Mar 2008 06:08:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-09T06:08:01Z</dc:date>
    <item>
      <title>modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496031#M840845</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;In a table control, there are two fields. User enters value for one of them and misses another. I am giving an information message to enter the value for the second field. But how do I modify the internal table once the user enters the value. Right now, it is appending the value as the third entry in the internal table since I am using an append statement. How to use the modify table statement in this scenario? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496031#M840845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496032#M840846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*check following code ,if its old entry then internal table will be modified otherwise new entry will be added&lt;/P&gt;&lt;P&gt;wa_tab is the table control workarea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY it_tab FROM wa_tab INDEX tc_tab-current_line.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    APPEND wa_tab TO it_tab.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496032#M840846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496033#M840847</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;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Appending records to the internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE zmatnr INPUT.&lt;/P&gt;&lt;P&gt;MODIFY i_makt INDEX t_ctrl-current_line.&lt;/P&gt;&lt;P&gt;IF t_ctrl-current_line GT ln.&lt;/P&gt;&lt;P&gt;READ TABLE i_makt WITH KEY zmatnr = i_makt-zmatnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inserting record if it does not exist in database&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;APPEND i_makt.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MESSAGE i005 WITH 'Material Number' i_makt-zmatnr 'already exists'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Module set_status OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Setting the GUI status&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE set_status OUTPUT.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'ZSTATUS'.&lt;/P&gt;&lt;P&gt;SET TITLEBAR 'ZTITLE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " set_status OUTPUT&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Module CHECK INPUT&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Modify the internal table using the current line in table control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;MODULE check INPUT.&lt;/P&gt;&lt;P&gt;MODIFY i_makt INDEX t_ctrl-current_line.&lt;/P&gt;&lt;P&gt;ENDMODULE. " CHECK INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample program.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496033#M840847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496034#M840848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sagar and Priyadarshini.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks...Given points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 06:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496034#M840848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T06:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496035#M840849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question. Has anybody worked on defaulting the value in a listbox in a table control which has 4 values. I am using VRM_SET_VALUES for the drop down values but I am want to make one of the values as default in the table control while on the PBO event of the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 16:18:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496035#M840849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T16:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496036#M840850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody? Appreciate any response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 07:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496036#M840850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T07:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496037#M840851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you set the screen field to the value you want as default in the PBO, then the listbox should show that value at runtime... e.g. in the example I posted at&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4434362"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the company and country both get defaulted (the listbox1 content drives the listbox2 value in that example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2008 02:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496037#M840851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-09T02:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496038#M840852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan for the response. I was asking to default in the field level itself in the table control for the list box and not filling the list box with default values. I need to take on the drop down default values as a defaul value in table control listbox field so that the user can see the default value when he enters the screen. The table control has 100 lines and the listbox should be defaulted to the 100 lines. Right now i have done looping through the table and defaulting in the program. But is there anyway to do it in the screen painter itself? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2008 06:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496038#M840852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-09T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: modify the table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496039#M840853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I was trying to point out in the sample code both the fill of the listbox and the defaulting in of the initial value on the screen... as for the table control, no I can't think of a way to default any field values into the screen - so I reckon you will need to do this by setting the initial value for the internal table that mirrors the table control, or during PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2008 11:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-the-table-control/m-p/3496039#M840853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-09T11:28:39Z</dc:date>
    </item>
  </channel>
</rss>

