<?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 Check if table has changed ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264547#M1632427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there. Is there any possiblity to check if a table has changed (in size, number of rows, etc, if there was an update/delete/modify) except looking in CDHDR and CDPOS ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is more a database verification. I need this because if something has changed then i have to do the selection, otherwise no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2011 12:16:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-18T12:16:02Z</dc:date>
    <item>
      <title>Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264547#M1632427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there. Is there any possiblity to check if a table has changed (in size, number of rows, etc, if there was an update/delete/modify) except looking in CDHDR and CDPOS ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is more a database verification. I need this because if something has changed then i have to do the selection, otherwise no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264547#M1632427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T12:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264548#M1632428</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;It depends on which tables you need to check, anyway I believe it can get the information you need from table CDHDR and CDPOS, but it's valid only for the tables managed with modification managed by change documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264548#M1632428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T12:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264549#M1632429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDRHDR and CDPOS are quite huge and i do not really need to see what has been modified. I just need to check if that table has been modified ( last modify date lets say). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Cristian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264549#M1632429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T12:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264550#M1632430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you be a bit more specific in the scenery ? Is it an application change or are you talking about SE16 changes for example ? It all depends, some tables might be able to trigger change pointers, which will work a bit like CDHDR and CDPOS, others might keep a change time for records (field AEDTM in some tables), so it all depends on the table itself. I don't think that there is a SAP table where it keeps a log of changed entries in SAP tables (imagine the size of it), so unless there is some sort of data in the table itself that indicates change or modification documents like said before, there isn't much you can do. Depending on the volume of the table you could do a development with deltas or even through some user exit create a change pointer yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264550#M1632430</guid>
      <dc:creator>PedroGuarita</dc:creator>
      <dc:date>2011-10-18T12:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264551#M1632431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've understood it, but the most of modifications are usually stored in those tables, there aren't other tables as far as I know, the problem is many tables (for example the custom ones) aren't managed there, so it can't know the informations you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as Pedro says, some table can have the fields for the date, time and user of the last modification, but that depends on the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's know if you need to create a reporting for all tables or for certains table only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264551#M1632431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T12:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264552#M1632432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not thinking about a special table in SAP. The question is related to the database itself also. Is there any way, looking in a table, writing an SQL statement, in which i can find out if a table has been modified ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 13:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264552#M1632432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T13:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264553#M1632433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i have answered to Pedro too, i do not really need a table, i need a way of checking if the table has been changed, a sql statement, or whatever...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 13:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264553#M1632433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264554#M1632434</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;No I don't think, there isn't a one big solution valid for all tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 13:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264554#M1632434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264555#M1632435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. thank you for your help and time &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cristian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Cristian Boartes on Oct 18, 2011 4:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 14:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264555#M1632435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-18T14:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264556#M1632436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cristian, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I understand you want to run a report/do some action only in case of new entries in a Table.&lt;/P&gt;&lt;P&gt;Maybe what you can do is , the first time your report runs, log the data about the table somewhere.&lt;/P&gt;&lt;P&gt;For example, store the number of rows of this Table in another table(call it your Log table).&lt;/P&gt;&lt;P&gt;The Next time it runs, compare with log from your last run. &lt;/P&gt;&lt;P&gt;If there is a differnce, do what you wanted to do and update the Log table with new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. I couldn't think of any other generic solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Vimal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 16:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264556#M1632436</guid>
      <dc:creator>vimalv</dc:creator>
      <dc:date>2011-10-18T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264557#M1632437</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;Just 2 more possibilities (both need an initial manual action for each table you want, there's no automatic feature) :&lt;/P&gt;&lt;P&gt;1) there is also the table logging feature, at the technical settings of tables in SE11. Each time an open SQL update is done, it writes to DBTABLOG (well it doesn't change very much compared to CDHDR/CDPOS, except that it's programmed at the kernel level)&lt;/P&gt;&lt;P&gt;2) in your database system, you can probably define a trigger function on your table, that could trigger a custom procedure that updates a flag in a custom database table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 18:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264557#M1632437</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-10-18T18:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Check if table has changed ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264558#M1632438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 00:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-table-has-changed/m-p/8264558#M1632438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-28T00:36:20Z</dc:date>
    </item>
  </channel>
</rss>

