<?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 - Selective cell input in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889786#M53190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me answers for some ques. for more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U want only one cell disable from the whole column, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In loop at screen r u using index with attribute name?&lt;/P&gt;&lt;P&gt;Means if yr column name is emp_name then, r u disable column  emp_name or emp_name(3), where index three specifies column field in third row. I think it will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Feb 2005 12:00:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-04T12:00:34Z</dc:date>
    <item>
      <title>Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889785#M53189</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 am stuck with a problem with the table control. I want to change the Input attribute for a particular cell only and not for the entire column. An example is when creating a new Z table, we can click on "Data Element/Direct Type' button to enable/disable certain cells in different columns instead of the entire column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So while the 1st row may have the Data Element cell ready for input and others as disabled, the other rows will have that column disabled and columns "Data Type", "Length" and "Dec. Pl." columns ready for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried looping through the table control's int. table upto a desired row and then changing the INPUT attribute within the LOOP AT SCREEN loop, but to no avail. It affects the entire column. Plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2005 10:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889785#M53189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-04T10:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889786#M53190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me answers for some ques. for more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U want only one cell disable from the whole column, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In loop at screen r u using index with attribute name?&lt;/P&gt;&lt;P&gt;Means if yr column name is emp_name then, r u disable column  emp_name or emp_name(3), where index three specifies column field in third row. I think it will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2005 12:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889786#M53190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-04T12:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889787#M53191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs. You have understood my requirements perfectly. I am using the following code to change the INPUT attribute:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME = 'IT_ORGAS-EMPLCODE'.&lt;/P&gt;&lt;P&gt;      LOOP AT IT_ORGAS.&lt;/P&gt;&lt;P&gt;        IF IT_ORGAS-SEL_COL = 'X'.&lt;/P&gt;&lt;P&gt;          SCREEN-INPUT = '1'.&lt;/P&gt;&lt;P&gt;          MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where,&lt;/P&gt;&lt;P&gt;a) IT_ORGAS is the internal table used by the Table control,&lt;/P&gt;&lt;P&gt;b) IT_ORGAS-SEL_COL is the name of the w/SelColumn parameter of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the changes to the table control are made using the structure SCREEN that contains all atrributes of the table, there is no way that i can specify the name of the column directly along with the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case, you have another way of referring the columns' attributes, please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2005 12:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889787#M53191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-04T12:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889788#M53192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to LOOP AT SCREEN for each line of your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO logic you should have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
MODULE SET_ATTRIB.
  LOOP AT itab INTO wa_itab WITH CONTROL my_control.
ENDMODULE.

MODULE SET_ATTRIB.
  LOOP AT SCREEN.
    IF ...
      SCREEN-INPUT = 1.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This allows you to set the screen attributes one row at a time, i.e row oriented instead of column oriented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know how it goes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2005 14:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889788#M53192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-04T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889789#M53193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot man. Its simple logic, but did'nt strike me. Great going man! Really appreciate it. It really did solve the problem in one go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take care,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2005 05:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889789#M53193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-05T05:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889790#M53194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the same problem which you were. You are saying that your problem is solved but my problem is still unsolved. can you please tell me in detail about this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it but it applied for whole column and not for cell.&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;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 06:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889790#M53194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T06:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889791#M53195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sharad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO you just add following lines,with assumption that you have table contol which all columns and disable &amp;amp; you want to enable only 3 column's some perticular field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab WITH CONTROL my_control.&lt;/P&gt;&lt;P&gt; MODULE Loop_Screen.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------" /&gt;&lt;P&gt;MODULE Loop_Screen OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF my_control-current_line = 3 .&lt;/P&gt;&lt;P&gt;      IF SCREEN-NAME = 'itab-fieldName' .&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 06:31:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889791#M53195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T06:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889792#M53196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. Really appreciate it. &lt;/P&gt;&lt;P&gt;It really did solve my problem.&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;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 06:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889792#M53196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T06:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Selective cell input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889793#M53197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sharad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its great that Sunil managed to solve your problem. The logic really is simple. Its just that the Modify Screen is to be called from inside the loop. Then it applies only to the row that is being procesed currently &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunil &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2005 08:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-selective-cell-input/m-p/889793#M53197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-15T08:19:27Z</dc:date>
    </item>
  </channel>
</rss>

