<?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: creating spool request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107697#M105265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;   I think SSFSPCTLOP is the structure for your requirement and TDNEWID is the field to be set to 'X'.&lt;/P&gt;&lt;P&gt;Try passing this structure to the smart form function module in the print program.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2005 12:13:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-14T12:13:45Z</dc:date>
    <item>
      <title>creating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107696#M105264</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 am printing asset inventory number slip.for that i have written a smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my problem is that i want to spool the request to the printer as soon as i execute my smartform program.&lt;/P&gt;&lt;P&gt;exception to the print preview which we usually get on executing a smartform program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the structure for this is &amp;lt;b&amp;gt;ssfcompop&amp;lt;/b&amp;gt;and the field required is &amp;lt;b&amp;gt;tdnewid&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not able to utilise the above structure .&lt;/P&gt;&lt;P&gt;can u show me utilisation of the above for spooling&lt;/P&gt;&lt;P&gt;the print generated out of smartform&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;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2005 12:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107696#M105264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-14T12:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: creating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107697#M105265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;   I think SSFSPCTLOP is the structure for your requirement and TDNEWID is the field to be set to 'X'.&lt;/P&gt;&lt;P&gt;Try passing this structure to the smart form function module in the print program.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2005 12:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107697#M105265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-14T12:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: creating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107698#M105266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have already tried with the solution that you have given right now but with no results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u send me some sample code for my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2005 12:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107698#M105266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-14T12:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: creating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107699#M105267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I tried paasing the below params. It is working or me.&lt;/P&gt;&lt;P&gt;  Please try this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : options like SSFCOMPOP,&lt;/P&gt;&lt;P&gt;       control like SSFCTRLOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       control-NO_DIALOG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get output device from USR01&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  select single spld&lt;/P&gt;&lt;P&gt;    into dl_spld&lt;/P&gt;&lt;P&gt;    from usr01 where bname = sy-uname.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   options-tddest = dl_spld. " Output device&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt; options-TDNEWID = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function FM_NAME&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   CONTROL_PARAMETERS         = control&lt;/P&gt;&lt;P&gt;   OUTPUT_OPTIONS             = options&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    it_mara                    = ITAB_MARA&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FORMATTING_ERROR           = 1&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR             = 2&lt;/P&gt;&lt;P&gt;   SEND_ERROR                 = 3&lt;/P&gt;&lt;P&gt;   USER_CANCELED              = 4&lt;/P&gt;&lt;P&gt;   OTHERS                     = 5&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;Please award points if the answer is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2005 13:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-spool-request/m-p/1107699#M105267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-14T13:36:31Z</dc:date>
    </item>
  </channel>
</rss>

