<?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 Fetching the modified records from a master data table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538742#M1427654</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 am currently using a internal table to fetch the records from a master data table and manipulate it and storing in a custom table.&lt;/P&gt;&lt;P&gt;But I have an issue over the performance.It takes almost 3 hours for the program to get executed as the master data table keeps growing everyday with new records and also the existing records are modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I use date as a parameter to fetch the new records.Can you give me an idea to check for the modified records in master data table and placing it in the internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2010 05:21:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-13T05:21:44Z</dc:date>
    <item>
      <title>Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538742#M1427654</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 am currently using a internal table to fetch the records from a master data table and manipulate it and storing in a custom table.&lt;/P&gt;&lt;P&gt;But I have an issue over the performance.It takes almost 3 hours for the program to get executed as the master data table keeps growing everyday with new records and also the existing records are modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I use date as a parameter to fetch the new records.Can you give me an idea to check for the modified records in master data table and placing it in the internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 05:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538742#M1427654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T05:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538743#M1427655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check these tables cdpos,cdheader for changing records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 05:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538743#M1427655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T05:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538744#M1427656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the standard table contains date for field (eg. Date of Modification), then to improve performance, you can create a secondary index on this field of that table. By doing so, it will drastically improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In such case, you can only select those records which are greater then some last date, and work on those records only. So in a way, you will be working on the DELTA records only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 05:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538744#M1427656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T05:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538745#M1427657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;Can you please tell me whether there is any function module that has master data table name as an input and internal table with the changed and new records as output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 05:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538745#M1427657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T05:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538746#M1427658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think there will be any general FM for all / any master table. But why do you need such FM. We can write a simple select query on that table and get the records, which are modified since last date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 06:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538746#M1427658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T06:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538747#M1427659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say,if I want to fetch the records for a partcular date I can do that using a select query with a where clause with date as a parameter.But what I have is posting date in my master data table.So in case if an existing record is changed,how can I get that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 06:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538747#M1427659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T06:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538748#M1427660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are talking about FI records contained in table BKPF, then apart from posting date, there are two other fields, which technically determine when the record was last changed/updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AEDAT&lt;/P&gt;&lt;P&gt;UPDDT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be those can be useful, if it is bkpf. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 06:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538748#M1427660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T06:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538749#M1427661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use a master data table from SAP BW.I have only one date criterion which is the Posting date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 06:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538749#M1427661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T06:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538750#M1427662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;database logs table changes in the table DBTABPRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table do the Setting the Log data changes flag  , also you must also set the rec/clientparameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can view these logs using the transaction SCU3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 06:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538750#M1427662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T06:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538751#M1427663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For such kind of scenarios, we necessarily must have a DATE field, (field containing when the record was last updated/modified) in the required table. Even BW uses the same concept when it does the delta upload. Other wise it is very difficult to detect the changes only (also called delta).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, if no such thing is available, then i don't think we have much options other than comparing every row (comparing the primary key, and also the remaining fields). If the row is found, but not matching then it means it is modified. If the row is not found, then it means it is added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 06:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538751#M1427663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T06:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538752#M1427664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could find the Log changes check box in the Technical settings of the master data table?&lt;/P&gt;&lt;P&gt;Can you let me know how to set the client parameter and where it is?&lt;/P&gt;&lt;P&gt;And in what way is it related to the select query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;G.Srinivasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 07:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538752#M1427664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T07:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538753#M1427665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DBTABLOG&lt;/P&gt;&lt;P&gt;DBTABPRT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I cud not check the records bcos table logging is not active in my system. This is generally done by the basis team, at the server/client level).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables, contain the original table name changed, and also the date time changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 07:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538753#M1427665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T07:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538754#M1427666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can view these logs using the transaction SCU3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 08:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538754#M1427666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T08:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the modified records from a master data table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538755#M1427667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 04:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-modified-records-from-a-master-data-table/m-p/6538755#M1427667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-21T04:51:21Z</dc:date>
    </item>
  </channel>
</rss>

