How to Print List to spool but skip the print parameter window?

Dear all,
  I am coding a program for print list into  spool.
But every times I run the program there must pop up a print parameter window, after I click the 'Continue' button,then the list print to spool.
  Is there some way that I can just run the program and print to spool directly?
                           Thank you for your kindness help~~~
Message was edited by: jin yan

Hi,
If it is a report program then, use this code.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING DESTINATION           = 'LP01'
            COPIES                = COUNT
            LIST_NAME             = 'TEST'
            LIST_TEXT             = 'SUBMIT rep... TO SAP-SPOOL'
            IMMEDIATELY           = 'X'
            RELEASE               = 'X'
            NEW_LIST_ID           = 'X'
            EXPIRATION            = DAYS
            LINE_SIZE             = 79
            LINE_COUNT            = 23
            LAYOUT                = 'X_PAPER'
            SAP_COVER_PAGE        = 'X'
            COVER_PAGE            = 'X'
            RECEIVER              = 'SAP*'
            DEPARTMENT            = 'System'
            NO_DIALOG             = 'X'
  IMPORTING OUT_PARAMETERS        = PARAMS
            VALID                 = VALID.
IF VALID <> SPACE.
  SUBMIT RSTEST00 TO SAP-SPOOL
    SPOOL PARAMETERS PARAMS
    WITHOUT SPOOL DYNPRO.
ENDIF.
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav

