<?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: Archiving Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126805#M110601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, u have to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for opening a file use -&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_OPEN_FOR_READ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when your file its openend, use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_READ_OBJECT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; for reading a single OBJECT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;afeter reading a single object, you have to retrieve it's information, for that use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_PUT_RECORD&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(for a single entrie) or &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_PUT_TABLE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; (for a whole table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after working with the file, you have to close it with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_CLOSE_FILE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at demo program &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RSARCH10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; and function Groups &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCH&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; and &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AS_API&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2005 10:28:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-29T10:28:43Z</dc:date>
    <item>
      <title>Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126799#M110595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to know whether if we can read the contents of the archive file by passing the archive file key. I have the archive key in my Z table and I dont want to use the function modules which take handle as the input to read the archive details.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Bhandari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 08:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126799#M110595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T08:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126800#M110596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ankur,&lt;/P&gt;&lt;P&gt;   Could you be more specific??? Are you trying to read some file from your presentation server???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 09:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126800#M110596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T09:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126801#M110597</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 link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/functions.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/functions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 09:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126801#M110597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126802#M110598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not. I have archived SAP data in some files , I have the archive file key. want to know if I can use some function module which will read the file for me.&lt;/P&gt;&lt;P&gt;Ankur Bhandari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 09:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126802#M110598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T09:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126803#M110599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;U can read files using these FM's&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;gui_download&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;gui_exec&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;but am not sure if it can help in ur case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 09:32:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126803#M110599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T09:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126804#M110600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ankur,&lt;/P&gt;&lt;P&gt;   You can read the file from your presentation server by GUI_UPLOAD for that purpose. Read the file with the file name (actually file path).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Deva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 09:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126804#M110600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T09:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126805#M110601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, u have to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for opening a file use -&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_OPEN_FOR_READ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when your file its openend, use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_READ_OBJECT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; for reading a single OBJECT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;afeter reading a single object, you have to retrieve it's information, for that use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_PUT_RECORD&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(for a single entrie) or &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_PUT_TABLE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; (for a whole table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after working with the file, you have to close it with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCHIVE_CLOSE_FILE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at demo program &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RSARCH10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; and function Groups &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ARCH&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; and &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AS_API&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 10:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-query/m-p/1126805#M110601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-29T10:28:43Z</dc:date>
    </item>
  </channel>
</rss>

