<?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: Abap list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495683#M1063829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using the NEW-PAGE Print on option you can do that. &lt;/P&gt;&lt;P&gt;First get the Print parameters using the Function GET_PRINT_PARAMETERS function. then call that.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztest_print line-size 100
 line-count 10.
data: valid type c.
DATA: out_parameters TYPE pri_params.
 
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING
    destination            = 'LOCA'  "Replace with your Dest.Printer
    immediately            = 'X'
    release                = 'X'
    NO_DIALOG              = 'X'
  IMPORTING
    out_parameters         = out_parameters
    VALID                  = valid
  EXCEPTIONS
    archive_info_not_found = 1
    invalid_print_params   = 2
    invalid_archive_params = 3.
 
 
NEW-PAGE PRINT ON PARAMETERS out_parameters NO DIALOG. .
 "here you need to call your output statements
"if it is normal list then it should be write statements.
WRITE 'this is for testing'.
 
NEW-PAGE PRINT OFF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2008 09:04:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-11T09:04:39Z</dc:date>
    <item>
      <title>Abap list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495681#M1063827</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;What can I do to print an abap list without displaying it?&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;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 08:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495681#M1063827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T08:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Abap list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495682#M1063828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run it in background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495682#M1063828</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-09-11T09:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Abap list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495683#M1063829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using the NEW-PAGE Print on option you can do that. &lt;/P&gt;&lt;P&gt;First get the Print parameters using the Function GET_PRINT_PARAMETERS function. then call that.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztest_print line-size 100
 line-count 10.
data: valid type c.
DATA: out_parameters TYPE pri_params.
 
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING
    destination            = 'LOCA'  "Replace with your Dest.Printer
    immediately            = 'X'
    release                = 'X'
    NO_DIALOG              = 'X'
  IMPORTING
    out_parameters         = out_parameters
    VALID                  = valid
  EXCEPTIONS
    archive_info_not_found = 1
    invalid_print_params   = 2
    invalid_archive_params = 3.
 
 
NEW-PAGE PRINT ON PARAMETERS out_parameters NO DIALOG. .
 "here you need to call your output statements
"if it is normal list then it should be write statements.
WRITE 'this is for testing'.
 
NEW-PAGE PRINT OFF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495683#M1063829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Abap list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495684#M1063830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;use this function module&lt;/P&gt;&lt;P&gt;instead of write statement&lt;/P&gt;&lt;P&gt;RSPO_GET_SIZE_OF_LAYOUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495684#M1063830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Abap list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495685#M1063831</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;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run a program in background process than you can directly get the print of the output without displaying the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-list/m-p/4495685#M1063831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:12:17Z</dc:date>
    </item>
  </channel>
</rss>

