<?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: Generating spool request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010091#M1496477</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;Go to T-code SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type-Groups: SLIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for the Types: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of slis_print_alv1,&lt;/P&gt;&lt;P&gt;         no_print_selinfos(1) type c,  " display no selection infos&lt;/P&gt;&lt;P&gt;         no_coverpage(1) type c,                            "&lt;/P&gt;&lt;P&gt;         no_new_page(1) type c,                             "&lt;/P&gt;&lt;P&gt;         reserve_lines type i,         " lines reserved for end of page&lt;/P&gt;&lt;P&gt;         no_print_listinfos(1) type c, " display no listinfos&lt;/P&gt;&lt;P&gt;         no_change_print_params(1) type c,  " don't change linesize&lt;/P&gt;&lt;P&gt;         no_print_hierseq_item(1) type c,  "don't expand item&lt;/P&gt;&lt;P&gt;         print_ctrl type ALV_S_Pctl,             -&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&amp;gt; This is a deep structure with Print Control parameters&lt;/P&gt;&lt;P&gt;       end of slis_print_alv1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on "ALV_S_Pctl". You will se the Deep Structure inside: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRI_PARAMS	PRI_PARAMS&lt;/P&gt;&lt;P&gt;ARC_PARAMS	ARC_PARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expand PRI_PARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This nested structure gives the following fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PDEST	SYPDEST                  -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt; This field is your Output device. Pass SY-PDEST to this field.&lt;/P&gt;&lt;P&gt;PRCOP	SYPRCOP&lt;/P&gt;&lt;P&gt;PLIST	SYPLIST&lt;/P&gt;&lt;P&gt;PRTXT	SYPRTXT&lt;/P&gt;&lt;P&gt;PRIMM	SYPRIMM&lt;/P&gt;&lt;P&gt;PRREL	SYPRREL&lt;/P&gt;&lt;P&gt;PRNEW	SYPRNEW&lt;/P&gt;&lt;P&gt;PEXPI	SYPEXPI&lt;/P&gt;&lt;P&gt;LINCT	SYLINCT&lt;/P&gt;&lt;P&gt;LINSZ	SYLINSZ&lt;/P&gt;&lt;P&gt;PAART	SYPAART&lt;/P&gt;&lt;P&gt;PRBIG	SYPRBIG&lt;/P&gt;&lt;P&gt;PRSAP	SYPRSAP&lt;/P&gt;&lt;P&gt;PRREC	SYPRREC&lt;/P&gt;&lt;P&gt;PRABT	SYPRABT&lt;/P&gt;&lt;P&gt;PRBER	SYPRBER&lt;/P&gt;&lt;P&gt;PRDSN	SYPRDSN&lt;/P&gt;&lt;P&gt;PTYPE	SYPTYPE&lt;/P&gt;&lt;P&gt;ARMOD	SYARMOD&lt;/P&gt;&lt;P&gt;FOOTL	SYFOOTL&lt;/P&gt;&lt;P&gt;PRIOT	SYPRIOR&lt;/P&gt;&lt;P&gt;PRUNX	SYPRUNX&lt;/P&gt;&lt;P&gt;PRKEYEXT	SYPRKEY&lt;/P&gt;&lt;P&gt;PRCHK	SYCHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh Kumar Mukka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jun 2010 12:08:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-28T12:08:19Z</dc:date>
    <item>
      <title>Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010072#M1496458</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;&lt;/P&gt;&lt;P&gt;My rquirement is to generate spool request without getting the output displayed  on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fs_outtab&amp;gt; is the dynamic internal table containing data. It will have several fields.&lt;/P&gt;&lt;P&gt;I want to send this data to spool so that it can be seen when the background job runs.&lt;/P&gt;&lt;P&gt;But I do not want the output to be displayed on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt; Removed &amp;gt;&amp;gt; Please don't forward links as it cannot be opened in my system.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jun 25, 2010 11:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 04:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010072#M1496458</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-25T04:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010073#M1496459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about the req ..But when you run a prog in background ,you will get the spool if you have output for that internal table.&lt;/P&gt;&lt;P&gt;Try new page print on .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 04:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010073#M1496459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-25T04:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010074#M1496460</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;You can use function module 'RSPO_WRITE_SPOOLREQUEST' to write all output to a spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mansi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 04:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010074#M1496460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-25T04:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010075#M1496461</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;This requirement either smartform, sapscript or write statement .&lt;/P&gt;&lt;P&gt;let me know then i will inform to ur solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;I.Muthukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 06:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010075#M1496461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-25T06:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010076#M1496462</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;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Module  RSPO_WRITE_SPOOLREQUEST -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;How does it write the data to spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dynamic internal table &amp;lt;fs_outtab&amp;gt; , I don't know the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover how do I see the spool generated, will it generate a spool id.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 07:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010076#M1496462</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-25T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010077#M1496463</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;Requirement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two reports , say R1 and R2.  Both will run in background.&lt;/P&gt;&lt;P&gt;Report R1 calls Report R2 with the help of submit statement.&lt;/P&gt;&lt;P&gt;Report R2 has to generate a spool without output getting displayed on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get to know the spool generated from R2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 08:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010077#M1496463</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-25T08:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010078#M1496464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not want to output , the internal table. I only want to generate the spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I see the spool generated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 08:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010078#M1496464</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-25T08:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010079#M1496465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See try to make an alv grid diaplay program for the internal table.( like this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form fill_catalogue .&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'WERKS'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Plant'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'LGORT'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'St.Loc'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'SHKZG'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Iss/Rec'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'BUDAT'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Posting Date'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&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;  wa_fieldcatalog-fieldname   = 'CHALAN'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Document No'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'BOLNR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Bill of Lading'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'BRGEW'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Gross Wt.'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'NTGEW_CH'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Net Chargeable Wt.'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'SHIP_PARTY'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Customer/Vendor/Plant'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-fieldname   = 'SAL_GRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-seltext_m   = 'Sales Group'.&lt;/P&gt;&lt;P&gt;  wa_fieldcatalog-tabname     = 'IT_FINAL'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append wa_fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  wa_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    "fill_catalogue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  display&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display .&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_callback_program = sy-repid&lt;/P&gt;&lt;P&gt;      it_fieldcat        = fieldcatalog[]&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab           = it_final&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      program_error      = 1&lt;/P&gt;&lt;P&gt;      others             = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you must be accepting some parameters fromthe screen. just take the values from the selection screen &lt;/P&gt;&lt;P&gt;press F9, and proceed as your requirement is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    "display&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 08:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010079#M1496465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-25T08:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010080#M1496466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;SUBMIT TO SAP-SPOOL.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check on thsi option.Submit your program with thsi option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 08:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010080#M1496466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-25T08:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010081#M1496467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check the following codes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;NEW-PAGE PRINT ON.
