<?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: Changing field lable (header) in Table control. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848822#M1133971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO you can loop through system table called SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you loop through SCREEN you can find all the screen elementes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = 'XXX'.&lt;/P&gt;&lt;P&gt;IF your own conditions.&lt;/P&gt;&lt;P&gt;screen-name = 'YOUR OWN SCREEN NAME'&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;&lt;/P&gt;&lt;P&gt;This is to best of my knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2008 05:29:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-25T05:29:42Z</dc:date>
    <item>
      <title>Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848819#M1133968</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;        I am currently working on a table control. The requirement is to change the label in the column heading dynamically based on few conditions. Could any one please help me in finding out a way for changing the heading labels dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example stated below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Totally 4 columns in table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;|  Value      |  Description      |  Tag 1 (should be dynamic)  |  Tag2 (should be dynamic)*                        -&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;|   1            |   Hai                | 2121212                             | 212122222 &lt;/P&gt;&lt;P&gt;|   2            |   welcome        | 43424234                           | 234234444324 &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks in Advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 05:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848819#M1133968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T05:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848820#M1133969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Table_Control.htm" target="test_blank"&gt;http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Table_Control.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 05:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848820#M1133969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848821#M1133970</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;Refer to this link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nwce10/helpdata/en/44/bca11fc60b7006e10000000a155369/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nwce10/helpdata/en/44/bca11fc60b7006e10000000a155369/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will give an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.Tharani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 05:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848821#M1133970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T05:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848822#M1133971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO you can loop through system table called SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you loop through SCREEN you can find all the screen elementes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-name = 'XXX'.&lt;/P&gt;&lt;P&gt;IF your own conditions.&lt;/P&gt;&lt;P&gt;screen-name = 'YOUR OWN SCREEN NAME'&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;&lt;/P&gt;&lt;P&gt;This is to best of my knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 05:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848822#M1133971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T05:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848823#M1133972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha, &lt;/P&gt;&lt;P&gt;            Many thanks for your reply. The document you have sent is really a good one, but it do not throw much light on changing the column header text (label). If you could provide me some more info on changing the label that should be of great help to me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Tharani, &lt;/P&gt;&lt;P&gt;            Many thanks for your reply. The link you have attached is a good one, but it has no information on changing the label on a module pool screen. It details only about SAP forms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Ramchander, &lt;/P&gt;&lt;P&gt;            Many thanks for your reply. I have already tried it that way and it dint work out. The screen looping is possible for only for changing the contents of an output fields on a module pool screen, but not for table control column header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you all please throw me some more light on this issue. &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;Shiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 06:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848823#M1133972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T06:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848824#M1133973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen editor, you can delete the header fields manually. The i/o table fields will remain in the table control. After you deleted the header text, you can fill the gap with a field from your own program. In your program you can dynamically fill the value of that new header field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took me a few times to really get it done, but finally I coud convince the screen editor that there was really enough space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Bertil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 21:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848824#M1133973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T21:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing field lable (header) in Table control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848825#M1133974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If suppose your header file name is such as field1 ,field2,field3,field4 of have a length of 10 characters on the screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now declare the same name variable in the your program such as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : field1(10) type c,&lt;/P&gt;&lt;P&gt;         field2(10) type c,&lt;/P&gt;&lt;P&gt;         field3(10) type c,&lt;/P&gt;&lt;P&gt;         field4(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now where you have some condition based on the names you need to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At that place just include the text in this field .This will display on the screen.&lt;/P&gt;&lt;P&gt;Just make sure the name is same both in program &amp;amp; screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you to resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joginder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 23:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-field-lable-header-in-table-control/m-p/4848825#M1133974</guid>
      <dc:creator>joginder_singh</dc:creator>
      <dc:date>2008-12-22T23:20:37Z</dc:date>
    </item>
  </channel>
</rss>

