<?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: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868599#M673020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDHDR and CDPOS table are related to change documents. You need to create the change document or need to activate the change documents then only entries will be made in these tables.&lt;/P&gt;&lt;P&gt;Just refer below link for details&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also check transaction SCD0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2007 01:41:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-03T01:41:27Z</dc:date>
    <item>
      <title>Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868591#M673012</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;pls. clarify me that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Doff. btwn UPDATE and MODIFY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) How/When INSERT entry is populated in CDHDR tbl? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I guess, If I create(brand-new) a record in a Master tbl, it wuld NOT go to CDHDR tbl? am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868591#M673012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T02:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868592#M673013</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;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update database table command will insert a new entry. But MODIFY will check if record already exist, if it exist then it will modify existing record else it will insert new record in db table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details here is screenshot from F1 help -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT - Inserting Data in Database Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variants:&lt;/P&gt;&lt;P&gt;1. INSERT INTO dbtab [CLIENT SPECIFIED] VALUES wa.&lt;/P&gt;&lt;P&gt;INSERT INTO (dbtabname) [CLIENT SPECIFIED] VALUES wa.&lt;/P&gt;&lt;P&gt;2. INSERT dbtab [CLIENT SPECIFIED] FROM TABLE itab. oder&lt;/P&gt;&lt;P&gt;INSERT (dbtabname) [CLIENT SPECIFIED] FROM TABLE itab.&lt;/P&gt;&lt;P&gt;3. INSERT dbtab [CLIENT SPECIFIED]. oder&lt;/P&gt;&lt;P&gt;INSERT *dbtab [CLIENT SPECIFIED]. oder&lt;/P&gt;&lt;P&gt;INSERT (dbtabname) [CLIENT SPECIFIED] ... .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect Adds new records to a database table (see relational&lt;/P&gt;&lt;P&gt;database). You can specify the name of the database table&lt;/P&gt;&lt;P&gt;either directly in the program in the form dbtab or at runtime&lt;/P&gt;&lt;P&gt;as the contents of the field dbtabname. In either case, the&lt;/P&gt;&lt;P&gt;database table must be declared in the ABAP Dictionary. You&lt;/P&gt;&lt;P&gt;can only insert data using a view if the view refers to a&lt;/P&gt;&lt;P&gt;single table and has the maintenance status "No restriction"&lt;/P&gt;&lt;P&gt;in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, data is only inserted in the current client.&lt;/P&gt;&lt;P&gt;However, if you use the CLIENT SPECIFIED addition, you can&lt;/P&gt;&lt;P&gt;switch off the automatic client handling. This enables you to&lt;/P&gt;&lt;P&gt;enter data for any client in a cross-client table, not just in&lt;/P&gt;&lt;P&gt;the client in which you are logged on. In this case, the&lt;/P&gt;&lt;P&gt;client field is treated like a normal field to which you can&lt;/P&gt;&lt;P&gt;assign a value in the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY - Change a database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. MODIFY dbtab. or&lt;/P&gt;&lt;P&gt;MODIFY *dbtab. or&lt;/P&gt;&lt;P&gt;MODIFY (dbtabname) ... ..&lt;/P&gt;&lt;P&gt;2. MODIFY dbtab FROM TABLE itab. or&lt;/P&gt;&lt;P&gt;MODIFY (dbtabname) FROM TABLE itab.&lt;/P&gt;&lt;P&gt;3. MODIFY dbtab VERSION vers. or&lt;/P&gt;&lt;P&gt;MODIFY *dbtab VERSION vers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect Inserts new lines or updates existing lines in a database&lt;/P&gt;&lt;P&gt;table (s. relational database). If a line with the specified&lt;/P&gt;&lt;P&gt;primary key already exists, an UPDATE is executed. Otherwise,&lt;/P&gt;&lt;P&gt;an INSERT is performed. You can specify the name of the&lt;/P&gt;&lt;P&gt;database table either in the program itself in the form MODIFY&lt;/P&gt;&lt;P&gt;dbtab ... or at runtime as the contents of the field dbtabname&lt;/P&gt;&lt;P&gt;in the form MODIFY (dbtabname) ... . In both cases, the&lt;/P&gt;&lt;P&gt;database table must be defined in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;Normally, records are inserted or updated only in the current&lt;/P&gt;&lt;P&gt;client. Data can only be inserted or updated using a view, if&lt;/P&gt;&lt;P&gt;the view refers to a single table and was created in the ABAP&lt;/P&gt;&lt;P&gt;Dictionary with the maintenance status "No restriction".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY belongs to the Open SQL command set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the statement has been executed, the system field&lt;/P&gt;&lt;P&gt;SY-DBCNT contains the number of edited lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;When a document is changed it ll get posted in CDHDR table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;I assume new records wouldnt be in CDHDR table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868592#M673013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T02:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868593#M673014</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;1) Update will modify an existing record if the record is available in the database.&lt;/P&gt;&lt;P&gt;    MODFY will modify an existing record if the record is available in the database. If the record is not available then it will create a new record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) When there is a change in the document then you will have an entry in the CDHDR table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I believe it will have an entry in CDHDR table when you create a new record for the transaction table. I am not sure for master table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868593#M673014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T02:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868594#M673015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When INSERT comes into picture in case of CDHDR tbl? I mean, When an entry comes into cdhdr tbl, with INSERT value ?&lt;/P&gt;&lt;P&gt;curious sake, so the cdhdr is huge one, coz there r many many tbls in SAP and happens changes in every day!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868594#M673015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T02:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868595#M673016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever a document is changed, an entry is updated in the table CDHDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868595#M673016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T02:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868596#M673017</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;The CDHDR will not create an entry unless the change document is used for that object..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CDHDR will not have an entry for Z tables unless you create an change object in SCDO ...and call the write function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 02:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868596#M673017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T02:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868597#M673018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikhar,&lt;/P&gt;&lt;P&gt;For each object class when even a data is created and entry is inserted into header table.... and the same record when modifyed (changes or deleted....) header table is modified with indicator...for detailed entries you can find out in items table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the hint is useful&amp;#133; Say thanks by reward&amp;#133;.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhu Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 04:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868597#M673018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T04:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868598#M673019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;can u pls. elobarate with an example, of ur statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;The CDHDR will not create an entry unless the change document is used for that object..&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 01:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868598#M673019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T01:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. btwn UPDATE &amp; MODIFY? reg. CDHDR tbl?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868599#M673020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDHDR and CDPOS table are related to change documents. You need to create the change document or need to activate the change documents then only entries will be made in these tables.&lt;/P&gt;&lt;P&gt;Just refer below link for details&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also check transaction SCD0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 01:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-btwn-update-modify-reg-cdhdr-tbl/m-p/2868599#M673020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T01:41:27Z</dc:date>
    </item>
  </channel>
</rss>

