<?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 Detailed table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522056#M847128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can any one give me a detailed example of table control with all those fuctionalities like "select all rows"&lt;/P&gt;&lt;P&gt;"deselect all rows", "add a new row","delete all rows"......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2008 04:56:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-13T04:56:39Z</dc:date>
    <item>
      <title>Detailed table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522056#M847128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can any one give me a detailed example of table control with all those fuctionalities like "select all rows"&lt;/P&gt;&lt;P&gt;"deselect all rows", "add a new row","delete all rows"......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 04:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522056#M847128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T04:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Detailed table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522057#M847129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Ref below prg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demo_dynpro_tabcont_loop&lt;/P&gt;&lt;P&gt;demo_dynpro_tabcont_loop_at&lt;/P&gt;&lt;P&gt;demo_dynpro_step_loop&lt;/P&gt;&lt;P&gt;RSDEMO02.&lt;/P&gt;&lt;P&gt;RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 05:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522057#M847129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T05:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Detailed table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522058#M847130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi saravanan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this piece of code,it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Add rows and delete ,select all , deselect all
*  button actions in item table

  IF TABSTRIP1-ACTIVETAB = 'LINE_ITEMS'.

FLAG = '0'.

    CASE OK_CODE1.

* when add button is pressed we add a new line to the table control

      WHEN 'ADD'.
        LOOP AT LINEITEM.
          IF LINEITEM-MARK = 'X'.
            INSERT INITIAL LINE INTO LINEITEM.
            FLAG = '1'.
          ENDIF.
        ENDLOOP.
        IF FLAG &amp;lt;&amp;gt; '1'.
          APPEND INITIAL LINE TO LINEITEM.
        ENDIF.
        CLEAR OK_CODE1.

* When delete button is clicked delete the line
      WHEN 'DELETE'.
        LOOP AT LINEITEM.
          IF LINEITEM-MARK = 'X'.
            MOVE-CORRESPONDING LINEITEM TO LINEITEM_DELETE.
            APPEND LINEITEM_DELETE.
            CLEAR LINEITEM_DELETE.
            CLEAR LINEITEM.
            DELETE LINEITEM.
          ENDIF.
        ENDLOOP.
        CLEAR OK_CODE1.

* When select all button is clicked select all the lines which are
* editable .
      WHEN 'SELECT_ALL'.
        LOOP AT LINEITEM.
          LINEITEM-MARK = 'X'.
          MODIFY LINEITEM.
        ENDLOOP.
        CLEAR OK_CODE1.

* When deselect all button is clicked deselect all the lines which are
* editable .
      WHEN 'DESELECT_ALL'.
        LOOP AT LINEITEM.
          LINEITEM-MARK = ' '.
          MODIFY LINEITEM.
        ENDLOOP.
        CLEAR OK_CODE1.
    ENDCASE.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here LINEITEM and LINEITEM_DELETE are internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 09:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522058#M847130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Detailed table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522059#M847131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;refer this site&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shylaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 12:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522059#M847131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T12:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Detailed table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522060#M847132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarvanan,&lt;/P&gt;&lt;P&gt;While creating the table control, you have the options to create it manually as well as With Wizard.&lt;/P&gt;&lt;P&gt;If you create it with Wizard, you just need to check the respective radio buttons for all the functionalities you want (containing select all, deselect all, delete, add new row).&lt;/P&gt;&lt;P&gt;Wizard writes the code it self for all these functions. So try it as it will save a lot of your effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert for any clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detailed-table-control/m-p/3522060#M847132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:55:06Z</dc:date>
    </item>
  </channel>
</rss>

