<?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 Send OLE2_OBJECT to spool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960020#M1489805</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'm generating a Word document with an OLE2_OBJECT, but I want to print it to the spool instead of download it and then manage the spool order. How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jun 2010 09:15:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-10T09:15:00Z</dc:date>
    <item>
      <title>Send OLE2_OBJECT to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960020#M1489805</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'm generating a Word document with an OLE2_OBJECT, but I want to print it to the spool instead of download it and then manage the spool order. How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, &lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 09:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960020#M1489805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-10T09:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Send OLE2_OBJECT to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960021#M1489806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think so it is possible&lt;/P&gt;&lt;P&gt;its better write your output to list&lt;/P&gt;&lt;P&gt;and from there you can keep a buttons to cal ole2_object&lt;/P&gt;&lt;P&gt;while writting to list&lt;/P&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt; NEW-PAGE PRINT ON,&lt;/P&gt;&lt;P&gt;to print&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;S.Janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 09:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960021#M1489806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-10T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Send OLE2_OBJECT to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960022#M1489807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;i dont think so it is possible&lt;/P&gt;&lt;P&gt;its better write your output to list&lt;/P&gt;&lt;P&gt;and from there you can keep a buttons to cal ole2_object&lt;/P&gt;&lt;P&gt;while writting to list&lt;/P&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt;NEW-PAGE PRINT ON,&lt;/P&gt;&lt;P&gt;to print&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't write the document. I need to generate an SPOOL order with the document to generate a PDF and send the binary content to an RFC function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 10:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960022#M1489807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-10T10:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Send OLE2_OBJECT to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960023#M1489808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are any FM or something to retrieve all the available methods of an OLE2_OBJECT? Or any documentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 17:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960023#M1489808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-10T17:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send OLE2_OBJECT to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960024#M1489809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Word OLE2 commands are the same as the ones you'll find in Word VBA: record a macro of what you want, then read the generated VBA code (ALT+F11), and convert it manually into OLE2 commands, refer to this thread for example: &lt;SPAN __jive_macro_name="thread" id="1620127"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;In the VBA editor, there is also the object browser (F2) to see all available properties and methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate the Word document into a spool (so I think you'd like to print it), I think it is impossible mission, as SAP doesn't convert document formats. SAP only accepts spools with these formats:&lt;/P&gt;&lt;P&gt;- ABAP list or OTF format: the only formats for which SAP provides the drivers for main printer languages,&lt;/P&gt;&lt;P&gt;- or directly in the printer languages (PS, PCL, etc.). But they can then only be printed on printers understanding this only language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My recommendation is to not use spools. Install a Windows server with Word installed, which will be able to print directly Word documents to printers (I think Windows has all printer drivers). Or use an Output Management System (Dazel, Streamserve, ...) which should be able to handle your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, there would be a huge amount of work: you could try to save the document as RTF (using OLE2), then convert it to ITF via CONVERT_TEXT (but I'm not optimistic about the results), and include this ITF (it's like a standard text) into a SAPscript or Smart Form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 21:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960024#M1489809</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-06-10T21:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Send OLE2_OBJECT to spool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960025#M1489810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you found a solution for this. I too have a similar requirement. I am generating a word document using OLE and Saving it in c drive. Now i want to send this word document to Spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My word document has images too. Any inputs from your past experience will be so helpful for me.&lt;/P&gt;&lt;P&gt;I tried converting it into an binary file using GUI_UPLOAD and then tried passing the internal table to SAP spool using RSPO_OPEN_SPOOL and&amp;nbsp; RSPO_TCP_WRITE_BINARY. Then used&amp;nbsp; CONVERT_ABAPSPOOLJOB_2_PDF my program is executing fine but in the spool number of pages is '0', not sure what I am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purush.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-ole2-object-to-spool/m-p/6960025#M1489810</guid>
      <dc:creator>purush_r</dc:creator>
      <dc:date>2014-05-22T13:23:15Z</dc:date>
    </item>
  </channel>
</rss>

