<?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 functionality to be added to a current ABAP Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658834#M1867029</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you pl share the report?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2022 15:34:31 GMT</pubDate>
    <dc:creator>former_member618763</dc:creator>
    <dc:date>2022-01-06T15:34:31Z</dc:date>
    <item>
      <title>Archiving functionality to be added to a current ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658829#M1867024</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;I have a requirement to add archiving checkbox in an ABAP Query. Currently the report is fetching data from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the archive checkbox selected, it can fetch the archived data as well. I have created a custom program to fetch the archived data using Archive information system. I need to incorporate the archiving functionality in the ABAP Query report within the Infoset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest your idea or experience regarding the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2014 10:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658829#M1867024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-01T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving functionality to be added to a current ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658830#M1867025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can Execute the report when the check box is checked with the code below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If LC_CHECKBOX = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"You Report Logic"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the below two methods,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If you have developed the archiving functionality as separate report then create a transaction for it and call it inside the if condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) else you&amp;nbsp; also just add the logic inside the if condition. How ever i would prefer the first method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2014 10:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658830#M1867025</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2014-11-01T10:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving functionality to be added to a current ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658831#M1867026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Satish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to the query itself. I'm not able to figure out the internal table in which to add the archived records within the query. Though I have some idea that i can do my code within the End-of-selection (before list) event of my Infoset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any more idea is provided that would be really helpful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2014 05:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658831#M1867026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-02T05:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving functionality to be added to a current ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658832#M1867027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding you need not worry about the internal table where you need to populate. You have already told that you have created a custom program to fetch archived data, so now as a first step create a transaction for your custom report say the t-code is name as &lt;STRONG&gt;ZARCHIVE, &lt;/STRONG&gt;now in your program where you have added the Checkbox named as say &lt;STRONG&gt;lc_chk, &lt;/STRONG&gt;you have to write the logic as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lc_chk = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call ZARCHIVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now you need not worry about internal table, The table which you are using in the Custom program will automatically take care of tat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are clear now, Please let me know for further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 04:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658832#M1867027</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2014-11-03T04:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving functionality to be added to a current ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658833#M1867028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Custom program created is a standalone sample program. It is not related to the Query report. It was created so as to know what code we need to insert in the Query to fetch and display the data from the archive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing that we need to know the approach to implement it within the Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, the query is making use of Logical database. I have some idea that I can do the code within End-of-selection (Before List) event. But we will have to append the records in output internal table which is displaying records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 05:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658833#M1867028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-03T05:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving functionality to be added to a current ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658834#M1867029</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you pl share the report?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 15:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archiving-functionality-to-be-added-to-a-current-abap-query/m-p/10658834#M1867029</guid>
      <dc:creator>former_member618763</dc:creator>
      <dc:date>2022-01-06T15:34:31Z</dc:date>
    </item>
  </channel>
</rss>