Similar Messages

  • "printer is offline" appears on one computer but not the other (both windows 7)

    printer is offline" appears on one computer but not the other (both windows 7)

    This is pretty common to see when your firewall kicks in and blocks certain communication paths the printer takes.
    Here's a list of ports and programs that when allowed through the firewall, will restore communiction.
    Ports to open:
    UDP ports: 427, 161, 139
    TCP ports: 9200, 9220, 9290, 9500
    Programs to allow:
    hpiscnapp.exe
    hpoews01.exe
    hpofxm08.exe
    hposfx08.exe
    hposid01.exe
    hpqkygrp.exe
    hpqste08.exe
    hpqtra08.exe
    hpznui01.exe
    hpzwiz01.exe
    SLP_Service (also known as UDP 427)
    Have your security software provider walk you through allowing these items through your firewall.
    If this does not fix your issue, it is most likely an issue with the driver configuration. Your router may have assisgned the printer a new IP address and this can be changed in the properties of the existing driver.

  • I purchased (and have now deleted Aperture from my computer and want to use only iPhoto.  How do I delete Aperture albums but keep the pics in iPhoto?

    I purchased (and have now deleted) Aperture from my computer and want to use only iPhoto.  (Aperture was simply too much program for me.)  How do I delete Aperture albums but keep the pics in iPhoto?  Please accept my apologies in advance if this is a dumber than dumb question.  I simply want all vestiges of Aperture to go away with losing all my albums.  Any help would be appreciated!

    Aperture added  a second view to your library.
    You now have an additional section in your Source list , called events. But this section lists exactly the same events that you are seeing in the "Events" view. Don't delete anything from there, or you will delete your photos. But you can press the "Hide" button to collaps that section. But someday you may want to use this list. It makes it very easy to move photos between events.

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • How can I add a line but keep the number I have from tmobile

    How can I add a line but keep the number I have from Tmobile

    Hi, Janice!
    I'm just guessing, but I imagine you'd get your question answered faster in the AE forum.

  • How to find list of languages installed in the SAP system?

    Hi All,
    Please tell me, how to find list of languages installed in the SAP system?
    Thanks and Regards,
    Kumar.

    Hi Virgo Rhyme
    Hope the following info will be helpful
    3rd - SAP is the 3rd largest software company in the world
    30,000 - Total number of people employed by SAP
    5,400 - Number of programmers employed by SAP
    $7.024 billion - FY03 Revenue
    $1.077 million - FY03 Net Income
    12,000 - Number of companies using SAP
    79,800 - Number of SAP installations
    12,000,000 - Number of people using SAP
    120,000,000 - Total number of people in the 12,000 companies who are using SAP
    28 - Number of languages supported by SAP
    46 - Number of country-specific versions of SAP
    22 - Number of industry-specific versions of SAP
    1,000 - Number of pre-defined best practices contained in the SAP system
    10,000 - Number of tables requiring configuration in a full SAP implementation
    55,000 - Number of SAP experienced consultants worldwide
    28 - Number of years ago SAP was started
    Reward if helpful
    Regards
    Lakshman

  • How to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    how to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    You can use third party software True Last Logon 2.9.You can export the file in excel for report creation.You can use the trial version this will achieve what you are looking for.
    True Last Logon displays the following Active Directory information:
    --Users real name and logon name
    --Detailed account status
    --Last Logon Date & Time
    --Last Logon Timestamp (Replicated value)
    --Account Expiry Date & Time
    --Enabled or Disabled Account
    --Locked Accounts
    --Password Expires
    --Password Last Set Date & Time
    --Logon Count
    --Bad Password Count
    --Expiry Date
    --You can also query for any other attribute (Example: Description, telephone Number, custom attibutes etc)
    Refer the below link for trial version:
    http://www.dovestones.com/products/True_Last_Logon.asp
    Best Regards,
    Sandesh Dubey.
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
    My Blog
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Different iOS: phone 4 & Iphone 6 Plus how to share same music folder but all the rest of the phone information separated not merge

    I have a iphone 4 (iSO7.1.2) & a iphone 6 plus (iSO 8.1) . 1. Can I use one Apple ID for 2 phones? 2. I want to share only same music but have different Contacts, Emails boxes, Apps, documents etc on each phones. How to make it possible? 3. What should I do the iCloud back-up is lapse. The email address is to the same location. How do i set 2 different iCloud back-up individually on each phone? I'm using Mac OS X. Appreciate, all help. Thank you ... both my iphones are pretty messy up now .....identity crises....one moment its saving back-up or sync to iSO 7.1.2 ... the next moment its iSO 8.1.....

    iphone 4 & Iphone 6 Plus how to share same music folder but all the rest of the phone information separated not merge?
    You already ask this question, why are you asking again.

  • How to print a window (ex:total)only after end of main window in SAP Script

    How to print a window(ex: total) only after end of main window in SAP Script
    Thank you.

    Create a total window and place it after your main window, get the number of lines in your main window and place counter
    Ex,&SAPSCRIPT-COUNTER_1(+)&,
    IF SAPSCRIPT-COUNTER_1& EQ <number of lines in main window>
    **print total
    ENDIF.
    Regards,
    Sairam

  • How to figure reset security question but forgot the answers to them

    how to figure reset security question but forgot the answers to them

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a rescue email address or a Security Questions issue, then see:
             If you forgot the answers to your Apple ID security questions - Apple Support.
             Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • How can i let my java application closes the other opened windows

    how can i let my java application closes the other opened windows: like any other Microsoft Internet Explorer windows ... provided that my java application is not the one i used to open those other windows.... thanks in advance

    you'll have to use JNI to access the windowAPI
    then you need a list of window handles ... I think there was a function called getWindow and in order to close them you use sendMessage .... for details check out msdn (microsoft developer network)
    somwhere I saw a tool called JUtil, which might help you getting started on accessing the win api from java
    regards
    Spieler

  • How do you make "Acrobat X Pro" open the "combine pdf" window in the foreground?

    How do you make "Acrobat X Pro" open the "combine pdf" window in the foreground?
    I am using a "Windows 7" computer at work with "Acrobat X Pro" and I'm constantly combining
    pdf's and tiff's in Acrobat.
    It would be nice if when I select 30 or 40 files to combine, the
    "Combine Supported Files in Acrobat" window would open in the
    foreground, not behind the 10 or so windows already open.
    I have been researching this for some time now with no solution.
    If the answer is that "IT CAN'T BE DONE", then that's fine. At least
    I will have an answer and can stop searching. If (as I suspect) it can
    be done, then kindly supply me with "step by step" instructions.
    Michael Jones

    Something that works  (provides Acrobat the application precedence in the OS that is requisite for this) --
    Minimize the 10 or so application windows before engaging use of Acrobat's "combine".
    That'll let the Acrobat dialog windows display front and center.
    Be well...

  • When I right-click a link to open in another tab, the new tab opens not in the original window but in the first firefox window of the session

    when I right-click a link to open in another tab, the new tab opens not in the original window but in the first Firefox window of the session.
    I deleted sessionstore.js from the profile and restarted Firefox but that did not help

    Sounds like this bug:
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=644729 bug 644729] - Popup window with all toolbars visible causes new tabs to open in another browser window
    ''(please do not comment in bug reports; you can vote instead)''

  • How do i add and delete photos from the screensaver preference window

    How do i add and delete photos from the screensaver preference window?

    Hello, sassy4sue. 
    Thank you for visiting Apple Support Communities. 
    Here is an article that you may find helpful when creating or editing iPhoto albums that you are using as a screen saver. 
    Mac Basics: Using Screen Saver when your screen is idle
    http://support.apple.com/kb/ht2485
    Cheers,
    Jason H. 

  • Printing sap script to spool by skipping print parameter window

    Hi all,
    I am trying to print an output (derived from sap script) directly from program to spool and then fetch the spool request and download it to PDF. This should happen automatically when the end user executes the program by giving required inputs. Can any one guide me on this ?
    Rgds,
    Praveen

    Hi all,
    I got the problem solved. Thanks for all who replied and supported me. This is how i solved it. This is not the full code. I am not giving declaration part here. But this is the main blocks which is going to work.
    Data: purdocno TYPE string,
                        v_len_in TYPE i.
    PERFORM open_from.
        LOOP AT it_itab.
          ON CHANGE OF it_itab-ebeln.  
              PERFORM start_form.
              PERFORM write_form.
              PERFORM end_form.
          END ON.
        ENDLOOP.
    PERFORM close_form.
    PERFORM convpdf.
    FORM convpdf.
        CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
           format                      = 'PDF'
    *       MAX_LINEWIDTH               = 132
    *       ARCHIVE_INDEX               = ' '
    *       COPYNUMBER                  = 0
    *       ASCII_BIDI_VIS2LOG          = ' '
           PDF_DELETE_OTFTAB           = 'X'
         IMPORTING
           BIN_FILESIZE                = v_len_in
    *       BIN_FILE                    =
          TABLES
            otf                         = i_otf
            lines                       = i_pdf
         EXCEPTIONS
           ERR_MAX_LINEWIDTH           = 1
           ERR_FORMAT                  = 2
           ERR_CONV_NOT_POSSIBLE       = 3
           ERR_BAD_OTF                 = 4
           OTHERS                      = 5.
        purdocno = s_ebeln+3(10).
        concatenate 'c:\' purdocno '.pdf' INTO purdocno.
        CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
    *      BIN_FILESIZE                    =
          filename                        = purdocno
          FILETYPE                        = 'BIN' " important
    *    IMPORTING
    *      FILELENGTH                      =
         tables
           data_tab                        = i_pdf
         EXCEPTIONS
           FILE_WRITE_ERROR                = 1
           NO_BATCH                        = 2
           GUI_REFUSE_FILETRANSFER         = 3
           INVALID_TYPE                    = 4
           NO_AUTHORITY                    = 5
           UNKNOWN_ERROR                   = 6
           HEADER_NOT_ALLOWED              = 7
           SEPARATOR_NOT_ALLOWED           = 8
           FILESIZE_NOT_ALLOWED            = 9
           HEADER_TOO_LONG                 = 10
           DP_ERROR_CREATE                 = 11
           DP_ERROR_SEND                   = 12
           DP_ERROR_WRITE                  = 13
           UNKNOWN_DP_ERROR                = 14
           ACCESS_DENIED                   = 15
           DP_OUT_OF_MEMORY                = 16
           DISK_FULL                       = 17
           DP_TIMEOUT                      = 18
           FILE_NOT_FOUND                  = 19
           DATAPROVIDER_EXCEPTION          = 20
           CONTROL_FLUSH_ERROR             = 21
         OTHERS                            = 22.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.

