<?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 regarding table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-control/m-p/3456467#M830465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have two rows in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;description                serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have made the table control through wizard and both are in display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the entries that gonna come in this will be, in description it will be either DIT or SHORTAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now depending on the description what i want if description is DIT then the serial number should become input enabled and if it is SHORTAGE then it should remain in display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the minimun number of entries that i assume will be in my internal tabl e is 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 11:35:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-19T11:35:46Z</dc:date>
    <item>
      <title>regarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-control/m-p/3456467#M830465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have two rows in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;description                serial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have made the table control through wizard and both are in display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the entries that gonna come in this will be, in description it will be either DIT or SHORTAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now depending on the description what i want if description is DIT then the serial number should become input enabled and if it is SHORTAGE then it should remain in display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the minimun number of entries that i assume will be in my internal tabl e is 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 11:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-control/m-p/3456467#M830465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T11:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: regarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-control/m-p/3456468#M830466</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;  Keep this code as a base and implement it for ur code. Check using if condition whether the description is DIT and give the necessary field as &lt;/P&gt;&lt;P&gt;screen-input = 1. (to make editable i.e. input  enabled)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module setscreenfields output.  " setting screen fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if flg1 is initial.&lt;/P&gt;&lt;P&gt;      screen-input = 0.                 "making screen fields uneditable&lt;/P&gt;&lt;P&gt;    elseif ( flg1 eq 1 ).&lt;/P&gt;&lt;P&gt;      if ( ( screen-name = 'WI_ZCUST-CUSTOMERNAME' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-ADDRESS' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-CITY' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-STATE' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-COUNTRY' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-PHONE' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-EMAIL' or&lt;/P&gt;&lt;P&gt;            screen-name = 'WI_ZCUST-FAX' )&lt;/P&gt;&lt;P&gt;            and table1-current_line &amp;lt;= sy-dbcnt ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        screen-input = 1.             "making screen fields editable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      elseif ( ( screen-name = 'WI_ZCUST-CUSTOMERID' or&lt;/P&gt;&lt;P&gt;      screen-name = 'WI_ZCUST-STATUS' ) and table1-current_line &amp;lt;= sy-dbcnt ).&lt;/P&gt;&lt;P&gt;        screen-input = 0. "making screen fields editable&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it solves ur problem,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 12:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-table-control/m-p/3456468#M830466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-19T12:21:36Z</dc:date>
    </item>
  </channel>
</rss>

