<?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: extracting changed vendors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740871#M321874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the info.  I have a vendor that the business gave me to check. it looks like there is record in this table that corrosponds to the date the vendor was added. Does this table contain both vendors that have been changed as well as newly created vendors?  if so, I can use this table to find all of the vendors that been created and/or changed after a certain date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2006 18:00:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-14T18:00:02Z</dc:date>
    <item>
      <title>extracting changed vendors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740869#M321872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing a program to extract vendors. I plan to initially extract all of the vendors and going forward, I would like to extract only the vendors that been added after a certain date and any vendors that have been changed. I plan on using the field ERDAT in LFA1 to select newly created vendors but I not sure how to select the vendors that have been changed. I am looking at the t-code xk04 (display change vendors) and will look at xk02 which changes a vendor. Is this the correct way to do this? If someone knows the table and field name that contains the changed data that I can used to perform the select, could you please share it with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 17:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740869#M321872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: extracting changed vendors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740870#M321873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Timothy,&lt;/P&gt;&lt;P&gt;You can extract the vendor details which have been changed from CDHDR and CDPOS where all changes are logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First go into CDHDR table for all the vendor objects taht have been changed based on date criteria.&lt;/P&gt;&lt;P&gt;Following code will give you an idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   begin of icdhdr occurs 100.         "Header&lt;/P&gt;&lt;P&gt;        include structure cdhdr.&lt;/P&gt;&lt;P&gt;data:   end   of icdhdr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   begin of icdpos occurs 100.         "Detail&lt;/P&gt;&lt;P&gt;        include structure cdpos.&lt;/P&gt;&lt;P&gt;data:   end   of icdpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from cdhdr into table icdhdr&lt;/P&gt;&lt;P&gt;                      where objectclas =  'KRED'&lt;/P&gt;&lt;P&gt;                        and objectid   in lifnr     "from selection screen&lt;/P&gt;&lt;P&gt;                        and udate      &amp;gt;= datum. "all objects changed since the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then go into CDPOS table to find the changed data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from cdpos into table icdpos where objectclas = 'KRED'&lt;/P&gt;&lt;P&gt;                            and objectid   = icdhdr-objectid&lt;/P&gt;&lt;P&gt;                            and changenr   = icdhdr-changenr&lt;/P&gt;&lt;P&gt;                            and (   tabname = 'LFA1'   &lt;/P&gt;&lt;P&gt;                                 or tabname = 'LFBK'&lt;/P&gt;&lt;P&gt;                                 or tabname = 'LFB1'&lt;/P&gt;&lt;P&gt;                                 or tabname = 'LFB5'&lt;/P&gt;&lt;P&gt;                                 or tabname = 'LFBW' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use any of the table based on the what changed data you want to find.&lt;/P&gt;&lt;P&gt;Probaly based on your requirement, you only need to check CDHDR table only of you want to know what all vendors were changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find whether a vendor was changed or not thru XK03 -&amp;gt; Environment -&amp;gt; Account changes - &amp;gt; All fields.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward for helpful replies!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 17:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740870#M321873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T17:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: extracting changed vendors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740871#M321874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the info.  I have a vendor that the business gave me to check. it looks like there is record in this table that corrosponds to the date the vendor was added. Does this table contain both vendors that have been changed as well as newly created vendors?  if so, I can use this table to find all of the vendors that been created and/or changed after a certain date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 18:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740871#M321874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T18:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: extracting changed vendors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740872#M321875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  CDHDR will work for your purpose. In CDHDR there is a field named 'CHANGE_IND'. THis field will let you know if the record is inserted, changed or deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to fetch the vendors whose details are changed, the in the where clause of the select use CHANGE_IND = 'U'.(Update).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 18:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extracting-changed-vendors/m-p/1740872#M321875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T18:08:36Z</dc:date>
    </item>
  </channel>
</rss>

