<?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: Closing the PDF application in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620052#M1088370</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;               My requirement is to print the documents all at one go and they can be a lot of them not just the PDF but others types as well and even if the Adobe application is opened  is not a problem but it should close automatically as well. User should not be manually closing the application.Kind of saying ,can be a background job.&lt;/P&gt;&lt;P&gt;   I am opening this actually becoz it should not open the blank application .It is not at all a part of the requirement. But Even if I dont "open" it and just "print" it......the PDF application still opens.Is there any FM/Method to achieve this printing without actually opening it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek singh on Oct 10, 2008 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2008 14:13:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-09T14:13:22Z</dc:date>
    <item>
      <title>Closing the PDF application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620050#M1088368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;                  My requirement is to send a PDF file stored on my desktop for printing and then delete it from my local system. But the trouble is everytime I am opening this PDF document and send it for printing the application remains open and I have to close it manually so that the program can delete it from the system.&lt;/P&gt;&lt;P&gt;       My requirement is how can I achieve the above requirement, even if I have to adopt a different approach.Currently I am using the methods mentioned below for opening the PDF,Printing it and then deleting it (in that order ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;execute&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    document = gv_fname&lt;/P&gt;&lt;P&gt;     PARAMETER = lv_parameter&lt;/P&gt;&lt;P&gt;    operation = 'OPEN'&lt;/P&gt;&lt;P&gt;***********************************************************&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;execute&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;    document = gv_fname&lt;/P&gt;&lt;P&gt;     PARAMETER = lv_parameter&lt;/P&gt;&lt;P&gt;    operation = 'PRINT'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;***********************************************************&lt;/P&gt;&lt;P&gt; CALL METHOD cl_gui_frontend_services=&amp;gt;file_delete&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        filename             = gv_fname&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        rc                   = gv_return&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I close the PDF application automatically without user intervention?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Abhishek Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek singh on Oct 9, 2008 3:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 11:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620050#M1088368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-09T11:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Closing the PDF application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620051#M1088369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe a dumb approach of mine, but do you need to open it instead to print it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 13:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620051#M1088369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-09T13:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Closing the PDF application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620052#M1088370</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;               My requirement is to print the documents all at one go and they can be a lot of them not just the PDF but others types as well and even if the Adobe application is opened  is not a problem but it should close automatically as well. User should not be manually closing the application.Kind of saying ,can be a background job.&lt;/P&gt;&lt;P&gt;   I am opening this actually becoz it should not open the blank application .It is not at all a part of the requirement. But Even if I dont "open" it and just "print" it......the PDF application still opens.Is there any FM/Method to achieve this printing without actually opening it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek singh on Oct 10, 2008 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 14:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620052#M1088370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-09T14:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Closing the PDF application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620053#M1088371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could not get any reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 09:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620053#M1088371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T09:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Closing the PDF application</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620054#M1088372</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>Tue, 08 Apr 2014 15:34:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/closing-the-pdf-application/m-p/4620054#M1088372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-08T15:34:09Z</dc:date>
    </item>
  </channel>
</rss>

