<?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: Add fields in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120955#M741118</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;JUST CHECK THE LINKS BELOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="237440"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="257092"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="237395"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1154215"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="832399"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I hide a column in a table control at runtime? 1. define group name(s) for the columns to be hidden &lt;/P&gt;&lt;P&gt;2. Add the following code... &lt;/P&gt;&lt;P&gt;(define) &lt;/P&gt;&lt;P&gt;controls tbl_ctrl type tableview ... &lt;/P&gt;&lt;P&gt;wa like tbl_ctrl-cols. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at tbl_ctrl-cols into wa. &lt;/P&gt;&lt;P&gt;if wa-screen-group1 = &amp;lt;group defined for the column&amp;gt; &lt;/P&gt;&lt;P&gt;wa-invisible = 1. &lt;/P&gt;&lt;P&gt;modify tbl_ctrl-cols from wa &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;How do I change attributes of an item in a screen and in a table control at runtime? &lt;/P&gt;&lt;P&gt;add the following code in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen. &lt;/P&gt;&lt;P&gt;if screen-name = 'NAME_OF_FIELD_HERE_IN_CAPS'. &lt;/P&gt;&lt;P&gt;set attributes of screen such as REQUIRED, INPUT, OUTPUT, INTENSIFIED, INVISIBLE, ACTIVE, DISPLAY_3D, VALUE_HELP to 1(ON) or 0(OFF) &lt;/P&gt;&lt;P&gt;e.g. screen-output = 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;&lt;/P&gt;&lt;P&gt;if the field is part of a table control, put the above code within the the loop...endloop of the table control in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add a coloumn to table control by simply dragging i/o field to the table control and set the name for it.For header u have to drag label box on to the top of that coloumn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u find useful award some points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2007 04:58:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-03T04:58:04Z</dc:date>
    <item>
      <title>Add fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120954#M741117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to add one more field in table control (i.e. one more column).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can add the desired field??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 04:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120954#M741117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T04:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120955#M741118</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;JUST CHECK THE LINKS BELOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="237440"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="257092"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="237395"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1154215"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="832399"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I hide a column in a table control at runtime? 1. define group name(s) for the columns to be hidden &lt;/P&gt;&lt;P&gt;2. Add the following code... &lt;/P&gt;&lt;P&gt;(define) &lt;/P&gt;&lt;P&gt;controls tbl_ctrl type tableview ... &lt;/P&gt;&lt;P&gt;wa like tbl_ctrl-cols. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at tbl_ctrl-cols into wa. &lt;/P&gt;&lt;P&gt;if wa-screen-group1 = &amp;lt;group defined for the column&amp;gt; &lt;/P&gt;&lt;P&gt;wa-invisible = 1. &lt;/P&gt;&lt;P&gt;modify tbl_ctrl-cols from wa &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;How do I change attributes of an item in a screen and in a table control at runtime? &lt;/P&gt;&lt;P&gt;add the following code in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen. &lt;/P&gt;&lt;P&gt;if screen-name = 'NAME_OF_FIELD_HERE_IN_CAPS'. &lt;/P&gt;&lt;P&gt;set attributes of screen such as REQUIRED, INPUT, OUTPUT, INTENSIFIED, INVISIBLE, ACTIVE, DISPLAY_3D, VALUE_HELP to 1(ON) or 0(OFF) &lt;/P&gt;&lt;P&gt;e.g. screen-output = 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;&lt;/P&gt;&lt;P&gt;if the field is part of a table control, put the above code within the the loop...endloop of the table control in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add a coloumn to table control by simply dragging i/o field to the table control and set the name for it.For header u have to drag label box on to the top of that coloumn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u find useful award some points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 04:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120955#M741118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T04:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add fields in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120956#M741119</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;please check this , it may help you out.&lt;/P&gt;&lt;P&gt;Select the desired field name from the dictionary/program fields button or press f6.&lt;/P&gt;&lt;P&gt;you can choose the field name and then just drag and drop the filed name in the desired column of the tablecontrol.then give header by using a text field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgards,&lt;/P&gt;&lt;P&gt;Soumya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 06:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-fields-in-table-control/m-p/3120956#M741119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T06:23:28Z</dc:date>
    </item>
  </channel>
</rss>

