<?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: Dynamic header in table control doesn't work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-header-in-table-control-doesn-t-work/m-p/11900417#M1962251</link>
    <description>&lt;P&gt;Hi people! I find the solution just now. In the PBO the table control is fill in previously of the init module. I can change all fields in any point of the PBO but in order to change the view of a table control we have to "paint it" before load any data to the table control.&lt;/P&gt;&lt;P&gt;Thank you if you try to help me. &lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 13:04:02 GMT</pubDate>
    <dc:creator>former_member230234</dc:creator>
    <dc:date>2019-05-09T13:04:02Z</dc:date>
    <item>
      <title>Dynamic header in table control doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-header-in-table-control-doesn-t-work/m-p/11900416#M1962250</link>
      <description>&lt;P&gt;Hi! I'm trying to assign dynamic headers to columns in a table control of a dynpro.&lt;/P&gt;
  &lt;P&gt;I create a I/O field instead a the text field:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1683509-captura.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I create a global variable TEXT_AZT and I try to assign te text from a table.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;LOOP AT SCREEN. 
  IF screen-name = 'TEXT_AZT'. 
    CLEAR ls_wcm_dycon. 
    READ TABLE lt_wcm_dycon INTO ls_wcm_dycon 
               WITH KEY dynpro_obj = 'TEXT-AZT' 
               BINARY SEARCH. 
    IF ls_wcm_dycon-con_mask = 'X'. 
      READ TABLE lt_wcm_dycon_t INTO ls_wcm_dycon_t 
                 WITH KEY dynpro_obj = 'TEXT-AZT' 
                 BINARY SEARCH.
      TEXT_AZT = ls_wcm_dycon_t-mascara. 
      MODIFY SCREEN. 
    ENDIF. 
  ENDIF. 
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But It doesn't work and the header appears with blank. Anybody knows what am I doing wrong? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 12:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-header-in-table-control-doesn-t-work/m-p/11900416#M1962250</guid>
      <dc:creator>former_member230234</dc:creator>
      <dc:date>2019-05-07T12:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic header in table control doesn't work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-header-in-table-control-doesn-t-work/m-p/11900417#M1962251</link>
      <description>&lt;P&gt;Hi people! I find the solution just now. In the PBO the table control is fill in previously of the init module. I can change all fields in any point of the PBO but in order to change the view of a table control we have to "paint it" before load any data to the table control.&lt;/P&gt;&lt;P&gt;Thank you if you try to help me. &lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 13:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-header-in-table-control-doesn-t-work/m-p/11900417#M1962251</guid>
      <dc:creator>former_member230234</dc:creator>
      <dc:date>2019-05-09T13:04:02Z</dc:date>
    </item>
  </channel>
</rss>

