<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286512#M786154</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;If you select the fields you want to display then you can code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;IF screen-name = &amp;lt;the selected field&amp;gt; or screen-name = &amp;lt;the selected field&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;screen-input=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Renjith Michael on Jan 11, 2008 5:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 11:53:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T11:53:08Z</dc:date>
    <item>
      <title>table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286507#M786149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to display only selected colums in table control&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286507#M786149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286508#M786150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kavitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table control&lt;/EM&gt; can be created in tow ways either by selecting the table control&lt;/P&gt;&lt;P&gt;icon from the elements toolbar or by using table control wizard in SE51 and drawing a table control area on the screen..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; If we use table control wizard  it takes mimimum of coding and effort to&lt;/P&gt;&lt;P&gt;create a workable table control.The wizard uses 7 dialogs .ABAP Code and screen flow logic statements are automatically generated for common functions like inserting new lines,selecting rows etc.&lt;/P&gt;&lt;P&gt;  In table control attributes we check/uncheck&lt;/P&gt;&lt;P&gt; 1) horizontal/vertical  separators.&lt;/P&gt;&lt;P&gt; 2)  with title ,if with title the name of the field.&lt;/P&gt;&lt;P&gt; 3) with column headers &lt;/P&gt;&lt;P&gt; 4) We have to select from single/multiple/none selection for&lt;/P&gt;&lt;P&gt;     rows and columns.&lt;/P&gt;&lt;P&gt; 5) If Line selection column is to be used  than the name of the Line Selection Column field is specified. This field is  of type C(1) and can be used to determine which record(s) were selected  by the user in PAI. A field of this name and type is generally the part of the internal table which will be used to display the data if multiple row selection has been checked in the attribute box,for a single line row selection a declaration in ABAP program with the same name and type is sufficient.&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;6) The number of fixed columns can be specified.They can be changed dynamically in ABAP program using tab_con-FIXED_COLS attribute.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Columns on Table Control&lt;/P&gt;&lt;P&gt;  The columns on table control are generally taken from the structure which is of same type  as internal table used for displaying values in the ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Reward if helpful.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286508#M786150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286509#M786151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kavitha,&lt;/P&gt;&lt;P&gt;you can display selected columns only,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) if you wana permanent view then select only those field&lt;/P&gt;&lt;P&gt;in table which you wana display,while creating that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if you wana dynamicaly select those field then you have to mention a option on screen for selecting field....and for that user command....you have to change attributes of table control on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward ia useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286509#M786151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286510#M786152</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 have selected fields only. Not only in table control but also for other screen fields also you can do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement &lt;STRONG&gt;Modify Screen&lt;/STRONG&gt; makes it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;MODIFY SCREEN &lt;A href="FROM wa"&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement can be used in the statement block after LOOP AT SCREEN only and makes sense only during PBO processing. If FROM is not specified, MODIFY SCREEN modifies the attributes of the current screen element with the values from the predefined screen work area. If a wa work area is specified, its contents are used for the modification. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The wa work area must have the same data type as screen. The name component must contain the name of the current screen element, otherwise the statement is not executed. nweisung nicht ausgeführt. Up to the group1 to group4 and length components, all remaining components of screen and wa must contain either the value 0 or 1. The value 0 deactivates the corresponding field attribute, and 1 activates it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If MODIFY SCREEN is executed during PBO processing, the modified attributes for the display of the screen affect the current dynpro after PBO processing. The attributes of the screen element of the dynpro are reset to their static attributes at the start of each PBO processing, so that the execution of MODIFY SCREEN during PAI processing does not effect the display of the following screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The active component &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The active component is used to set the input, output and invisible components at once. At the start of PBO processing, the active component always has the value 1. If active is set to 0 with MODIFY SCREEN, input and output are automatically set to 0 and invisible is set to 1. Other values in input, output and invisible are ignored. Conversely, setting input and output to 0 and invisible to 1 automatically sets active to 0 and a different value in active is ignored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modifications in Table Controls and Step Loops &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During processing of a table control or a step loop, the changes affect the current line of the table control or the current step loop group. Before the processing of a table control, the change to the attributes of a screen element that is part of a line in the table control does not effect the table control, since the values are transferred from the structure created using CONTROLS. Before a step loop is processed, the change to the attributes of a screen elements that is part of a step loop group affects all groups in the step loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modifications to Tabstrip Controls &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the active component for a tab title of a tabstrip control is set to 0, the whole tabstrip page is hidden. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;In the following PBO module, an input field called val is made mandatory and converted to display in the foreground. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE modify_0100 OUTPUT. &lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;    IF screen-name = 'VAL'. &lt;/P&gt;&lt;P&gt;      screen-required    = '1'. &lt;/P&gt;&lt;P&gt;      screen-intensified = '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;ENDMODULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286510#M786152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286511#M786153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI, &lt;/P&gt;&lt;P&gt;based on selected columns in selection screen i hav to display those columns in table control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286511#M786153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286512#M786154</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;If you select the fields you want to display then you can code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;IF screen-name = &amp;lt;the selected field&amp;gt; or screen-name = &amp;lt;the selected field&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;screen-input=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Renjith Michael on Jan 11, 2008 5:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3286512#M786154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:53:08Z</dc:date>
    </item>
  </channel>
</rss>

