<?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: Print  document attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194339#M1909825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can store a document in either place:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/750368" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 13:24:52 GMT</pubDate>
    <dc:creator>Juwin</dc:creator>
    <dc:date>2015-07-17T13:24:52Z</dc:date>
    <item>
      <title>Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194329#M1909815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i print the attachment of document with program of printing the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an invoice with an attachment file. I have the program to print the invoice and i want to print and the attachment too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i have the program to send the invoice as pdf&amp;nbsp; with email and i want to sent and the attachment in the same email. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;I searched the forum, but I couldn't find any thread related to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Thanks and Regards&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Dio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194329#M1909815</guid>
      <dc:creator>former_member996305</dc:creator>
      <dc:date>2015-07-17T10:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194330#M1909816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are able to open Attached file, then i would suggest, provide a path to save the document and&lt;/P&gt;&lt;P&gt;through below functionality you can open the same with print option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means, the document will open direct for print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can refer below coe, which for print the file, &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cl_gui_frontend_services=&amp;gt;execute&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; exporting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = strname&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default_directory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = str_repath&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; synchronous&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'X'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; operation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'PRINT'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method to open document with print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194330#M1909816</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-07-17T10:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194331#M1909817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help&amp;nbsp; Pravver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how i can save the attachment of document. I don't know where it's saved in server. &lt;/P&gt;&lt;H1 class="n fn" style="font-weight: normal; font-size: 22px; color: #333333; background: #ffffff;"&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 12:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194331#M1909817</guid>
      <dc:creator>former_member996305</dc:creator>
      <dc:date>2015-07-17T12:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194332#M1909818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why Server? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;"I have an invoice with an attachment file. I have the program to print the invoice and i want to print and the attachment too."&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, you have invoice with attached file,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide an option to save the same in local system, and after complete print work (as pr above logic) delete the document from the same path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or something i am missing, make me clear so i can provide some other solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 12:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194332#M1909818</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-07-17T12:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194333#M1909819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming the printouts are sent from a background job. I can't imagine a person sitting in front of a computer, just to trigger printouts. In background, you cannot use frontend printing explained by &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Praveer&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to download the attachment, onto the application server and use operating system commands to print that file. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;What is the Operation system of the application server? The commands differ from OS to OS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had also used an &lt;A href="http://www.sealsystems.com/solutions/products/output-management/"&gt;external application&lt;/A&gt; to do this for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 12:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194333#M1909819</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-07-17T12:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194334#M1909820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pravver &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the awful presentation of my problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find where the attachment stored and i&amp;nbsp; don't know how to download it. &lt;/P&gt;&lt;P&gt;I was trying to do it with the method&amp;nbsp;&amp;nbsp; cl_gos_document_service=&amp;gt; export_attachment but i don't want to pop up the window with the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to download the attachment to my local system , print it as you say above , and delete it after printing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find another way!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;P&gt;Dio&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194334#M1909820</guid>
      <dc:creator>former_member996305</dc:creator>
      <dc:date>2015-07-17T13:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194335#M1909821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this an attachment (stored in SAP DB) or a business document (stored in content server)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function modules to retrieve both these are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194335#M1909821</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-07-17T13:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194336#M1909822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is stored in GOS. You can use the following link to retrieve it ( Ignore the part which you don't need like downloading it to Local PC )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="45345" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Printing or Downloading Service For Object Attachments to local desktop" href="https://community.sap.com/" modifiedtitle="true" title="Printing or Downloading Service For Object Attachments to local desktop"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can print using the following link. Instead of storing the file in Local PC. Store it is application server so that it can run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="2114729" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="How to print PDF file content from ABAP in background?" href="https://community.sap.com/" modifiedtitle="true" title="How to print PDF file content from ABAP in background?"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194336#M1909822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-17T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194337#M1909823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Juwin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;thanks for the answer .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know where it stored.&amp;nbsp;&amp;nbsp; When i create an attachment in FB02 or FB03&amp;nbsp;&amp;nbsp; where&amp;nbsp; it stored?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194337#M1909823</guid>
      <dc:creator>former_member996305</dc:creator>
      <dc:date>2015-07-17T13:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194338#M1909824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search in scn with "&lt;STRONG&gt;BDS_GOS_CONNECTIONS_GET&lt;/STRONG&gt;" Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already lots of links are available in scn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the reference, you can follow the below links, where the same has been explained by &lt;STRONG style="font-size: 10.8000001907349px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="1175" data-externalid="" data-presence="null" data-userid="19036" data-username="durairaj.athavanraja" href="https://answers.sap.com/people/durairaj.athavanraja" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; background: transparent;"&gt;Durairaj Athavan Raja&lt;/A&gt; &amp;amp; &lt;STRONG style="font-size: 10.8000001907349px; color: #333333; background: #ffffff;"&gt;Former Member&lt;/STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="138427" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="How to download the attachments from GOS toolbar." href="https://community.sap.com/"&gt; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194338#M1909824</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-07-17T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194339#M1909825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can store a document in either place:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/750368" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194339#M1909825</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-07-17T13:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194340#M1909826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i didn;t knew it . Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create the&amp;nbsp; attachment in SAP DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194340#M1909826</guid>
      <dc:creator>former_member996305</dc:creator>
      <dc:date>2015-07-17T13:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Print  document attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194341#M1909827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then, you should be able to use the function modules mentioned in the other links in this thread, to get their content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To attach them to an outgoing email is easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, to print them, I still feel that you will have to use OS commands - if printed in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-document-attachment/m-p/11194341#M1909827</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-07-17T13:46:57Z</dc:date>
    </item>
  </channel>
</rss>

