<?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: Data Archiving in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353442#M1232608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to read help.sap.com on Data Archiving.&lt;/P&gt;&lt;P&gt;Also go with the link that will help you giving basic information of archiving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7322650"&gt;&lt;/A&gt;&lt;/U&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; Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2009 13:29:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-07T13:29:09Z</dc:date>
    <item>
      <title>Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353433#M1232599</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;Can any one provide me the information on data archiving?&lt;/P&gt;&lt;P&gt;How it is done?&lt;/P&gt;&lt;P&gt;How to data archive the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program, I have to data archive it? How can I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 11:55:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353433#M1232599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T11:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353434#M1232600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 12:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353434#M1232600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T12:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353435#M1232601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 12:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353435#M1232601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T12:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353436#M1232602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 12:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353436#M1232602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T12:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353437#M1232603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveev,&lt;/P&gt;&lt;P&gt;  Make use this table &lt;STRONG&gt;ARCH_OBJ&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Regards,&lt;/P&gt;&lt;P&gt;Amuktha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 12:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353437#M1232603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T12:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353438#M1232604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen ,&lt;/P&gt;&lt;P&gt;Please chk foolowing link&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70be5c63-b9ea-2b10-8dad-b071fcbe09e6]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 12:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353438#M1232604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T12:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353439#M1232605</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;data archiving means moving your data from database tables to archiving files ( some other storage location) to keep the size of database in control and at the same time have access to the old data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because in SAP transaction data grow rapidly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) tables to be archived and the required configuration will be done at the time of implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) archiving is done with the help of ARCHIVING OBJECT. ( a reference name under which database tables are grouped).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) to retrive data which was archived to report program, we will have to call 4 function modules in sequence. the sample code is shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: handle                 like sy-tabix,&lt;/P&gt;&lt;P&gt;      buffer                 type arc_buffer,&lt;/P&gt;&lt;P&gt;      sbook_wa               like sbook,&lt;/P&gt;&lt;P&gt;      number_of_records_read type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;open existing archive files&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'ARCHIVE_OPEN_FOR_READ'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          object         = 'BC_SBOOK01'&lt;/P&gt;&lt;P&gt;     importing&lt;/P&gt;&lt;P&gt;          archive_handle = handle&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;          others         = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  write: / 'No file can be accessed'(001).&lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear number_of_records_read.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;loop to get the next data object from the archive file(s)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;  call function 'ARCHIVE_GET_NEXT_OBJECT'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            archive_handle = handle&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            end_of_file    = 1&lt;/P&gt;&lt;P&gt;            others         = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get data records from the data container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  do.&lt;/P&gt;&lt;P&gt;    call function 'ARCHIVE_GET_NEXT_RECORD'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              archive_handle   = handle&lt;/P&gt;&lt;P&gt;         importing&lt;/P&gt;&lt;P&gt;              record           = buffer-segment&lt;/P&gt;&lt;P&gt;              record_structure = buffer-rname&lt;/P&gt;&lt;P&gt;         exceptions&lt;/P&gt;&lt;P&gt;              end_of_object    = 1&lt;/P&gt;&lt;P&gt;              others           = 2.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    add 1 to number_of_records_read.&lt;/P&gt;&lt;P&gt;  enddo.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / 'Total number of records read: '(002), number_of_records_read.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;write / 'Last record read: '(003).&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;case buffer-rname.&lt;/P&gt;&lt;P&gt;  when 'SBOOK'.&lt;/P&gt;&lt;P&gt;    sbook_wa = buffer-segment.&lt;/P&gt;&lt;P&gt;    write: / 'CARRID    :', sbook_wa-carrid,&lt;/P&gt;&lt;P&gt;           / 'BOOKID    :', sbook_wa-bookid,&lt;/P&gt;&lt;P&gt;           / 'CONNID    :', sbook_wa-connid,&lt;/P&gt;&lt;P&gt;           / 'FLDATE    :', sbook_wa-fldate,&lt;/P&gt;&lt;P&gt;           / 'CUSTOMID  :', sbook_wa-customid,&lt;/P&gt;&lt;P&gt;           / 'ORDER_DATE:', sbook_wa-order_date,&lt;/P&gt;&lt;P&gt;           / '...'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;when ...&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If the archive object contained more than one table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;(different buffer-rname), more cases would be needed.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;close the archive session&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'ARCHIVE_CLOSE_FILE'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          archive_handle = handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to revert back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;mano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 12:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353439#M1232605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T12:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353440#M1232606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Could you please give more information on this.&lt;/P&gt;&lt;P&gt;  I am not getting on this. Since we have some custom programs, ie., Z programs. We need to data archive on this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we achive this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 05:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353440#M1232606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T05:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353441#M1232607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First analise your pre-processing/Write programs assigned to the Archive object and look for User exits available in the program and make use of them to include Z/Y table for archival if you don't get suitable user exit, you will have to modify the standard program copying it to Y/Zprogram and assign that back to Standard Archive object or you may copy the Archive object to a Y object. Sometimes copying archivve object to Y objects creates problem in Retrieval of archived documents by standard T.codes, please check this aspect as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ashok Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 07:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353441#M1232607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T07:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Archiving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353442#M1232608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to read help.sap.com on Data Archiving.&lt;/P&gt;&lt;P&gt;Also go with the link that will help you giving basic information of archiving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7322650"&gt;&lt;/A&gt;&lt;/U&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; Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 13:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-archiving/m-p/5353442#M1232608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T13:29:09Z</dc:date>
    </item>
  </channel>
</rss>

