<?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: lines in table control! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803949#M345113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply...i already have set it like this   TBLCTRL2-LINES = 3 - LINE_CNT...but the problem is in some scenarios, it is not working...my scenario is like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flowlogic - pbo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE TBLCTRL2_CHANGE_TC_ATTR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE TBLCTRL2_CHANGE_TC_ATTR OUTPUT.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE ITAB_TBL2 LINES TBLCTRL2-LINES.&lt;/P&gt;&lt;P&gt;  TBLCTRL2-LINES = 3 - LINE_CNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on teh variable line_cnt, i am setting the lines of the table control2, but if line_cnt is 0, all the lines are getting input enabled, which i don't want...or if the variable = 0, i want the total tblcontrol 2 to be input disabled...i have given screen-group = '111' for the 3 fields of the tablecontrol2 adn when i attempted the same with  the following set of coding, am getting the same result..in fact, some other buttons are getting disabled.. where am i going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; SCREEN-GROUP1 = '111'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;   screen-name = 'ITAB_TBL2-PEDTR'.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 12:21:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-20T12:21:00Z</dc:date>
    <item>
      <title>lines in table control!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803945#M345109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    i hav two table controls in my screen..based on some user action or selection made in the first table control 1, i need to set the no. of lines in the table control 2 input enabled/disabled..i.e. i need to set the tablecontrol2-lines through some selection made or double click done in table control 1...how to achieve this? i hav already posted a similar question to this one, but didn't get any reply..if somebody can walk me thru this issue it will be of great help to me...points will be rewarded...thanks all....will shoot the next qn if this issue is solved &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 11:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803945#M345109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T11:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: lines in table control!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803946#M345110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;       the solution approach is as follows..&lt;/P&gt;&lt;P&gt;lets assume u select 2 rows of the tablecontrol1 and press a button BUTT..&lt;/P&gt;&lt;P&gt;In the user command module we need to write the logic for BUTT wherein we can put the logic...in the internal table containing the records for Tablecontrol2 ..we need to put a flag for those records which need to be in Enabled/Disabled mode..then in the PBO u do the appropriate action while populating the Second Tablecontrol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 11:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803946#M345110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: lines in table control!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803947#M345111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you choose some user action, PAI will be triggered, here you need to set the lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using TC2-lines = 20. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'ENTER'.&lt;/P&gt;&lt;P&gt;tc2-lines = 20.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 11:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803947#M345111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: lines in table control!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803948#M345112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will be hlpful for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 11:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803948#M345112</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-20T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: lines in table control!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803949#M345113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply...i already have set it like this   TBLCTRL2-LINES = 3 - LINE_CNT...but the problem is in some scenarios, it is not working...my scenario is like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flowlogic - pbo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE TBLCTRL2_CHANGE_TC_ATTR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE TBLCTRL2_CHANGE_TC_ATTR OUTPUT.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE ITAB_TBL2 LINES TBLCTRL2-LINES.&lt;/P&gt;&lt;P&gt;  TBLCTRL2-LINES = 3 - LINE_CNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on teh variable line_cnt, i am setting the lines of the table control2, but if line_cnt is 0, all the lines are getting input enabled, which i don't want...or if the variable = 0, i want the total tblcontrol 2 to be input disabled...i have given screen-group = '111' for the 3 fields of the tablecontrol2 adn when i attempted the same with  the following set of coding, am getting the same result..in fact, some other buttons are getting disabled.. where am i going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; SCREEN-GROUP1 = '111'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;   screen-name = 'ITAB_TBL2-PEDTR'.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 12:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1803949#M345113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T12:21:00Z</dc:date>
    </item>
  </channel>
</rss>

