<?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: Module Pool Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744968#M1302236</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 achieve the same by adding a push button on the Dynpro. You need to handle the user action at the Process After Input event of the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have a look at the SAP Demo Code on Table Control which will give you a good idea as to how to proceed with the toggle display change functionality. Also this code will give you an idea about the addition of the rows in the table control. The Demo Report is &lt;STRONG&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any more details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2009 15:31:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-27T15:31:41Z</dc:date>
    <item>
      <title>Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744966#M1302234</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;Can any one solve my Problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display data in Module Pool Table control. I have completed this.&lt;/P&gt;&lt;P&gt;But my problem is at the end of the all records there should be provision to give new input values. I have to arrange one Push button say u2018DISPu2019 .After clicking this push button the new entry should be displayed and input disabled mode. Again I should able to give new values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 14:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744966#M1302234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744967#M1302235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first goto screen layout and add button and add function key for the button and use &lt;/P&gt;&lt;P&gt;the same function in PBO for screen disable and enalbel logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to disable the table control fields write the Logic in the PBO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
* Module screen GUI-Screen&amp;amp;Status and Screen Logic
  MODULE status_1020.

* Table control for OUTPUT 
  LOOP AT t_zcxref_classes INTO wa_zcxref_classes
       WITH CONTROL tc_batch .
    MODULE charac_classname_out.
  ENDLOOP.

MODULE charac_classname_out OUTPUT.

if sy-ucomm = 'DISP' or OK_CODE = 'DISP'.
* Table control reading values from input screen &amp;amp; displaying on screen
  READ TABLE t_zcxref_classes INTO wa_zcxref_classes
                            INDEX tc_batch-current_line.

* Logic for screen to make display mode when data is entered
  IF wa_zcxref_classes-required_flag  is not initial.
    LOOP AT SCREEN.
      IF screen-name = 'WA_ZCXREF_CLASSES'.    "passing work area of a particular line to make disable mode
        screen-input = 0.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.

endif.
ENDMODULE.                 " CHARAC_CLASSNAME_OUT  OUTPUT


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 14:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744967#M1302235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744968#M1302236</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 achieve the same by adding a push button on the Dynpro. You need to handle the user action at the Process After Input event of the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have a look at the SAP Demo Code on Table Control which will give you a good idea as to how to proceed with the toggle display change functionality. Also this code will give you an idea about the addition of the rows in the table control. The Demo Report is &lt;STRONG&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any more details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 15:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/5744968#M1302236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T15:31:41Z</dc:date>
    </item>
  </channel>
</rss>

