<?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: Classical Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011913#M1346225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit &amp;lt;report&amp;gt; is used to call other report from one report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to create a spool for any report..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the following..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

"spool name 
    CONCATENATE 'A'
                 w_tabix
                 sy-datum+4(4)
                 sy-uzeit INTO
                 wa_pri_params-plist.


NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.     "creating spool request
  WRITE : / text-s32.
  ULINE.
  LOOP AT t_ouputdata INTO wa_ouputdata.                      "data need to write in Spool
    WRITE : /  wa_ouputdata.
  ENDLOOP.
  WRITE : / text-s33.
  NEW-PAGE PRINT OFF.                                        "closing spool request
 
 
* To fetch the spool number from TSP01 table
  SELECT rqident
         FROM tsp01
         INTO w_rqident
         UP TO 1 ROWS
         WHERE rq2name = wa_pri_params-plist.
  ENDSELECT.



w_rqident contains spool is--you can see this in SP01 with spoll id..

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 13:12:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-05T13:12:52Z</dc:date>
    <item>
      <title>Classical Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011912#M1346224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Use a meaningful subject in future&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I give print of the report It should not give any pop up and directly it should give the &lt;/P&gt;&lt;P&gt;print. Can we use SUBMIT rep ... TO SAP-SPOOL.  syntax?&lt;/P&gt;&lt;P&gt;Please tell me , what is the purpose of this statement. I tried statement in my reportwith no luck and additinally getting &lt;/P&gt;&lt;P&gt;confusion with this.&lt;/P&gt;&lt;P&gt;And, moreover we call this report from our Custom application and will give print from here.&lt;/P&gt;&lt;P&gt;Here How can we use that SUBMIT with print parameters statement and purpose of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Edited by: Matt on Aug 6, 2009 1:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 13:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011912#M1346224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T13:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Classical Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011913#M1346225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Submit &amp;lt;report&amp;gt; is used to call other report from one report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to create a spool for any report..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the following..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

"spool name 
    CONCATENATE 'A'
                 w_tabix
                 sy-datum+4(4)
                 sy-uzeit INTO
                 wa_pri_params-plist.


NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.     "creating spool request
  WRITE : / text-s32.
  ULINE.
  LOOP AT t_ouputdata INTO wa_ouputdata.                      "data need to write in Spool
    WRITE : /  wa_ouputdata.
  ENDLOOP.
  WRITE : / text-s33.
  NEW-PAGE PRINT OFF.                                        "closing spool request
 
 
* To fetch the spool number from TSP01 table
  SELECT rqident
         FROM tsp01
         INTO w_rqident
         UP TO 1 ROWS
         WHERE rq2name = wa_pri_params-plist.
  ENDSELECT.



w_rqident contains spool is--you can see this in SP01 with spoll id..

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 13:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011913#M1346225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T13:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Classical Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011914#M1346226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Use a meaningful subject in future&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 11:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/6011914#M1346226</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-08-06T11:11:39Z</dc:date>
    </item>
  </channel>
</rss>

