<?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 Persistence Classes and Changedocuments in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853902#M668869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to generate a persistent class for a data table and automaticly get the Change document Features when some fields in the database table have Change documents activatet? &lt;/P&gt;&lt;P&gt;So i want to load a persistent object from the database and change a field then save the data and get the Change documents written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2007 13:50:52 GMT</pubDate>
    <dc:creator>FloPi</dc:creator>
    <dc:date>2007-09-25T13:50:52Z</dc:date>
    <item>
      <title>Persistence Classes and Changedocuments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853902#M668869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to generate a persistent class for a data table and automaticly get the Change document Features when some fields in the database table have Change documents activatet? &lt;/P&gt;&lt;P&gt;So i want to load a persistent object from the database and change a field then save the data and get the Change documents written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2007 13:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853902#M668869</guid>
      <dc:creator>FloPi</dc:creator>
      <dc:date>2007-09-25T13:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Persistence Classes and Changedocuments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853903#M668870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;there are generated function modules for all Change Document Objects.   Have a look in Workbench ... Change Documents.  &lt;/P&gt;&lt;P&gt;If you defined a new table, you have to define a Changedocument for this purpose too. &lt;/P&gt;&lt;P&gt;For each table of the ChangeDocumentObject you have fo pass the old and new values.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classic Abap.&lt;/P&gt;&lt;P&gt;1.  Enqueue the Object  &lt;/P&gt;&lt;P&gt;2.  Get the Object Data from DB  into internal tables  ..._ old.&lt;/P&gt;&lt;P&gt;3.  Copy the old internal tables into  ..._new .&lt;/P&gt;&lt;P&gt;4.  The User-Action happens on ..._new .&lt;/P&gt;&lt;P&gt;5.   Update  your tables  (Update Module)  &lt;/P&gt;&lt;P&gt;6.  Call the   generated fm of your ChangeDocumentObject&lt;/P&gt;&lt;P&gt;7.  Commit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use a persistent class you have to integrate  the necessary steps at the right time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Josef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Nov 2007 20:35:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853903#M668870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-18T20:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Persistence Classes and Changedocuments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853904#M668871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hoped that the logic could be generated...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 15:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistence-classes-and-changedocuments/m-p/2853904#M668871</guid>
      <dc:creator>FloPi</dc:creator>
      <dc:date>2007-11-21T15:14:19Z</dc:date>
    </item>
  </channel>
</rss>