Maybe you are looking for

  • E2E Root cause analysis in solution manager

    Hi How to add the E2E root cause analysis, the  new functionality in solution manager 4.0 with the E2E root cause analysis functionality does it require support pack which level of SP required to use the new  functionaltiy Regards Dinaker vikas

  • DVD Drive won't eject!!!

    I was transferring some files from a dvd I had burned and now it won't eject the disc. When I press the eject button, it ejects, but before any of the disc comes out, it automatically reloads the disc. I've tried restarting the computer, even holding

  • 2lis_02_scl and 2lis_02_itm

    Hi developers, I've activated the extractors 2lis_02_scl and 2lis_02_itm, when I do the initalitation in the setup tables I don't see any record also if in the execution log there are 7230 documents. Any ideas to solve my problem? Best Regards!

  • Updating iPad 1 to 5.0.1, seriously?

    Over the last 24 hrs I've been in the process of updating the software on my iPad to 5.0.1 from 4.2.1 (if I remember correctly). Naturally, I wanted the state of the iPad to remain the same, i.e. media files in place, apps in place, app data in place

  • Mac OS 10.5.8 + Directory Tool - Not there??

    Am attempting to add my Mac to my domain.  Have read severa lthreads indicating I would perform the needed steps using the Directory Tool.  for some reason, I am unable to locate this tool on my Mac.  As an Administrator, I click System Preferences >