<?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: table saving all the changes to the document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279150#M496052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. I already did check both the tables. Just not sure which field is to be mapped to which field ? what selection criterion i should use to find my entry. &lt;/P&gt;&lt;P&gt;Table :- vbep&lt;/P&gt;&lt;P&gt;field:- mbdat&lt;/P&gt;&lt;P&gt;name:-admin&lt;/P&gt;&lt;P&gt;tcode:- va02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me the corresponding fields in cdhdr or cdpos. I feel its cdpos ( as its item wise)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 01:55:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T01:55:52Z</dc:date>
    <item>
      <title>table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279148#M496050</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;scenario is : Sales order is been created and the shipping date is calculated as 2 months from toay ( what what ever  reason, but that is not important) now after a couple of days its changed to some other date. I can see the changes in  display  document changes but some how am not able to find the table where they are getting stored. I want to find the original shipping date/mat avail date. This is important for backorder report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hrishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 01:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279148#M496050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T01:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279149#M496051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure but check with cdhdr,cdpos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 01:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279149#M496051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T01:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279150#M496052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. I already did check both the tables. Just not sure which field is to be mapped to which field ? what selection criterion i should use to find my entry. &lt;/P&gt;&lt;P&gt;Table :- vbep&lt;/P&gt;&lt;P&gt;field:- mbdat&lt;/P&gt;&lt;P&gt;name:-admin&lt;/P&gt;&lt;P&gt;tcode:- va02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me the corresponding fields in cdhdr or cdpos. I feel its cdpos ( as its item wise)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 01:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279150#M496052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T01:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279151#M496053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes ,it is cdpos...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with fm related cdpos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 02:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279151#M496053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T02:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279152#M496054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hrishi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those tables are CDHDR &amp;amp; CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join CDHDR and CDPOS on Objectclas, objectid and change number where ( Objectclas = 'VERKBELEG' or TCODE = 'VA02' )and Object ID = Sales order number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the changes made to that particular order.&lt;/P&gt;&lt;P&gt;CDPOS has 2 fields tabname &amp;amp; fname, which will contain the table and field you are trying to search for. And VALUE_OLD and VALUE_NEW will contain old and new values for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code will be : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VALUE_OLD INTO G_VALUE&lt;/P&gt;&lt;P&gt;FROM CDHDR AS H&lt;/P&gt;&lt;P&gt;INNER JOIN CDPOS AS P ON&lt;/P&gt;&lt;P&gt;H&lt;SUB&gt;OBJECTCLAS = P&lt;/SUB&gt;OBJECTCLAS&lt;/P&gt;&lt;P&gt;H&lt;SUB&gt;OBJECTID = P&lt;/SUB&gt;OBJECTID&lt;/P&gt;&lt;P&gt;H&lt;SUB&gt;CHANGENR = P&lt;/SUB&gt;CHANGENR&lt;/P&gt;&lt;P&gt;WHERE (H&lt;SUB&gt;OBJECTCLAS = 'VERKBELEG' OR H&lt;/SUB&gt;TCODE = 'VA02' )&lt;/P&gt;&lt;P&gt;AND H~OBJECTID = sales order no&lt;/P&gt;&lt;P&gt;AND H~TABNAME = table name(say vbrk)&lt;/P&gt;&lt;P&gt;AND H~FNAME = field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 02:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279152#M496054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T02:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279153#M496055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi darshil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply but CHANGENR for CDHDR and CDPOS are not the same. so the selection doesnt work. anyhow, i guess i have got the hint from here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279153#M496055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279154#M496056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's strange. I checked lot of examples. CHANGENRs are matching in both the tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279154#M496056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279155#M496057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more finding !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for pooled tables, cluster tables &amp;amp; projection views we can NOT use joins ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sad thing !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279155#M496057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279156#M496058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi darshil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you think is this 'changenr' ? how come its not matching over here with me. Seriously, surprising !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hrishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 05:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279156#M496058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279157#M496059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to use for all entries for CDPOS after fetching data from CDHDR then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changenr is just a unique instance of changing a particular document. So you can say it's a unique number.&lt;/P&gt;&lt;P&gt;But i think in your case you can avoid comparing changenr as you require the first change to the particulare field. Just get the record for the lowest date &amp;amp; time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 05:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279157#M496059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T05:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279158#M496060</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 think we dont need to use cdhdr at all.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have  &lt;/P&gt;&lt;P&gt;Objectclass as : VERKBELEG&lt;/P&gt;&lt;P&gt;OjectID : 0000253106  ( sales order)&lt;/P&gt;&lt;P&gt;tabname: vbep&lt;/P&gt;&lt;P&gt;fname: mbdat&lt;/P&gt;&lt;P&gt;tabkey: 40000002531060000100002 ( sales order&lt;EM&gt;item no&lt;/EM&gt;sch. line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will be able to find value_old from cdpos.. isnt it ?   i am working on the code right now, if it works , I am closing the thread. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot darshil !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hrishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 05:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279158#M496060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T05:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279159#M496061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will require to fetch data from CDHDR as Update date and time fields are only in CDHDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be multiple changes to the same sales order and you will have to identify the first change. for this you will need update date and time from CDHDR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 05:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279159#M496061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T05:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279160#M496062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks mate !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have got the code working and is fetching correct values !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help is appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hrishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 06:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279160#M496062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T06:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: table saving all the changes to the document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279161#M496063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to developed report for the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had gone through the tables there are CDHDR and CDPOS , from this tables &lt;/P&gt;&lt;P&gt;the following items have to be retrive to display the report as in attachement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These standards reports are taken from RVSD100 and RVSD200 reports which allow viewing changes on a single sales document in online mode howver the selection paratmeters for these two standard reports does not allow the selection parameters by plant code, document number, date ranges and also does not allow multiple sales document to be listed at the same time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a report that will allow them to list the changes made in the contract documents with more ranges options on the report selection parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically this customised report will retrive all the changes made in sales contract documents within a plat , date ragne and other selection paramters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The report must allow ALV display also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales office code and sales office description&lt;/P&gt;&lt;P&gt;+ contract document number&lt;/P&gt;&lt;P&gt;sort by date, header data filed name &amp;lt;01&amp;gt; with old and new values changes and username&lt;/P&gt;&lt;P&gt;sort by date, header data field name &amp;lt;02&amp;gt; with old and new values changes and username &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc....&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help me how to start do we required funtional module etc.,I know it is easy but i need some push to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Piroz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 00:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-saving-all-the-changes-to-the-document/m-p/2279161#M496063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T00:57:32Z</dc:date>
    </item>
  </channel>
</rss>

