Print only to spool

Hi Experts,
I need to print smartform from z_program only to spool, not directly to the printer. How do I need to maintain parameters of function module?
Thanks&regards,
Jirka

Explore the importing parameters control_parameters and output_options in the smartform FM.
  DATA: wa_cnt TYPE ssfctrlop,
        wa_comp TYPE ssfcompop.
* to avoid print dialog
  wa_cnt-no_dialog = c_x.
* Printer
  wa_comp-tddest = 'LOCL'.
* New Spool request
  wa_comp-tdnewid = 'X'.
Regards,
Naimesh Patel

Similar Messages

  • Printing invoices with VF31 in only one spool request

    Hello,
    we want to print a number of invoices with VF31 using only one spool request, as at this time we become one spool request for each document.
    The problem is that VF31 calls indirectly RSNAST00 and this program makes a call to the print program where we have OPEN_FORM and END_FORM each time, so this creates one spool request every time the program is called.
    Is there a way to print in only one spool request without doing big changes to programs?
    Thanks and regards.

    Hi,
    To append to an existing spool, see the SAP Notes 85318 and 16410.
    For spools to be appended the parameters 'New spool request' and 'Do not Append Print Jobs' must be set to 'No' by the application creating the spools.
    For Sapscript, when the application call the function module OPEN_FORM in your print program, you can transfer a structure ITCPO to the parameter OPTIONS. Via ITCPO-TDNEWID, you can select the option 'New Spool Request'.Via ITCPO-TDFINAL, you can can select if the spool is closed.
    Regards,
    Aidan

  • How to print delivery note only to spool

    Hi,
        Can anyone advise how to send print request from VL02N/Delivery Notes to a printer without actually printing anything ? i.e. print to a spool ? We want to avoid errors in SP01 caused due to spool requests sent to a printer which no longer exists. So we want to retain the spool but not print anything.
    Thanks.

    Make your form to spool only. do not assign any printer to it.... I mean, no physical printer.

  • Print an existing spool in ABAP program.

    Hi Experts, 
    I have a problem to print an existing spool. 
    I need print many an existing spools in ABAP program 
    - I used the SHDB and call transaction with BDC data but work only for 1st. 
    - I tried use the RSPO_RPRINT_SPOOLREQ function but don't work.

    I resolved my own problem.
    I use the function RSPO_OUTPUT_SPOOL_REQUEST...
    The only parameters to this functions was spool_request_id  - ID spool.
    Thanks for  help!

  • All Labels in the Smartform  should be printed under one spool request ?

    Hi All,
    I need to print the labels with some data .At a time I have to print 10 labels with the same Spool request. I have required data in one internal table .I am looping the internal table and printing the label.In this case every time control leading to Print prview, and when i click on PRINT button then only It is leading to the Spool.For each print it is creating a new spool .
      But My requirement is , I need all the labels should be printed under only one spool .And I can see the print preview only once , and  if I click on print  button 10 labels(depending on the records in internal table) should be printed .Cotrol should not come again to the Print popup .
    Thanks,
    Suresh Kumar D.

    Hi,
    As per your requirement, if you want to print 10 labels, in same spool request, design your smart form like that,
    I mean design 10 labels in your smart forms.
    I hope this is easy solution.
    Regards,
    Sreenu.

  • ME9F - Prints only one message

    Hi all,
    I'm having a problem when printing more than one purchase order message in ME9F.
    When I select all messages to be printed, only one is going to printer, and the other ones stay in spool list with status "-" (not yet sent to the host system).
    Any idea why this is happenning?
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

    Hi,
    After some conversations with SAP support and basis team, I still don't have an answer for this.
    I discover if I use standard SAP settings in the processing routines configuration (Program "SAPFM06P", form routine "ENTRY_NEU" and form "MEDRUCK") this will work. The problem seems to be that I'm using a customized smartform, so in my processing routines configuration I have:
    - Program: /SMB40/FM06P
    - Form routine: ENTRY_NEU
    - PDF/Smartform: ZZZZZZ
    - Type: Smartform.
    I already debug the program and the field "DIMME" in NAST table is set in every message, so I really don't have any idea why this is happening.
    Any help is precious!
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

  • Sap scrpit only to spool

    Dear SCN,
    How can I put script only to spool, not to printer? The preview must not be seen.
    I've already test to change some parameters but with no sucess: If I get the spool, then the scrpit is also printed on the device. If I choose get OTF, the scrpit is not getting to spool.
    Here is the options:
    TDCOPIES
    1
    TDDEST
    CA0
    TDNOPREV
    X
    TDNOPRINT
    X
    TDNEWID
    X
    TDDATASET
    SAP06
    TDSUFFIX1
    CA0
    TDSUFFIX2
    1000
    TDLIFETIME
    7
    TDCOVER
    D
    TDRECEIVER
    MJ
    TDDIVISION
    D
    Thanks.
    Regards,
    Maria João Rocha

    Hi Maria,
    There are two more ways i can suggest you..
    1 . Change the parameter ITCPO-TDIMMED = '  ' for open_form , since it is of type SYPRIMM which controls Print Immediately (Print Parameters).
    Or
    2. Try making use of FM - GET_PRINT_PARAMETERS and SET_PRINT_PARAMETERS.
    Regards,
    Vikas .

  • Why cant I highlight part of a document and print only what is selected in safari?

    Why is it not possible to highlight and print the selection in Safari, thought the imac was supposed to do everything,  WRONG.
    I also have I.pad 2 and because it does not support adobe flash, I cannot open a magazine that I have each week, I have to do this on the imac, so when away from home it again doesnt do what I want it to.  Does everything people say.  WRONG AGAIN.
    Should have stuck with the laptop, it actually does do these things mentioned above.

    I purchased the iPad first and waited a year HOPING Apple would fix this problem OR at the least provide something comparable to WINDOWS!
    WRONG....and yes it is hard to believe for how ADVANCED Apple is.....that they don't have a simple easy program that allows you to HIGHLIGHT and PRINT ONLY what you highlight!
    But....they are making leaps and bounds.....at least you can now cut & paste....thats a good thing!?
    HOPEFULLY.......in the VERY,VERY NEAR FUTURE Apple will supply us with the simple software to do these simple time saving chores!
    (highlight and print ONLY what you highlight)
    Until then we have to cut and paste to several different apps or programs....hoping it will allow you to print ONLY WHAT THE USER WANTS TO PRINT!

  • How can I print ONLY the active document?

    Whenever I go to File/Print the darn PSE 9 program sends all of the working files in the bin to the printer. I've searched online for 2 hours now looking for an answer.
    I like to work with having several to many files in the 'bin' and prefer to only print the active file I'm currently working on without having to close the 'working files' before I can print. How can I print ONLY the active document or file in the project bin? Please help, I've upgraded from PSE 3 to PSE 9 and really like the updated features, but this one pain in the neck default is getting the best of me.

    Thanks for your help, that works nicely. It is good to have control of the printer again.

  • HP Officejet Pro 8500 Premier prints only in black/MAC USER & won't align?

    PROBLEM # 1) I've replaced all my ink cartridges, but can't find out why my printer is now only printing in black? I'm a MAC user, so I want to print in color, and am trying to find instructions for a MAC on how to get back to printing in color?
    ACTION TAKEN #1
    UPDATE: I've done a three level cleaning of the printer heads, which DOES print in color and each color block now looks great.  The printer heads were not printing any color blocks, but the pink color block,  until the first third level cleaning. I then cleaned the printer heads a second time all the way through the third level.
    RESULT: However when I print from any document/web page my printer only still prints in black & white after these two printer adjustments double three stage printer cartridge claening?
     ACTION TAKEN #2
    I found this very detailed report and video on cleaning printer heads, alignment issues, and calibrate line feeds;
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01624398&lc=en&product=3964986&tmp...
    The Print Quality Diagnostics Page looks perfect (including the alignment section)  in all 3 test patterns, and again prints in color. 
    RESULT: However, my printer still will not print in color after trying all these steps?
    IPROBLEM #2)I  've also tried a align printer which also prints in color,  but states, "alignment failed see documentation manual"? To make the situation more complicated the alignment page looks perfect  and prints in color before the error message displays. 
    After puling the power cord  twice while ON  and wiating 20 seconds, as discussed in the above link. my printer "won't remove the, "align  error message see diagnostics manual".
    RESULT: Printer "won't remove the, "align  error message see diagnostics manual", even though the Printer Diagnostic Pages looks great, and the alignment page as well.
    I'm operating a lastest version Macbook Air laptop OS X 10.9.4. I have not upgraded to a new operating system since this problem started a week ago, and Ive owned this HP Printer for 2 years. 
    UPDATE: ISSUE SOLVED. Well you can imagine when I say that I spent about 2 hours on this yesterday that yea he's right. This took a long time to research and try all these solutions. I told my wife about the issue and had her try:
    ACTION TAKEN #3: Print a page from a second computer. Windows laptop printed a colored page from a web site.  
    SOLUTION: (Printing only in Black Color): Wife literally solved the problem in 3 minutes! 
    Look below at the presets drop-down arrow tab, which is right below the printer name: You will see PLAIN PAPER, FAST DRAFT, BLACK AN(D WHITE). I'm not sure how I checked this, but this is how you can print only in black ink. NOTE: I looked at dozens of answers across the web, and didn't find this info anywhere else!
    This screen shot show you what the setting should be if you want to print in fast draft mode to use the least amount of color ink. 

    Hi monkplayer,
    It looks like your problem is solved? There wasn't a problem with the printer itself, just the printer settings on your Mac?
    This is good information though. We don't always have detailed solutions for customers that are using Safari, since it is hard to write instructions for the general public with specific steps for each operating system.
    Best of luck,
    Mary
    {I work on HP's behalf}

  • Printing only in B&W

    Hello,
    When printing remotely through my Apple Express (version 6.3) it no longer conveys the color signal to my HP printer, only the black and white. It doesn't seem to be a printer or computer issue, as they work fine when connected directly through the USB.
    Thanks in advance for any help.
    Josh - Brooklyn, NY

    An issue with HP not Apple. Thanks all

  • Header Details to be Printed only for the line item details.

    Hi All,
    I have the following requirement.
    I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
    In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
    The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
    For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
    The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
    Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
    Thank you.

    Dear Vasudha,
    I am a little bit confused regarding your query,
    "In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
    When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
    Well my suggestion for your issue is,
    1.I  hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using  the command node which you have used.In your case you will have to use a combination of both.
    2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2)  and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
    In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
    3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
       In the footer section of the table which you have used,  use a command node set to PAGE3.  After the command node and under the same  footer section now insert your terms and condition lineitem.
    Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
    So now this footer section will be triggered only once after all the data in the table is displayed
    4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
    Hope this helps.
    Regards,
    Riju

  • How can i print only pages which have been highlighted, from a multi page file?

    How can i print only pages which have been highlighted, in a multi page file.

    Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.

  • How to print only fatal error in log file in tomcat4.1

    Hi all ,i m using tomcat4.1
    1> i want to print only fatal error in log file ,but it print all thing in log file ,how i can avoid it(because i think this process is consuming my resource)
    assume below ip address is corect:
    this is exact printing in my log file
    .12.2.3.3  - - [24/Oct/2007:00:00:00 5050] "GET /menu/ir.jsp HTTP/1.1" 200 2828
    12.2.3.3  - - [24/Oct/2007:00:00:00 5050] "GET /menu/bottomAdv.jsp HTTP/1.1" 200 528
    12.2.3.3  - - [24/Oct/2007:00:00:02 5050] "GET /menu/alerts.jsp HTTP/1.1" 200 323
    12.2.3.3  - - [24/Oct/2007:00:00:02 5050] "GET /alerts/createAlertShow.jsp HTTP/1.1" 200 26140
    123.2.3. - - [24/Oct/2007:00:00:05 5050] "GET /menu/getsensex.jsp HTTP/1.1" 200 642
    12.2.3.3 - - [24/Oct/2007:00:00:05 5050] "GET /menu/latestRecommendation.jsp HTTP/1.1" 200 5210
    12.2.3.3 - - [24/Oct/2007:00:00:05 5050] "GET /portfolio/watchlist/displayWatchlistItemsShow.jsp?watchlistId=20070509013642953_1&watchlistName=First&refreshRate=900&flag=1 HTTP/1.1" 500 7257
    12.2.3.3  - - [24/Oct/2007:00:00:05 5050] "GET /menu/iwealthNewsScroller.jsp HTTP/1.1" 200 2828
    112.23.3  - - [24/Oct/2007:00:00:06 5050] "GET /menu/alerts.jsp HTTP/1.1" 200 323
    112.23.3 - - [24/Oct/2007:00:00:06 5050] "GET /menu/bottomAdv.jsp HTTP/1.1" 200 528
    12.2.3.3  - - [24/Oct/2007:00:00:07 5050] "GET /menu/alerts.jsp HTTP/1.0" 200 323
    12.2.3.3 - - [24/Oct/2007:00:00:09 5050] "POST /Transaction/equity/modifyConfirmShow.jsp?DelId=0 HTTP/1.1" 200 28661
    12.2.3.3  - - [24/Oct/2007:00:00:09 5050] "GET /menu/getsensex.jsp HTTP/1.1" 200 6422>what will happen if i change timestamp="false" and what is the significance of verbosity="1" or "2" or "3" ,or "4" and what happen if i change debug="1" or other in below code
    <Logger className="org.apache.catalina.logger.FileLogger" debug="0" directory="logs" prefix="www.xyz_log." suffix=".txt" timestamp="true" verbosity="4"/>Edited by: Deepak23 on Oct 24, 2007 10:41 PM
    Edited by: Deepak23 on Oct 24, 2007 11:16 PM

    One of my standard answers (which will explain the use of Directory Objects)...
    The UTL_FILE_DIR parameter has been deprecated by oracle in favour of direcory objects because of it's security problems.
    The correct thing to do is to create a directory object e.g.:
    CREATE OR REPLACE DIRECTORY mydir AS 'c:\myfiles';Note: This does not create the directory on the file system. You have to do that yourself and ensure that oracle has permission to read/write to that file system directory.
    Then, grant permission to the users who require access e.g....
    GRANT READ,WRITE ON DIRECTORY mydir TO myuser;Then use that directory object inside your FOPEN statement e.g.
    fh := UTL_FILE.FOPEN('MYDIR', 'myfile.txt', 'r');Note: You MUST specify the directory object name in quotes and in UPPER case for this to work as it is a string that is referring to a database object name which will have been stored in uppercase by default.

  • I have HP Deskjet 3510 connected wireless - problem is that it wants to print only black and white - is there a color button I am missing?  The print quality report is fine in color etc.

    I have a HP Deskjet 3510 and it wants to print only in black and white. 
    The Print Quality Report is fine and in color.
    Is there a color button I am missing?

    In the Print & Scan system preferences, does it indicate it is using a generic printer driver or a Gutenprint driver?
    Also, if you click on Options & Supplies, you might want to check and see if has to be enabled. That kind of sounds odd though.
    Another thing is it might not be showing. If the bottom of the print dialog has a button that says "Show Details," click it. Then, you can change settings in the popup menu.

