<?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: pls help me in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371007#M809176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an event handler for User Command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that Event handler handle the User Command for the ADD button as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the last record's serial number. Add + 1 to that serial number and populate it in the newly created row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call method &lt;STRONG&gt;REFRESH_TABLE_DISPLAY&lt;/STRONG&gt; to refresh your ALV table display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the following link to have a feel of the event handler for USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.abap4.it/download/ALV.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2008 15:22:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-24T15:22:18Z</dc:date>
    <item>
      <title>pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371005#M809174</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;i have created ALV list and application toolbar also. i have added 'ADD' button in the toolbar. Now i want to insert one row at the end of that list by clicking on that 'ADD' button and which will show the number next number of row (suppose there are 4 rows and each one has sr no. associated with it, now i want next row to be displayed with sr no. 5 and other blank fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 04:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371005#M809174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T04:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371006#M809175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you click ADD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the internal table which ur passing to the ALV display, append a new row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the serial no.,&lt;/P&gt;&lt;P&gt;Sort itab by srno descending.&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;new_no = itab-srno + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-srno = new_no.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now refresh the grid display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 04:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371006#M809175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T04:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371007#M809176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an event handler for User Command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that Event handler handle the User Command for the ADD button as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the last record's serial number. Add + 1 to that serial number and populate it in the newly created row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call method &lt;STRONG&gt;REFRESH_TABLE_DISPLAY&lt;/STRONG&gt; to refresh your ALV table display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the following link to have a feel of the event handler for USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.abap4.it/download/ALV.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3371007#M809176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:22:18Z</dc:date>
    </item>
  </channel>
</rss>

