<?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 Table Control In module pool Programme in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-programme/m-p/3485702#M838045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i change Attribute of table control programmatically like input = 0 or 1??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then give me code???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i make one row of table control As input when user press button???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its Urgent..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 12:47:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-06T12:47:43Z</dc:date>
    <item>
      <title>Table Control In module pool Programme</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-programme/m-p/3485702#M838045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i change Attribute of table control programmatically like input = 0 or 1??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then give me code???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i make one row of table control As input when user press button???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its Urgent..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 12:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-programme/m-p/3485702#M838045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T12:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control In module pool Programme</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-programme/m-p/3485703#M838046</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;You can display or enter single structured lines of data using a table control.&lt;/P&gt;&lt;P&gt;Features:&lt;/P&gt;&lt;P&gt;Resizable table for displaying and editing data&lt;/P&gt;&lt;P&gt;The user or program can change the column width and position, save the changes, and reload them later&lt;/P&gt;&lt;P&gt;Check column for marking lines - marked lines are highlighted in a different color&lt;/P&gt;&lt;P&gt;Line selection: Single lines, multiple lines, all lines, and deselection&lt;/P&gt;&lt;P&gt;Column headings double as pushbuttons for marking columns&lt;/P&gt;&lt;P&gt;Scrollbars for horizontal and vertical scrolling&lt;/P&gt;&lt;P&gt;You can fix any number of key (leading) columns&lt;/P&gt;&lt;P&gt;Cell attributes are variable at runtime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control contains a series of attributes that are controlled entirely at the presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are:&lt;/P&gt;&lt;P&gt;Horizontal scrolling using the scrollbar in the table control&lt;/P&gt;&lt;P&gt;Swapping columns&lt;/P&gt;&lt;P&gt;Changing column widths&lt;/P&gt;&lt;P&gt;Selecting columns&lt;/P&gt;&lt;P&gt;Selecting lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PAI processing block is triggered when you scroll vertically in the table control or save the user&lt;/P&gt;&lt;P&gt;configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can reset a table control to its initial attributes at any time using the statement REFRESH&lt;/P&gt;&lt;P&gt;CONTROL &amp;lt;ctrl&amp;gt; FROM SCREEN &amp;lt;scr&amp;gt;. &amp;lt;scr&amp;gt; does not have to be the same as the initial screen of&lt;/P&gt;&lt;P&gt;the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control attributes, saved at runtime in the structure that you declared in the CONTROLS&lt;/P&gt;&lt;P&gt;statement, can be divided into general attributes and column attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The general attributes contain information about the properties of the entire table control, such as the&lt;/P&gt;&lt;P&gt;number of fixed columns, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column attributes are saved in an internal table (one entry for each column). Each column consists&lt;/P&gt;&lt;P&gt;of the attributes from the structure SCREEN, along with the column position, selection indicator, visibility&lt;/P&gt;&lt;P&gt;indicator, and visible width of the column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change a table control dynamically by modifying the contents of the fields in the table control&lt;/P&gt;&lt;P&gt;structure declared in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields of the table control structure also provide information about user interaction with the table&lt;/P&gt;&lt;P&gt;control. For example, you can use the selected field to determine whether the user has selected a&lt;/P&gt;&lt;P&gt;particular column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Permanent changes: You can carry out changes to the table&lt;/P&gt;&lt;P&gt;control structure at any point in the program flow.&lt;/P&gt;&lt;P&gt;Temporary changes: You must carry out changes between&lt;/P&gt;&lt;P&gt;LOOP and ENDLOOP in the flow logic of the subscreen container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To change the attributes of individual cells temporarily, change the table SCREEN in a PBO module&lt;/P&gt;&lt;P&gt;that you process between LOOP and ENDLOOP in the flow logic (LOOP AT SCREEN, MODIFY&lt;/P&gt;&lt;P&gt;SCREEN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the LOOP, the runtime system initializes the attributes set statically for the table control in the Screen&lt;/P&gt;&lt;P&gt;Painter. You can only change these in a module called from a LOOP through the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE change_table_control_2 ...&lt;/P&gt;&lt;P&gt;LOOP AT my_control-cols INTO wa.&lt;/P&gt;&lt;P&gt;IF wa-index BETWEEN 1 AND 3.&lt;/P&gt;&lt;P&gt;wa-screen-intensified = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;wa-screen-intensified = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY my_control-cols FROM wa.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 12:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-programme/m-p/3485703#M838046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T12:57:23Z</dc:date>
    </item>
  </channel>
</rss>

