<?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 Changing Spool tiltle in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585765#M1661201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create a spool with title ZXXXX_REPORT_sy-datum.&lt;/P&gt;&lt;P&gt;Program will schedule as a batch job and report output will be sent to a set of users.&lt;/P&gt;&lt;P&gt;I see no coding is done in the program to generate the spool&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 09:02:28 GMT</pubDate>
    <dc:creator>VijayCR</dc:creator>
    <dc:date>2012-02-09T09:02:28Z</dc:date>
    <item>
      <title>Changing Spool tiltle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585765#M1661201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create a spool with title ZXXXX_REPORT_sy-datum.&lt;/P&gt;&lt;P&gt;Program will schedule as a batch job and report output will be sent to a set of users.&lt;/P&gt;&lt;P&gt;I see no coding is done in the program to generate the spool&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585765#M1661201</guid>
      <dc:creator>VijayCR</dc:creator>
      <dc:date>2012-02-09T09:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Spool tiltle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585766#M1661202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its the alv list getting generated in the background. Before calling the ALV function call GET_PRINT_PARAMETERS , it will give you the details of spool parameters. Now change the value in it by calling SET_PRINT_PARAMETERS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585766#M1661202</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-02-09T09:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Spool tiltle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585767#M1661203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kesav,&lt;/P&gt;&lt;P&gt;Can you please tell me exactly the program name or how to check the program name?&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585767#M1661203</guid>
      <dc:creator>VijayCR</dc:creator>
      <dc:date>2012-02-09T09:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Spool tiltle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585768#M1661204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Execute this code in background and check the spool title&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:i_mara TYPE TABLE OF mara.
DATA:repid TYPE sy-repid,
     params TYPE pri_params,
     title TYPE pri_params-prtxt,
     val.
DATA:inc(3) TYPE n.
DATA:dat(10) TYPE c.

start-of-selection.

repid = sy-repid.

SELECT * FROM mara UP TO 20 ROWS INTO TABLE i_mara.

inc = 001.
dat = sy-datum.
CONCATENATE 'Z' inc dat INTO title.

CALL FUNCTION 'SET_PRINT_PARAMETERS'
     EXPORTING
          list_text = title.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
          i_callback_program = repid
          i_structure_name   = 'MARA'
     TABLES
          t_outtab           = i_mara.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-spool-tiltle/m-p/8585768#M1661204</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-02-09T09:31:17Z</dc:date>
    </item>
  </channel>
</rss>

