<?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 Table Control - Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966356#M396852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I created a table control with 5 columns.I want to update the values in the Table control (that is I want to change the value of one column).Then i want to post the values to a BAPI.How to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Feb 2007 10:49:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-19T10:49:38Z</dc:date>
    <item>
      <title>Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966356#M396852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I created a table control with 5 columns.I want to update the values in the Table control (that is I want to change the value of one column).Then i want to post the values to a BAPI.How to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 10:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966356#M396852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T10:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966357#M396853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can change the screen attributes by looping at the screen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; and based on the condition, change the attributes of the requireed elements and make them input enabled in the PBO of the screen.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After PAI,  when ever you do some operation, immediate update the internal table with the work area in between the loop and endlooop of the PAI.. so that the internal table behind table controle gets updated with the modiied values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And later you can transfer the modified contents to the BAPI in your required format...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 10:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966357#M396853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966358#M396854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u have a &lt;/P&gt;&lt;P&gt;loop at table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*add here a module&lt;/P&gt;&lt;P&gt;module user_cmd_update.&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module populate_bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;*in ur program&lt;/P&gt;&lt;P&gt;module user_cmd_update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append the workarea to table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module populate_bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'bapi'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966358#M396854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966359#M396855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how do i capture the data(that is changed) from the screen to my Internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966359#M396855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966360#M396856</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;In the Table Control Internal table Loop in the PAI Event, Create a module and insert following code in it.&lt;/P&gt;&lt;P&gt;MODIFY T_ITAB FROM WA_ITAM INDEX TC_CNTL-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;this will modify the value that the User has input in the Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966360#M396856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966361#M396857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish, if u see in the debugging,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u enter new values into your table control in the PAI event btw&lt;/P&gt;&lt;P&gt; loop at table&lt;/P&gt;&lt;P&gt;module some_module.&lt;/P&gt;&lt;P&gt;put a break point in the module above n see you will have all the values u entered row by row in the work area using which u created this table control which u populate into ur internal table&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966361#M396857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control - Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966362#M396858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the content changed can be captured using the work area of the internal table.. &lt;/P&gt;&lt;P&gt;In PAI.. in each and every iteration, each and every line can be updated with the curent loop's work area..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using MODIFY T_ITAB FROM WA_ITAM INDEX TC_CNTL-CURRENT_LINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can modify the internal table with the content modified...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-module-pool/m-p/1966362#M396858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:15:37Z</dc:date>
    </item>
  </channel>
</rss>