loop at &amp;lt;int table&amp;gt;
write: &amp;lt;the internal table&amp;gt;.
endloop.
NEW-PAGE PRINT OFF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well and it was used in REPORT programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and yes sy-spono will contain spool number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM write_to_spool.

DATA : l_f_list_name LIKE pri_params-plist,
l_f_destination LIKE pri_params-pdest,
l_f_spld LIKE usr01-spld,
l_f_layout LIKE pri_params-paart,
l_f_line_count LIKE pri_params-linct,
l_f_line_size LIKE pri_params-linsz,
l_f_out_parameters LIKE pri_params,
l_f_valid.

l_f_line_size = 255.
l_f_line_count = 65.
l_f_layout = 'X_65_255'.
l_f_list_name = sy-repid.

* to get defult spool device for the user
SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
IF sy-subrc = 0.
MOVE l_f_spld TO l_f_destination.
ENDIF.

CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
* ARCHIVE_ID = C_CHAR_UNKNOWN
* ARCHIVE_INFO = C_CHAR_UNKNOWN
* ARCHIVE_MODE = C_CHAR_UNKNOWN
* ARCHIVE_TEXT = C_CHAR_UNKNOWN
* AR_OBJECT = C_CHAR_UNKNOWN
* ARCHIVE_REPORT = C_CHAR_UNKNOWN
* AUTHORITY = C_CHAR_UNKNOWN
* COPIES = C_NUM3_UNKNOWN
* COVER_PAGE = C_CHAR_UNKNOWN
* DATA_SET = C_CHAR_UNKNOWN
* DEPARTMENT = C_CHAR_UNKNOWN
destination = l_f_destination
* EXPIRATION = C_NUM1_UNKNOWN
immediately = 'X'
* IN_ARCHIVE_PARAMETERS = ' '
* IN_PARAMETERS = ' '
layout = l_f_layout
line_count = l_f_line_count
line_size = l_f_line_size
list_name = l_f_list_name
* LIST_TEXT = C_CHAR_UNKNOWN
* MODE = ' '
* NEW_LIST_ID = C_CHAR_UNKNOWN
* NO_DIALOG = C_FALSE
* RECEIVER = C_CHAR_UNKNOWN
* RELEASE = C_CHAR_UNKNOWN
* REPORT = C_CHAR_UNKNOWN
* SAP_COVER_PAGE = C_CHAR_UNKNOWN
* HOST_COVER_PAGE = C_CHAR_UNKNOWN
* PRIORITY = C_NUM1_UNKNOWN
* SAP_OBJECT = C_CHAR_UNKNOWN
* TYPE = C_CHAR_UNKNOWN
* USER = SY-UNAME
IMPORTING
* OUT_ARCHIVE_PARAMETERS =
out_parameters = l_f_out_parameters
valid = l_f_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4
.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

