<?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: read table new entry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882277#M370406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check tables &amp;lt;b&amp;gt;TBTCO&amp;lt;/b&amp;gt; and&amp;lt;b&amp;gt; TBTC&amp;lt;/b&amp;gt;P for your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sadhu Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 20:42:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T20:42:21Z</dc:date>
    <item>
      <title>read table new entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882276#M370405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I read a DD table new entry into a report?&lt;/P&gt;&lt;P&gt;Any one please help me out..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        ramana peddu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 15:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882276#M370405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T15:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: read table new entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882277#M370406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check tables &amp;lt;b&amp;gt;TBTCO&amp;lt;/b&amp;gt; and&amp;lt;b&amp;gt; TBTC&amp;lt;/b&amp;gt;P for your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sadhu Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 20:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882277#M370406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T20:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: read table new entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882278#M370407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at some of your other posts and I assume you want to make some changes every time some new entry is entered.&lt;/P&gt;&lt;P&gt;To do this, first you must create a table maintenance generator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SE11 and open the table in edit mode.&lt;/P&gt;&lt;P&gt;then in one of the menus - i think in GOTO, there is table maintenance generator. Click there.&lt;/P&gt;&lt;P&gt;Complete all the details and save it. You must enter a function group which will be created for this purpose. &lt;/P&gt;&lt;P&gt;save and activate (not sure if u need to activate).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now goto environment and in that goto modification and inside that goto events.&lt;/P&gt;&lt;P&gt;Now click on new entries button and then choose the right event. In your case it would be AT NEW ENTRY. &lt;/P&gt;&lt;P&gt;In the next field, give a name for this event say at_new_entry.&lt;/P&gt;&lt;P&gt;then click on the editor button and it will prompt you to enter the name of the include file.&lt;/P&gt;&lt;P&gt;now u will get ur normal abap editor.&lt;/P&gt;&lt;P&gt;now in this you cannot start writing your code directly.&lt;/P&gt;&lt;P&gt;all your coding must be done within a form endform statement.&lt;/P&gt;&lt;P&gt;so in ur case u will say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM AT_NEW_ENTRY.&lt;/P&gt;&lt;P&gt;&amp;lt;your code will come here&amp;gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;Now everytime some body makes an entry this form will get triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you want to refer to the data that has been passed,  it will be passed through an internal table called extract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you will say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at extract.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will have several blank rows (15 if i remember right) and one row with ur data. Note that all your fields will be concatenated into a single string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if ur fields are v1 type char3,&lt;/P&gt;&lt;P&gt;                    v2 type char5,&lt;/P&gt;&lt;P&gt;                    v3 type char8.&lt;/P&gt;&lt;P&gt;if u want to refer to v2, you will extract+3(5).&lt;/P&gt;&lt;P&gt;Also u might want to do any validations only for those extracts for which the keys are not null because of the blank rows in extract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ramkumar Venkatasubramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 22:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-new-entry/m-p/1882278#M370407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T22:15:34Z</dc:date>
    </item>
  </channel>
</rss>

