<?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: table control adding lines deleting lines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392448#M1044461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;capture the row in the PAI  , based on the action you perform operations. if Delete the delete record from Database or modify the  database with new record..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this demo programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSDEMO02&lt;/P&gt;&lt;P&gt; RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Aug 15, 2008 4:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2008 19:53:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-15T19:53:34Z</dc:date>
    <item>
      <title>table control adding lines deleting lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392447#M1044460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table control, and I want push buttons to allow me to insert and delete rows from the table control, and delete them from the actual database table at the same time, how can this be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 19:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392447#M1044460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T19:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: table control adding lines deleting lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392448#M1044461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;capture the row in the PAI  , based on the action you perform operations. if Delete the delete record from Database or modify the  database with new record..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this demo programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSDEMO02&lt;/P&gt;&lt;P&gt; RSDEMO_TABLE_CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Aug 15, 2008 4:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 19:53:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392448#M1044461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T19:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: table control adding lines deleting lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392449#M1044462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im not exactly understanding.  I have the pushbuttons added in my table control, i just dont know how to write the code to make them functional&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 20:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392449#M1044462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: table control adding lines deleting lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392450#M1044463</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 a table control you will be having either a check box or a button like stuff to select a particular record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE.&lt;/P&gt;&lt;P&gt;WHen you clik the particular record and after cliking the delete button , the code should recognise the checked record and delete the record from the data base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT&lt;/P&gt;&lt;P&gt;this also will work in the same fashion. Read the record which you have recently added and check for the primary key and then add a record to the DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All you need is that you have to write in the PAI event if it is MOdule pool &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the user command subroutine in ALV related programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested by VIijay Babu you can also check those programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 20:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392450#M1044463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T20:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: table control adding lines deleting lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392451#M1044464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for insert a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data n type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'insert'.&lt;/P&gt;&lt;P&gt;describe table itab lines n.&lt;/P&gt;&lt;P&gt;tabcon-lines = n + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data n type i value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'INSERT'.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;n = n + 1.&lt;/P&gt;&lt;P&gt;end loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabcon-lines = n + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;foe delete.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;n = n + 1.&lt;/P&gt;&lt;P&gt;end loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabcon-lines = n - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 11:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392451#M1044464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T11:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: table control adding lines deleting lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392452#M1044465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write above code in process before output..&lt;/P&gt;&lt;P&gt;and in case sy-ucomm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 12:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-adding-lines-deleting-lines/m-p/4392452#M1044465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T12:01:01Z</dc:date>
    </item>
  </channel>
</rss>

