<?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: Change Document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202123#M1521396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the option of checking the logs from SM30 comes only when you activate the table logging and i do not want to do that since all the tables in the client would be logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence i was trying to update through change management. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I request you to throw some light on this&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;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Aug 2010 11:48:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-31T11:48:47Z</dc:date>
    <item>
      <title>Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202121#M1521394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a Z table ZTAB which has 2 fields. I want to capture all the changes being done to this customizing table.&lt;/P&gt;&lt;P&gt;I have tried checking the Table logging option and activating through RZ11 the profile parameter but the performance&lt;/P&gt;&lt;P&gt;seems to be costly since all the tables in the client are logged(customizing tables). It works good but my organization feels&lt;/P&gt;&lt;P&gt;it to be performance load on DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the other alternative( SAP Change Document Management) but am stuck in the midway:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) checked the 2 fields of the table for change document in further characteristics of data elements&lt;/P&gt;&lt;P&gt;2) created a change document object in SCDO and it has given an FM which should be called in Update Task&lt;/P&gt;&lt;P&gt;3) i have created an event for the ZTAB and have written the code in that event include that this update program should be called&lt;/P&gt;&lt;P&gt;4) which event has to be used? i mean which option..not only at the point of creating a new entry.also at the time of deletion,&lt;/P&gt;&lt;P&gt;modifiication of a record, i should capture the changes..i have used "at the time of getting saved in the database"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) do i need to call jus the FM in update task..i did so and could see that the CDHDR and CHPOS tables are not updated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards in advance for patiently reading the query,&lt;/P&gt;&lt;P&gt;I request you to throw some light...i have checked the other threads but have seen that the updation is done by programs..&lt;/P&gt;&lt;P&gt;here my case is different..i jus have the table and edit it through SM30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 17:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202121#M1521394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-30T17:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202122#M1521395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SM30, you enter your Z table and display. From the menu choose utilities-&amp;gt;Change logs you will get the list of changes made to the table. Was this not useful to you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 20:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202122#M1521395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-30T20:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202123#M1521396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late response,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the option of checking the logs from SM30 comes only when you activate the table logging and i do not want to do that since all the tables in the client would be logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence i was trying to update through change management. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I request you to throw some light on this&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;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 11:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202123#M1521396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T11:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202124#M1521397</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;check this Wiki...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP&lt;/A&gt;&lt;EM&gt;-&lt;/EM&gt;Data&lt;EM&gt;Change&lt;/EM&gt;Tracker&lt;EM&gt;for&lt;/EM&gt;Custom+Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 12:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202124#M1521397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T12:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202125#M1521398</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 are on the right way, simply use the table maintenance event 01 (Before saving the data in the database) to call the &lt;/P&gt;&lt;P&gt;change document function module with the appropriate parameters. You don't need the "In Update Task" option while calling the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 13:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202125#M1521398</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-08-31T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202126#M1521399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am almost on the verge of completing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) For insert , i have used the event " creating a new entry"&lt;/P&gt;&lt;P&gt;2) For upate and delete..am confused since all the events look the same...any idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202126#M1521399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T14:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202127#M1521400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;07	Before correcting the contents of a selected field&lt;/STRONG&gt; for Update&lt;/P&gt;&lt;P&gt;&amp;amp;    &lt;STRONG&gt;03	Before deleting the data displayed&lt;/STRONG&gt; for Delete&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202127#M1521400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T14:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202128#M1521401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the same event for insert / update and delete, but you need to make use of global table "TOTAL" to make a distinction. The field VIM_ACTION can have the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*VIM_ACTION:&lt;/P&gt;&lt;P&gt;*GELOESCHT : flagged for deletion&lt;/P&gt;&lt;P&gt;*NEUER_EINTRAG : New entry&lt;/P&gt;&lt;P&gt;*AENDERN : changed entry&lt;/P&gt;&lt;P&gt;*UPDATE_GELOESCHT : entry first changed and then flagged for deletion&lt;/P&gt;&lt;P&gt;*NEUER_GELOESCHT : entry first newly created, not yet saved, and then flagged for deletion&lt;/P&gt;&lt;P&gt;*ORIGINAL : the same as the database status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  DATA: BEGIN OF LT_X.
          INCLUDE STRUCTURE ZDUMMY."your z-table here
          INCLUDE STRUCTURE VIMTBFLAGS.
  DATA: END OF LT_X.
 DATA:   LV_CFLAG TYPE CDCHNGINDH.

  LOOP AT TOTAL ASSIGNING &amp;lt;FS_ANY&amp;gt; CASTING.
  MOVE-CORRESPONDING &amp;lt;FS_ANY&amp;gt;  TO LT_X .

    CASE LT_X-VIM_ACTION.
      WHEN NEUER_EINTRAG.
        LV_CFLAG = 'I'.
      WHEN  GELOESCHT OR UPDATE_GELOESCHT.
        LV_CFLAG = 'D'.
      WHEN   AENDERN.
        LV_CFLAG = 'U'.
      WHEN OTHERS.
    ENDCASE.

    CHECK LV_CFLAG NE SPACE.
*complete the code according to your need..
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202128#M1521401</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-08-31T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202129#M1521402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ozcan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the below code and declared the field symbol but syntactically it results in the below erro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Das Feldsymbol "&amp;lt;FS_ANY&amp;gt;" muss entweder voll typisiert sein oder einen		&lt;/P&gt;&lt;P&gt;der generischen Typen C, N, P oder X tragen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when it is the point of update, how can i check the older values..since my ZTAB is holding only one value..&lt;/P&gt;&lt;P&gt;do i have to hit a select and fetch the data by the key fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I translated the error as "The field symbol "&amp;lt;FS_ANY&amp;gt;" typed must either be full or&lt;/P&gt;&lt;P&gt;the generic types carry C, N, P or X." . When the casting keyword is put in, it results the above &lt;/P&gt;&lt;P&gt;message. when i take it off, it looks good in syntax But the values do not flow into lt_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SampathKumarPilla on Aug 31, 2010 5:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 14:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202129#M1521402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T14:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202130#M1521403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for creation, the insertion is good, how do i fill in the values for old_values for updation..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i hit the table dynamically with the key fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also is there any report standard as such that i can display the values for old and new?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 18:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202130#M1521403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202131#M1521404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can select the old values from the database since the records on the database have not been changed yet. I couldn't understand what you mean with the key fields. I don't know any standard  report to display changes but you can write one easily using the FMs BUS_CDHDR_GET and  BUS_CDPOS_GET. ( You can pick up change document from the table CDHDR : Change document header ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 06:08:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202131#M1521404</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-09-01T06:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202132#M1521405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ozcan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to write up a report simliar to the ouput of SCU3(Table Logging) showing the complete records inserted,changed,deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using the change documents, how can i show the complete record for deleted items?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202132#M1521405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202133#M1521406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem to be possible to show the complete data for the deleted entries. For such a scenario, you can assume adding an extra field called "active" (type c length 1) where you can activate and deactivate entries of the table, so that  the need for deleting entries disappears.&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;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 13:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document/m-p/7202133#M1521406</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-09-01T13:35:09Z</dc:date>
    </item>
  </channel>
</rss>

