<?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: Z-Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986348#M705188</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;just switch on table logging for the table in dictionary, SE11, technical settings, Log data changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2007 06:32:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-05T06:32:23Z</dc:date>
    <item>
      <title>Z-Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986344#M705184</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;&lt;/P&gt;&lt;P&gt;How to maintain table history for z-tabels&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;SEK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 06:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986344#M705184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T06:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Z-Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986345#M705185</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;SE11 -&amp;gt; Your Ztable -&amp;gt; Tehnical settings -&amp;gt; Log data changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tick this checkbox for logging all changes. &lt;/P&gt;&lt;P&gt;The existing logs can be displayed with Transaction Table history (SCU3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 06:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986345#M705185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T06:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Z-Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986346#M705186</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;Please check this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/changedoc/cd_createch.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/changedoc/cd_createch.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you create your change document object using generate update pgm option then please check the WRITE document fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this long back i am updating CDHDR and CDPOS for 2 table YATT and YATTPLANTS. Here YATT have single record (header table) and YATTPLANTS have multiple records (item table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function yatt_write_document           .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'CHANGEDOCUMENT_OPEN'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      objectclass             = 'YATT           '&lt;/P&gt;&lt;P&gt;      objectid                = objectid&lt;/P&gt;&lt;P&gt;      planned_change_number   = planned_change_number&lt;/P&gt;&lt;P&gt;      planned_or_real_changes = planned_or_real_changes&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      sequence_invalid        = 1&lt;/P&gt;&lt;P&gt;      others                  = 2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  case sy-subrc.&lt;/P&gt;&lt;P&gt;    when 0.                                   "ok.&lt;/P&gt;&lt;P&gt;    when 1. message a600 with 'SEQUENCE INVALID'.&lt;/P&gt;&lt;P&gt;    when 2. message a600 with 'OPEN ERROR'.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if upd_yctc                           ne space.&lt;/P&gt;&lt;P&gt;   call function 'CHANGEDOCUMENT_SINGLE_CASE'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;       tablename              = 'YATT                          '&lt;/P&gt;&lt;P&gt;       workarea_old           = o_yatt&lt;/P&gt;&lt;P&gt;       workarea_new           = n_yatt&lt;/P&gt;&lt;P&gt;        change_indicator       = upd_yattc&lt;/P&gt;&lt;P&gt;        docu_delete            = 'X'&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;       nametab_error          = 1&lt;/P&gt;&lt;P&gt;       open_missing           = 2&lt;/P&gt;&lt;P&gt;       position_insert_failed = 3&lt;/P&gt;&lt;P&gt;       others                 = 4.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    case sy-subrc.&lt;/P&gt;&lt;P&gt;      when 0.                                "ok.&lt;/P&gt;&lt;P&gt;      when 1. message a600 with 'NAMETAB-ERROR'.&lt;/P&gt;&lt;P&gt;      when 2. message a600 with 'OPEN MISSING'.&lt;/P&gt;&lt;P&gt;      when 3. message a600 with 'INSERT ERROR'.&lt;/P&gt;&lt;P&gt;      when 4. message a600 with 'SINGLE ERROR'.&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  if upd_yctcauthplnts                  ne space.&lt;/P&gt;&lt;P&gt;    call function 'CHANGEDOCUMENT_MULTIPLE_CASE'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        tablename              = 'YATTPLANTS                 '&lt;/P&gt;&lt;P&gt;        change_indicator       = upd_yattplants&lt;/P&gt;&lt;P&gt;        docu_delete            = 'X'&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        table_old              = yyattplants&lt;/P&gt;&lt;P&gt;        table_new              = xyattplants&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;       nametab_error          = 1&lt;/P&gt;&lt;P&gt;       open_missing           = 2&lt;/P&gt;&lt;P&gt;       position_insert_failed = 3&lt;/P&gt;&lt;P&gt;       others                 = 4.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    case sy-subrc.&lt;/P&gt;&lt;P&gt;      when 0.                                "ok.&lt;/P&gt;&lt;P&gt;      when 1. message a600 with 'NAMETAB-ERROR'.&lt;/P&gt;&lt;P&gt;      when 2. message a600 with 'OPEN MISSING'.&lt;/P&gt;&lt;P&gt;      when 3. message a600 with 'INSERT ERROR'.&lt;/P&gt;&lt;P&gt;      when 4. message a600 with 'MULTIPLE ERROR'.&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'CHANGEDOCUMENT_CLOSE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      objectclass             = 'YATT           '&lt;/P&gt;&lt;P&gt;      objectid                = objectid&lt;/P&gt;&lt;P&gt;      date_of_change          = udate&lt;/P&gt;&lt;P&gt;      time_of_change          = utime&lt;/P&gt;&lt;P&gt;      tcode                   = tcode&lt;/P&gt;&lt;P&gt;      username                = username&lt;/P&gt;&lt;P&gt;      object_change_indicator = object_change_indicator&lt;/P&gt;&lt;P&gt;      no_change_pointers      = no_change_pointers&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      header_insert_failed    = 1&lt;/P&gt;&lt;P&gt;      object_invalid          = 2&lt;/P&gt;&lt;P&gt;      open_missing            = 3&lt;/P&gt;&lt;P&gt;      no_position_inserted    = 4&lt;/P&gt;&lt;P&gt;      others                  = 5.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  case sy-subrc.&lt;/P&gt;&lt;P&gt;    when 0.                                   "ok.&lt;/P&gt;&lt;P&gt;    when 1. message a600 with 'INSERT HEADER FAILED'.&lt;/P&gt;&lt;P&gt;    when 2. message a600 with 'OBJECT INVALID'.&lt;/P&gt;&lt;P&gt;    when 3. message a600 with 'OPEN MISSING'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   WHEN 4. MESSAGE A600 WITH 'NO_POSITION_INSERTED'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do not abort, if positions are not inserted!!!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    when 5. message a600 with 'CLOSE ERROR'.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endfunction.&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;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 06:30:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986346#M705186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T06:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Z-Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986347#M705187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja Sekhar,&lt;/P&gt;&lt;P&gt;                      If you check the Log data changes check box of a custom table technical settings then the updates/insert/delete would be logged in a separate table.&lt;/P&gt;&lt;P&gt;i am sorry i am not sure you can view this log using tcode scu3 or suc3, by entering the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 06:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986347#M705187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T06:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Z-Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986348#M705188</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;just switch on table logging for the table in dictionary, SE11, technical settings, Log data changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 06:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-table/m-p/2986348#M705188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T06:32:23Z</dc:date>
    </item>
  </channel>
</rss>