Maybe you are looking for

  • HT204053 can you have 2 apple ids under one account

    Our family has several apple devices.  Our phones and computers use icloud to coordinate calendars.  However we do not want to receive each others imessages and such.  With several iphones on imessage and icloud and under the same id this has recentl

  • Disk Utility won't start up in 10.5.3

    I have been unable to open up my Disk Utility at all. I was able to do so earlier, perhaps with 10.5.0 while I was mounting my external hard drive. Now, I cannot mount the hard drive, and therefore cannot use Time Machine all because DIsk Utility won

  • How to consume WSDL

    Hi, How can i consume standard SAP provided WSDL in my r3 system. example her eis the WSDL file, how can i consume it http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/get_wsdl.xml?packageid=DEE98D07DF9FA9F1B3C7001A64D3F462&id=09748E1D716

  • How can I trim a HDV project???

    Often I use only small sections of large imported HDV clips.  With the DV video you can use the project trimmer and keep only the parts of the clips you want.  The project trimmer doesn't trim the HDV files however.  Is there any way around this? PS 

  • Wie kann ich in Photoshop Elements 12 meine Diashow auf CD/DVD in guter Qualität brennen?

    Hallo, ich habe extra einen Upgrade von Photoshop Elements 8 auf 12 gekauft, um endlich meine Diashows auf CD/DVD brennen zu können. Das funktioniert auch - aber die Qualität ist grauenhaft. Ist es denn garnicht möglich, die diashow in der gleich gut