<?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: Printer Selection on Selection-Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360913#M1233946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;                TSP01_SP0R-RQDESTL.&lt;/P&gt;&lt;P&gt;Does this table exist.&lt;/P&gt;&lt;P&gt;I checked TSP01 but there is no field with name RQDESTL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2009 14:15:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-03T14:15:09Z</dc:date>
    <item>
      <title>Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360909#M1233942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;                In my selection screen I want a option to select the Printer to which I want to print my output.&lt;/P&gt;&lt;P&gt;In my selection screen I have a push button with name some Print.&lt;/P&gt;&lt;P&gt;When I click this my logic will run and Print the output to where I have selected my printer.&lt;/P&gt;&lt;P&gt;My requirement is:-&lt;/P&gt;&lt;P&gt;1) How can I put a selection for Printer in selection screen.&lt;/P&gt;&lt;P&gt;2) And how should I make the output to print immedialtely when I press my Push Button from the selection Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 13:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360909#M1233942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T13:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360910#M1233943</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;Refer this Field TSP01_SP0R-RQDESTL to declare field on the selection screen you will get the F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While passing print_params pass 'X' to PRIMM field will help the printting immediately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360910#M1233943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360911#M1233944</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;In addition to the selection field above;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use the FM:  GET_PRINT_PARAMETERS to fetch the printer parameters&lt;/P&gt;&lt;P&gt;2) Use the FM: JOB_OPEN :Open Job Scheduling Without Dialog (Including COMMIT WORK)&lt;/P&gt;&lt;P&gt;3) Use the FM: JOB_SUBMIT: Insert Background Task in Background Request With COMMIT WORK&lt;/P&gt;&lt;P&gt;4) Use the FM:JOB_CLOSE: Close Background Request With COMMIT WORK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360911#M1233944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360912#M1233945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;search SCN with 'GET_PRINT_PARAMETERS' to print&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360912#M1233945</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-03T14:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360913#M1233946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;                TSP01_SP0R-RQDESTL.&lt;/P&gt;&lt;P&gt;Does this table exist.&lt;/P&gt;&lt;P&gt;I checked TSP01 but there is no field with name RQDESTL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360913#M1233946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360914#M1233947</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;TSP01_SP0R is the structure  and it has the field RQDESTL or you can use the SYST-PDEST .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER : S_PRINTER TYPE  TSP01_SP0R-RQDESTL..&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;PARAMETER : S_PRINTER TYPE   SYST-PDEST &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above both declaration can provide F4 help on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360914#M1233947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360915#M1233948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Avinash.&lt;/P&gt;&lt;P&gt;I have done with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small doubt .&lt;/P&gt;&lt;P&gt;As I send when I press the Push Button.. should I call my logic first or the function module.&lt;/P&gt;&lt;P&gt;So if I call the FM directly will my output be printed directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360915#M1233948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360916#M1233949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: sscrfields.
PARAMETER : s_pri TYPE tsp01_sp0r-rqdestl.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON 10(10) push USER-COMMAND clic.
SELECTION-SCREEN END OF LINE.

    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        IMMEDIATELY            = ' '
        MODE                   = 'BATCH'
        NO_DIALOG              = 'X'
        RELEASE                = 'X'
        NEW_LIST_ID            = 'X'
        LINE_SIZE              = SY-LINSZ
        LIST_NAME              = 'NAME'
        LIST_TEXT              = 'Text name'
      IMPORTING
        OUT_PARAMETERS         = PARAMS
        VALID                  = VALID
      EXCEPTIONS
        ARCHIVE_INFO_NOT_FOUND = 1
        INVALID_PRINT_PARAMS   = 2
        INVALID_ARCHIVE_PARAMS = 3
        OTHERS                 = 4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360916#M1233949</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-03T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360917#M1233950</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 need to call FM by passing the required parameter and the need to use the exporting parameter OUT_PARAMETERS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know what are you printing smartform Sapscript or list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360917#M1233950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printer Selection on Selection-Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360918#M1233951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash I am printing Hirerchical List.&lt;/P&gt;&lt;P&gt;This uses two ITABS for Header &amp;amp; Item&lt;/P&gt;&lt;P&gt;How to pass this two ITABS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printer-selection-on-selection-screen/m-p/5360918#M1233951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T14:44:58Z</dc:date>
    </item>
  </channel>
</rss>

