<?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 Data in CDHDR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250108#M1212949</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;We have a logic where data is selected from table CDHDR and this selected data is sorted in descending order on the basis of field CHANGENR and then we select the first record. &lt;/P&gt;&lt;P&gt;The aim here is to select the latest change record with the assumption that the latest change will be assigned the highest CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we are encountering situations where the latest / highest change number is not being assigned to the latest change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example a user with userid ABC makes a change in a purchase order at 10:51 and is assigned a change no. 123. and then another user with userid  XYZ makes a change in the same purchase order at 10:53 but has been assigned the change no. 122.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice how a lowere change number is being assigned to the latest change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I would like to mention this situation happens rarely but when it occurs, it does cause a lot of issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2009 16:53:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-27T16:53:53Z</dc:date>
    <item>
      <title>Data in CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250108#M1212949</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;We have a logic where data is selected from table CDHDR and this selected data is sorted in descending order on the basis of field CHANGENR and then we select the first record. &lt;/P&gt;&lt;P&gt;The aim here is to select the latest change record with the assumption that the latest change will be assigned the highest CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we are encountering situations where the latest / highest change number is not being assigned to the latest change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example a user with userid ABC makes a change in a purchase order at 10:51 and is assigned a change no. 123. and then another user with userid  XYZ makes a change in the same purchase order at 10:53 but has been assigned the change no. 122.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice how a lowere change number is being assigned to the latest change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I would like to mention this situation happens rarely but when it occurs, it does cause a lot of issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 16:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250108#M1212949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T16:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data in CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250109#M1212950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that is tha case then i thnk sorting on CDHDR-UDATE and UTIME will be better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 17:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250109#M1212950</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2009-02-27T17:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data in CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250110#M1212951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDHDR-CHANGENR = CDHDR-UTIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;utime captures the last changed time..&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;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2009 02:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250110#M1212951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-28T02:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Data in CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250111#M1212952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim here is to select the latest change record with the assumption that the latest change will be assigned the highest CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why are u sorting on basis of changenr, always sort on basis of udate and utime and then get the changenr of the latest record on basis of udate and utime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since have date and time of change no need to assume with changenr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Feb 28, 2009 1:18 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2009 07:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250111#M1212952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-28T07:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data in CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250112#M1212953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;Thanks for all your response.&lt;/P&gt;&lt;P&gt;Before I sort on the UDATE and UTIME, could you please tell me how exactly is this change number assigned ?&lt;/P&gt;&lt;P&gt;I mean I am just a bit confused like how did the latest change did not get the latest change number, just wanted to know if this is a bug or something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 15:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-in-cdhdr/m-p/5250112#M1212953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T15:27:01Z</dc:date>
    </item>
  </channel>
</rss>