IF l_f_valid NE space.
NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
WRITE : /5 'Material No.',
25 'Message Type',
40 'Message Issued'.
ULINE.
LOOP AT g_t_message_table WHERE type = 'E'.
WRITE : / g_t_message_table-matnr UNDER 'Material No.',
g_t_message_table-type UNDER 'Message Type',
g_t_message_table-message UNDER 'Message Issued'.
ENDLOOP.
NEW-PAGE PRINT OFF.
ENDIF.

ENDFORM. " WRITE_TO_SPOOL&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 15:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010081#M1496467</guid>
      <dc:creator>JerryWang</dc:creator>
      <dc:date>2010-06-25T15:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010082#M1496468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two parts of the code that you have suggested. I could not much correlate them......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Futher to confirm the understanding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is  to send the output to a spool request.&lt;/P&gt;&lt;P&gt;Kindly elaborate the logic a little....sorry for expecting more...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try the code and would award points.Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 06:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010082#M1496468</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-28T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010083#M1496469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need not do any thing as specified by other friends, just you need to pass Print params structure IS_PRINT to the FM REUSE_ALV_GRID_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the sample print params I passed to my ALV Grid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  BUILD_PRINTPARAMS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_GS_PRNTPARAMS  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM build_printparams  CHANGING fp_s_prntparams TYPE slis_print_alv.&lt;/P&gt;&lt;P&gt;  fp_s_prntparams-reserve_lines = '3'.   "Lines reserved for footer&lt;/P&gt;&lt;P&gt;  fp_s_prntparams-no_coverpage  = 'X'.&lt;/P&gt;&lt;P&gt;  fp_s_prntparams-print         = 'X'.&lt;/P&gt;&lt;P&gt;  fp_s_prntparams-prnt_title    = 'X'.&lt;/P&gt;&lt;P&gt;  fp_s_prntparams-prnt_info     = 'X'.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " BUILD_PRINTPARAMS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, performing my Grid Functionality by passing this structure as per below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM disp_data  USING    fp_t_download   TYPE ty_t_download&lt;/P&gt;&lt;P&gt;                         fp_s_layout     TYPE slis_layout_alv&lt;/P&gt;&lt;P&gt;                         fp_s_prntparams TYPE slis_print_alv&lt;/P&gt;&lt;P&gt;                         fp_t_fieldcat   TYPE slis_t_fieldcat_alv&lt;/P&gt;&lt;P&gt;                         fp_t_events     TYPE slis_t_event.&lt;/P&gt;&lt;P&gt;  gv_repid = sy-repid.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_callback_program     = gv_repid&lt;/P&gt;&lt;P&gt;      i_callback_top_of_page = 'TOP_OF_PAGE'&lt;/P&gt;&lt;P&gt;      is_layout              = fp_s_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat            = fp_t_fieldcat&lt;/P&gt;&lt;P&gt;      i_save                 = 'A'&lt;/P&gt;&lt;P&gt;      it_events              = fp_t_events&lt;/P&gt;&lt;P&gt;      is_print               = fp_s_prntparams&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab               = fp_t_download&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      program_error          = 1&lt;/P&gt;&lt;P&gt;      OTHERS                 = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could able to generate the Spool Request No, dont forget to pass the Destination like "LOCL" or LPO1 etc. with out passing the destination at runtime, the spool request cannot be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, go the T-code SP01 to view your Spool content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh Kumar Mukka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 07:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010083#M1496469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T07:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010084#M1496470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I am trying this now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to run the program in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would this work in background as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 09:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010084#M1496470</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-28T09:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010085#M1496471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will surely work in Background also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh Kumar Mukka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 09:18:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010085#M1496471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T09:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010086#M1496472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did execute this code but it asked for Printing device.....who will provide that in background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 09:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010086#M1496472</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-28T09:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010087#M1496473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can default the output device as "LOCL" while sending to spool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mansi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 09:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010087#M1496473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T09:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010088#M1496474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP uSER,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which parameter defaults the output device. I tried finding out but could not find one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 10:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010088#M1496474</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-28T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010089#M1496475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to pass SY-PDEST as the default Output device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your Output devices is not as per the Clients specification, ask your BASIS guys to setup the default Output device proposed by the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean that the parameter which you pass "gs_prntparams-print_ctrl1-pdest = sy-pdest"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work definitely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh Kumar Mukka.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: santosh kumar on Jun 28, 2010 4:42 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: santosh kumar on Jun 28, 2010 4:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 11:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010089#M1496475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010090#M1496476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I find this parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"gs_prntparams-print_ctrl1-pdest = sy-pdest"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excuse me for bothering much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 11:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010090#M1496476</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2010-06-28T11:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Generating spool request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010091#M1496477</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;Go to T-code SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type-Groups: SLIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for the Types: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of slis_print_alv1,&lt;/P&gt;&lt;P&gt;         no_print_selinfos(1) type c,  " display no selection infos&lt;/P&gt;&lt;P&gt;         no_coverpage(1) type c,                            "&lt;/P&gt;&lt;P&gt;         no_new_page(1) type c,                             "&lt;/P&gt;&lt;P&gt;         reserve_lines type i,         " lines reserved for end of page&lt;/P&gt;&lt;P&gt;         no_print_listinfos(1) type c, " display no listinfos&lt;/P&gt;&lt;P&gt;         no_change_print_params(1) type c,  " don't change linesize&lt;/P&gt;&lt;P&gt;         no_print_hierseq_item(1) type c,  "don't expand item&lt;/P&gt;&lt;P&gt;         print_ctrl type ALV_S_Pctl,             -&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;&amp;gt; This is a deep structure with Print Control parameters&lt;/P&gt;&lt;P&gt;       end of slis_print_alv1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on "ALV_S_Pctl". You will se the Deep Structure inside: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRI_PARAMS	PRI_PARAMS&lt;/P&gt;&lt;P&gt;ARC_PARAMS	ARC_PARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expand PRI_PARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This nested structure gives the following fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PDEST	SYPDEST                  -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt; This field is your Output device. Pass SY-PDEST to this field.&lt;/P&gt;&lt;P&gt;PRCOP	SYPRCOP&lt;/P&gt;&lt;P&gt;PLIST	SYPLIST&lt;/P&gt;&lt;P&gt;PRTXT	SYPRTXT&lt;/P&gt;&lt;P&gt;PRIMM	SYPRIMM&lt;/P&gt;&lt;P&gt;PRREL	SYPRREL&lt;/P&gt;&lt;P&gt;PRNEW	SYPRNEW&lt;/P&gt;&lt;P&gt;PEXPI	SYPEXPI&lt;/P&gt;&lt;P&gt;LINCT	SYLINCT&lt;/P&gt;&lt;P&gt;LINSZ	SYLINSZ&lt;/P&gt;&lt;P&gt;PAART	SYPAART&lt;/P&gt;&lt;P&gt;PRBIG	SYPRBIG&lt;/P&gt;&lt;P&gt;PRSAP	SYPRSAP&lt;/P&gt;&lt;P&gt;PRREC	SYPRREC&lt;/P&gt;&lt;P&gt;PRABT	SYPRABT&lt;/P&gt;&lt;P&gt;PRBER	SYPRBER&lt;/P&gt;&lt;P&gt;PRDSN	SYPRDSN&lt;/P&gt;&lt;P&gt;PTYPE	SYPTYPE&lt;/P&gt;&lt;P&gt;ARMOD	SYARMOD&lt;/P&gt;&lt;P&gt;FOOTL	SYFOOTL&lt;/P&gt;&lt;P&gt;PRIOT	SYPRIOR&lt;/P&gt;&lt;P&gt;PRUNX	SYPRUNX&lt;/P&gt;&lt;P&gt;PRKEYEXT	SYPRKEY&lt;/P&gt;&lt;P&gt;PRCHK	SYCHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh Kumar Mukka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 12:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-spool-request/m-p/7010091#M1496477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T12:08:19Z</dc:date>
    </item>
  </channel>
</rss>

