<?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 Problem with List Printing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-list-printing/m-p/3351364#M803905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem . I have created a list shows the list of Material Dcoument No( Mblnr) and date with check box as first Column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user select the some material document No and press next button One details list will be generatd on the basis of the selected document . I am taking all such data and showning in the next list from there user can take print out with the help of Print command. That's  working fine and not having any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is this Client Want why the next screen display and again we have to press print button. After selecting the docuement when we press the next button the internal table directly goes to printer for printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already try with the following way but it's not working.........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT SAPMZTST NO STANDARD PAGE HEADING LINE-COUNT 0(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS P TYPE I.&lt;/P&gt;&lt;P&gt;DATA: PRIPAR LIKE PRI_PARAMS.&lt;/P&gt;&lt;P&gt;CONSTANTS: CX_MARK(1) TYPE C VALUE 'X',&lt;/P&gt;&lt;P&gt;C_ROWS TYPE I VALUE 65,&lt;/P&gt;&lt;P&gt;C_COLS TYPE I VALUE 132,&lt;/P&gt;&lt;P&gt;C_LAY(16) TYPE C VALUE 'X_65_132'.&lt;/P&gt;&lt;P&gt;DATA: VAL(1) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;p = 20.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            ARCHIVE_MODE   = '3'&lt;/P&gt;&lt;P&gt;            COPIES         = '5'&lt;/P&gt;&lt;P&gt;            DEPARTMENT     = 'SAP'&lt;/P&gt;&lt;P&gt;            DESTINATION    = 'EPSON01'&lt;/P&gt;&lt;P&gt;            EXPIRATION     = ' '&lt;/P&gt;&lt;P&gt;            IMMEDIATELY    = 'X'&lt;/P&gt;&lt;P&gt;            LAYOUT         = 'X_65_132'&lt;/P&gt;&lt;P&gt;            LINE_COUNT     = 54&lt;/P&gt;&lt;P&gt;            LINE_SIZE      = 20&lt;/P&gt;&lt;P&gt;            LIST_NAME      = 'Test'&lt;/P&gt;&lt;P&gt;            LIST_TEXT      = 'Test for User''s Guide'&lt;/P&gt;&lt;P&gt;            NEW_LIST_ID    = 'X'&lt;/P&gt;&lt;P&gt;            RECEIVER       = 'KELLERH'&lt;/P&gt;&lt;P&gt;            RELEASE        = ' '&lt;/P&gt;&lt;P&gt;            SAP_COVER_PAGE = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  DO P TIMES.&lt;/P&gt;&lt;P&gt;    WRITE / SY-INDEX.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: 'Page', SY-PAGNO.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE: 'End of', SY-PAGNO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can some one tell me is this possible....if yes how can I do it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swati Namdeo...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2008 04:11:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-06T04:11:36Z</dc:date>
    <item>
      <title>Problem with List Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-list-printing/m-p/3351364#M803905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem . I have created a list shows the list of Material Dcoument No( Mblnr) and date with check box as first Column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user select the some material document No and press next button One details list will be generatd on the basis of the selected document . I am taking all such data and showning in the next list from there user can take print out with the help of Print command. That's  working fine and not having any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is this Client Want why the next screen display and again we have to press print button. After selecting the docuement when we press the next button the internal table directly goes to printer for printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already try with the following way but it's not working.........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT SAPMZTST NO STANDARD PAGE HEADING LINE-COUNT 0(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS P TYPE I.&lt;/P&gt;&lt;P&gt;DATA: PRIPAR LIKE PRI_PARAMS.&lt;/P&gt;&lt;P&gt;CONSTANTS: CX_MARK(1) TYPE C VALUE 'X',&lt;/P&gt;&lt;P&gt;C_ROWS TYPE I VALUE 65,&lt;/P&gt;&lt;P&gt;C_COLS TYPE I VALUE 132,&lt;/P&gt;&lt;P&gt;C_LAY(16) TYPE C VALUE 'X_65_132'.&lt;/P&gt;&lt;P&gt;DATA: VAL(1) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;p = 20.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            ARCHIVE_MODE   = '3'&lt;/P&gt;&lt;P&gt;            COPIES         = '5'&lt;/P&gt;&lt;P&gt;            DEPARTMENT     = 'SAP'&lt;/P&gt;&lt;P&gt;            DESTINATION    = 'EPSON01'&lt;/P&gt;&lt;P&gt;            EXPIRATION     = ' '&lt;/P&gt;&lt;P&gt;            IMMEDIATELY    = 'X'&lt;/P&gt;&lt;P&gt;            LAYOUT         = 'X_65_132'&lt;/P&gt;&lt;P&gt;            LINE_COUNT     = 54&lt;/P&gt;&lt;P&gt;            LINE_SIZE      = 20&lt;/P&gt;&lt;P&gt;            LIST_NAME      = 'Test'&lt;/P&gt;&lt;P&gt;            LIST_TEXT      = 'Test for User''s Guide'&lt;/P&gt;&lt;P&gt;            NEW_LIST_ID    = 'X'&lt;/P&gt;&lt;P&gt;            RECEIVER       = 'KELLERH'&lt;/P&gt;&lt;P&gt;            RELEASE        = ' '&lt;/P&gt;&lt;P&gt;            SAP_COVER_PAGE = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  DO P TIMES.&lt;/P&gt;&lt;P&gt;    WRITE / SY-INDEX.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: 'Page', SY-PAGNO.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE: 'End of', SY-PAGNO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can some one tell me is this possible....if yes how can I do it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swati Namdeo...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 04:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-list-printing/m-p/3351364#M803905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T04:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with List Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-list-printing/m-p/3351365#M803906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please Refer following Link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba5e235c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba5e235c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-list-printing/m-p/3351365#M803906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:19:35Z</dc:date>
    </item>
  </channel>
</rss>

