<?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 table control in module pool screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736352#M1457915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;has your problem been resolved? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes please suggest how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VireN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 May 2010 14:35:52 GMT</pubDate>
    <dc:creator>tech_viren</dc:creator>
    <dc:date>2010-05-28T14:35:52Z</dc:date>
    <item>
      <title>Dynamic table control in module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736350#M1457913</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 have got a requirement that in the module pool program i need to create a table control which is going to be dynamic i.e number of columns to be displayed in the screen is going to vary based on the one of the table entries. for example the requirement is as follows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to displaye list of bikes available in different states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;State     Bike1    Bike2      Bike3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AP           2             3           1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MP            4            6            7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently i have only 3 three types of bike, this may increase to 7 by next year or decrease and this functionality I require dynamically, Can you help on the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736350#M1457913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table control in module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736351#M1457914</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 kindly refer to the WIKI: [http://wiki.sdn.sap.com/wiki/display/Snippets/Program&lt;EM&gt;for&lt;/EM&gt;dynamic&lt;EM&gt;table&lt;/EM&gt;display|http://wiki.sdn.sap.com/wiki/display/Snippets/Program&lt;EM&gt;for&lt;/EM&gt;dynamic&lt;EM&gt;table&lt;/EM&gt;display]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 13:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736351#M1457914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T13:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table control in module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736352#M1457915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;has your problem been resolved? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes please suggest how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VireN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 14:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736352#M1457915</guid>
      <dc:creator>tech_viren</dc:creator>
      <dc:date>2010-05-28T14:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table control in module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736353#M1457916</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;Perhaps, you can do it with ALV... your field catalog is dynamic... and you can do user command too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 15:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736353#M1457916</guid>
      <dc:creator>sylvain_vels</dc:creator>
      <dc:date>2010-05-28T15:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table control in module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736354#M1457917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In ALV it is possible it is sure but same we can achieve with table control also.&lt;/P&gt;&lt;P&gt;There is one standard tcode where we can take reference.&lt;/P&gt;&lt;P&gt;MD61 shows table control with dynamic labels and columns.&lt;/P&gt;&lt;P&gt;I am also checking for the same reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Maharshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736354#M1457917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-02T11:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic table control in module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736355#M1457918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it,&lt;/P&gt;&lt;P&gt;Just try the code,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have requirement like to make changes in the same screen itself,&lt;/P&gt;&lt;P&gt;then follow the same thing in PAI Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In PBO...

PROCESS BEFORE OUTPUT.
MODULE STATUS.
LOOP WITH CONTROL TABCTRL.
MODULE MODIFY_100.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE MODIFY_100 OUTPUT.
 
DATA wa_tabctrl TYPE cxtab_column .
 
LOOP AT TABCTRL-COLS INTO WA_TABCTRL.
      IF WA_TABCTRL-NAME =  'BIKE3'.                    
        WA_TABCTRL-SCREEN-INVISIBLE =  '1'. 
        MODIFY TABCTRL-COLS FROM WA_TABCTRL.
      ENDIF.
ENDLOOP.
 
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 12:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-in-module-pool-screen/m-p/6736355#M1457918</guid>
      <dc:creator>surajarafath</dc:creator>
      <dc:date>2011-11-02T12:05:44Z</dc:date>
    </item>
  </channel>
</rss>

