<?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: Cluster table problem with CDHDR and CDPOS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954971#M697006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the standard report it is good, but how can I check the document no change for different plants and how it is link with cdpos and cdhdr please comment&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;Piroz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2007 03:59:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T03:59:04Z</dc:date>
    <item>
      <title>Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954966#M697001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Managment in our company need a report which should show the anychanges made on the document number have to be displayed for each users could anyone help me in coding please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a report which will show the changes make to the documents &lt;/P&gt;&lt;P&gt;In that I want to join two tables CDHDR and CDPOS, but CDPOS is cluster table and CDHDR is transparent table so how can i join these both and create an SQL statement to fetch the records from CDHDR and CDPOS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT CDHDR-OBJECTCLAS,&lt;/P&gt;&lt;P&gt;              CDHDR-OBJECTID,&lt;/P&gt;&lt;P&gt;              CDHDR-CHANGENR,&lt;/P&gt;&lt;P&gt;              CDHDR-USERNAME,&lt;/P&gt;&lt;P&gt;              CDHDR-UDATE,&lt;/P&gt;&lt;P&gt;              CDHDR-UTIME,&lt;/P&gt;&lt;P&gt;              CDPOS-VALUE_NEW,&lt;/P&gt;&lt;P&gt;              CDPOS-VALUE_OLD FROM CDHDR,CDPOS &lt;/P&gt;&lt;P&gt;         WHERE CDHDR-OBJECTCLAS='VERKBELEG' &lt;/P&gt;&lt;P&gt;          AND CDHDR-OBJECTCLAS=CDPOS-OBJECTCLAS&lt;/P&gt;&lt;P&gt;          AND CDHDR-OBJECTID=CDPOS.OBJECTID&lt;/P&gt;&lt;P&gt;          AND CDHDR-CHANGENR=CDPOS.CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think this will work , if not then how can i join both the tables to fetch the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhelp is highly appriciable&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>Fri, 19 Oct 2007 02:03:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954966#M697001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T02:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954967#M697002</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;You can't create join using cluster table.&lt;/P&gt;&lt;P&gt;To solve your request, just try this step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* First, select your data from Cluster Table ( CDPOS ) into internal table ( IT_CDPOS) .
* Select data from CDHDR using FOR ALL ENTRIES according IT_CDPOS.
* Join your data from IT_CDPOS and IT_CDHDR into new table using loop, and make your filter at looping procces.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 02:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954967#M697002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T02:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954968#M697003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jatra &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your steps, I will create an internal table and insert the values into internal table but how to start it, Can you help me in some coding please &lt;/P&gt;&lt;P&gt;I know we can used inner join to link the tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it is silly to ask but I need a push please can you guide me some steps in coding &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>Fri, 19 Oct 2007 02:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954968#M697003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T02:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954969#M697004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;basically what you are going to do is take your fields from the CDHDR and CDPOS and create an new internal table that combines the two.  Loop through the CDPOS and do a read on table CDHDR.  It would look something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at cdpos into x_cdpos_str.&lt;/P&gt;&lt;P&gt; read table cdhdr into x_cdhdr_str with key objectclas = x_cdpos_str-objectclas&lt;/P&gt;&lt;P&gt;                                                              objectID    = x_cdpos_str-objectid&lt;/P&gt;&lt;P&gt;                                                                                binary search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get the general idea.  Make sure that you have both internal tables sorted accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award point if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 17:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954969#M697004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T17:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954970#M697005</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;Have you looked standard program RCC00300?&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 17:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954970#M697005</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-24T17:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954971#M697006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the standard report it is good, but how can I check the document no change for different plants and how it is link with cdpos and cdhdr please comment&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;Piroz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 03:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954971#M697006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T03:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster table problem with CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954972#M697007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piroz, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is till not resolved  - here is just a thought: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all fields are configured to be logged in CDHDR and CDPOS. So check in config (functional guys should know) if the particular Document Number field is meant for logging changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again to work with CDHDR and CDPOS it is always good to use the relevant READ function modules. &lt;/P&gt;&lt;P&gt;Otherwise, you will face performance issues. 'for all entries"etc do not work good with CDHDR and CDPOS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 15:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-table-problem-with-cdhdr-and-cdpos/m-p/2954972#M697007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T15:11:53Z</dc:date>
    </item>
  </channel>
</rss>

