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 .

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

  • Is it possible in SAP B1 only.

    Hi,
    I want to find out the ITEM WISE - its Last Purchase Price . Is it possible in SAP B1 only.
    Item Details according to item wise -its Last Purchase Price
    Plz reply..............................!

    Hi Jyotsana......
    You can get this report through query generator........
    You may try this.......
    SELECT Top 5 T0.[DocNum], T1.[ItemCode], T1.[Dscription], T1.[Price], T3.[ItmsGrpCod],
    T3.[ItmsGrpNam] FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON
    T2.ItmsGrpCod = T3.ItmsGrpCod WHERE T3.[ItmsGrpNam] ='[%0]' ORDER BY T0.[DocDate] desc
    Regards,
    Rahul

  • Need abap documenation specifically for SAP BW only.

    Hi,
    I want to learn abap specifically for SAP BW only...How much abap should i know to do bw work....and where i can find documentation of abap related to sap bw 3.5 and 7.0 version.
    Regards
    Yogee.

    HI
    generally we used the ABAP code to write Start Routines, End Routines or Individual Update Routines also exits which include variable exits.
    If you are totally unaware of the programing languages then better start learing ABAP with basic statements includes IF ELSE LOOP CASE ENDCASE etc.
    And then switch to learn how to use this statement to develop the logic.
    In BI, the basic knowledge of ABAP is sufficient, u need not go for deep and detail study, belive me its easier than BI.
    Go to ABAP forum check for any good ABAP learning materail and start working on that.
    Any query please revert back. send ur mail id to me, if possible ll send u some document for ABAP.
    Thank-You.
    Regards,
    Vinod

  • Any FM available in SAP to combined 2 spools in one spool

    Hi All
    Is there Any FM available in SAP to combined 2 spools in one spool ????????
    My requirement is such that In Dunning form printing we need to combined the line items of the two different company code in to one spools....
    I looking forward for your replies.
    cheers
    Anup

    Hi,
    I don't think you can combine them ... but please try these combination FM RSPO_RETURN_ABAP_SPOOLJOB, RSPO_SR_OPEN and FM RSPO_SR_WRITE.
    The first one extracts lines from a spool request. The second one creates a new spool request. The last one write lines into a spool request.
    Regards,
    Raj.

  • 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

  • Explain plan only in spool file

    Hi there,
    I am trying to spool only my explain plan to a file, at the moment i can only return all the results and then explain plan to the file. This is a bit of a problem as i am running some rather long queries and some of them return over 80MB of data. this is what i have so far:
    set termout off
    timing start
    set autotrace on
    set heading off
    spool h:\test1.lst
    select unique1 from table1;
    timing stop
    spool off
    set autotrace off
    set termout on
    any help on this would be great.
    Thanks!

    Or for a handy way to preview the expected plan without executing the query, try www.williamrobertson.net/code/xplan.sql
    SQL> SELECT COUNT(*) FROM dept d
      2  WHERE  EXISTS
      3         ( SELECT NULL FROM emp e
      4           WHERE  e.deptno = d.deptno )
      5 
    SQL> -- Note we did not execute anything...
    SQL> @xplan
    Plan hash value: 4196393176
    | Id  | Operation            | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |         |     1 |     6 |     4  (25)| 00:00:01 |
    |   1 |  SORT AGGREGATE      |         |     1 |     6 |            |          |
    |   2 |   NESTED LOOPS       |         |     3 |    18 |     4  (25)| 00:00:01 |
    |   3 |    SORT UNIQUE       |         |    14 |    42 |     3   (0)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL| EMP     |    14 |    42 |     3   (0)| 00:00:01 |
    |*  5 |    INDEX UNIQUE SCAN | PK_DEPT |     1 |     3 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       5 - access("E"."DEPTNO"="D"."DEPTNO")
    SQL> -- And the query is still there:
    SQL> l
      1  SELECT COUNT(*) FROM dept d
      2  WHERE  EXISTS
      3         ( SELECT NULL FROM emp e
      4*          WHERE  e.deptno = d.deptno )

  • SAP GUI only black after Upgrade

    Hi
    I upgraded from 7.10 to 7.2. After the upgrade I only get a black sceen where the SAP GUI should be. I can only see some text and when I'm in a text box I just see a red squere representing the input area.
    I have tried to uninstall the gui and install it again. But it did not work.
    Is there any things that I need to reset?
    Daniel

    My 2 cents...
    I have actually seen this on a Windows 7 machine running 7.10 sp16 and 7.20.  My initial thoughts were that it was a resource issue not displaying the graphics but the machines I have encountered this on were far from low end.  I actually changed the theme from the SAP signature design to Enjoy and the black screen/icons, etc went away.  It came back when we reverted to the signature design.  My logs look in order and nothing glaring at me that there was an issue.  Luckily those affected prefer the previous look over the Signature Design.  I have heard of no other issues from those machines with SAP GUI since then. (about a month or more now)  I am holding out that perhaps something in the next patch for 7.20 may "fix" this which I intend to check just out of curiousity.
    Good luck!
    Regards,
    Zecher

  • Viewing files through SAP viewer only

    Hi,
    When i create a DIR and attch a PDF file in it, and when i open this file, its get opened in PDF viewer.
    I want that the file should only be opened in SAP viewer and not in application on PC.
    How can i achieve this?
    Regards,
    Kalpesh

    Hi Kalpesh,
    Use the 'Integrated Viewer' from EAI for display of your original docs, which enables you to display them in the DIR frame itself. Browse the below link for config details:
    http://help.sap.com/saphelp_47x200/helpdata/en/c1/1c31a243c711d1893e0000e8323c4f/frameset.htm
    Regards,
    Pradeepkumar Haragoldavar
    Edited by: Pradeepkumar  Haragoldavar on May 12, 2010 10:56 AM

  • 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.

  • Out of 46 fields sap supporting only 16 fields.

    Hi Gurus,
                       i have one excel sheet.that excel sheet contain 46 fields.my client wants to same format of bw report.that data related to sd data.i checked all fields.but sap ECC Supporting only 16 fields out of 46 fields.rest of 30 fields are in zrepors.zrepots are recentely deveolped by ABAPERS.and 16 fields are coming from 5 tables.in this sccenarios what can i do. please give me your guidelines.i will assign points.
    Thanks & Regards,
    chandu.

    List View as in Report Format will only 'Truncate' the technical name headers. If the generated list is in ALV format, we can re size the length. As your Infoset's technical names (SAP generated) are too long like F34___SARGS0EMPLOYEE; something of this sort! One idea is to extract only the technical names & perform a VLOOKUP on the existing names, but this is a manual process & your o/p resides on AL11? So, guess there can be another method too... Use Open Hub Services to export your data. As you are performing a simple filter on your Infoset and populating this data to some data target, you can define these filters in the DTP level 'Filter' linking both your Infoset <-> OHS target. As a o/p you will be getting 2 files in the o/p. One the meta data text (Infoset's schema/skeleton) of technical names & field headers, plus next the filtered data from the Infoset.

  • SAP Custom Code Maintainability Service - SAP AG only

    As an Enterprise support customer I have a quick question on Custom Code Maintainability Service
    We have previously requested this service from SAP and they have generated and gave us the report.
    My question:
    Is this service ONLY being done by SAP, or are we (as customers) also allowed to run this service ourselves?.
    When I look in the services available I cannot find the service to create and run myself. I am currently putting in some serious time to set-up the custom code life cycle management (CCLM). As part of this I would also like to run the service and generate the report myself, as I have done with some other service like TEA (Transport execution analysis)
    I have no problems with using CDMC (Custom development management cockpit) and to generate reports there, but it would be nice to actually run the service and generate the report ourselves.
    Much apreciated your feedback.

    Hi Midhun,
    thank you for your quick response!
    I have already used SOAPUI to test my query.
    >it's creating an xml file in a specific format where you need to pass values to get the output.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ZGetcustomerWebservice>
             <!--Optional:-->
             <ImCount>5</ImCount>
             <!--Optional:-->
             <ImKunnr>
                <!--Zero or more repetitions:-->
             </ImKunnr>
          </urn:ZGetcustomerWebservice>
       </soapenv:Body>
    </soapenv:Envelope>
    Is this the xml file you mentioned?
    I checked the following blog and tried debugging, but I couldn't see any variables value...
    Debugging Custom Script in Integration Gateway
    Here is my custom code:
    function processRequestData(message) {
       message.setHeader("Authorization", "Basic XXXXXXXX=");
       importPackage(com.sap.gateway.ip.core.customdev.logging);
       importPackage(com.sap.gateway.ip.core.customdev.util);
       importPackage(org.apache.olingo.odata2.api.uri);
       importPackage(java.util);
       importPackage(com.sap.gateway.core.ip.component.commons);
       importPackage(com.sap.gateway.ip.core.customdev.api);
       parentMap = new LinkedHashMap();
       parentMap.put("IM_COUNT", "5");
       //Set the message body back
       message.setBody(parentMap);
       //Logger
       importPackage (com.sap.gateway.ip.core.customdev.logging);
       log.logErrors(LogMessage.TechnicalError, "This is first log"+message.getBody().toString());
      return message;
    Authorization is perfectly working but others are not.
    It would be great if you could have suggestions.
    BR,
    Hanae

  • SAP certified printers & deleting spool files

    Hello,
    Could you please tell me what does a SAP certified printer mean?
    Also I would like to ask you if is it possible to make settings in a job to delete the spoolfiles after the end of the job?
    (I have a job which creates large spool files and I do not need these files)
    Thank you in advance,
    Noemi

    Hi,
    For deletion of spool file, you can schedule job SAP_REORG_SPOOL.
    You can check below link:
    http://help.sap.com/saphelp_46b/helpdata/en/c4/3a7ede505211d189550000e829fbbd/content.htm
    Thanks
    Sunny

  • CR2008 and SAP BW - Only limited number of values for static parameter

    Hello Experts,
    we have the following constellation / problem:
    - SAP Query BW 7.0 with variables
    - a report built upon this query with Crystal Reports 2008
    - now if we execute the report and try to fill in the parameters (= SAP BW variables), not all values are displayed for selection and there seems to be no possibility to further scroll down; e.g. the months 01.1993-08.2006 are displayed, but not later than 08.2006
    This is really a problem for us since the users won´t be able to select e.g. the desired time range !
    I read already the SAP notes 1218588 and 1211902 and I 'implemented' 1211902, but still only a few values are displayed (the same as before I changed the values for BrowseTimeout and MaxNBrowseValues). Besides that, in the solutions in the SAP notes Crystal Reports 2008 is not explicitly mentioned (so I manually created the DWORD-keys).
    Many thanks for your help in advance !
    Frank

    See
    CR2008 and SAP BW - Technical Values for variable values not displayable ?
    for the answer.

  • Getting only one spool number for every print out

    hi guys,
    when i execute my customize program i suppose to get a form in my screen, showing customer statement, when I exicute customer A out put as expected with 5 pages but after that if i exicute customer B which is supposed to be 3 pages but I am getting 8 pages which is including first out put also, its repeating same spool number for every thing and keep on adding every page , please let me know where to see for this ?? 
    for spool request    RS38L_FNAM
    and to display         'COM_SE_SPOOL_DISPLAY'

    Change ur table declaration as shown below, replace the word <b>TYPE</b> with <b>LIKE</b>
    DATA: BEGIN OF i_final OCCURS 0,
    srno TYPE i, " Serial no
    anln1 LIKE anla-anln1, " asset code no
    txt50 LIKE anla-txt50, " Brief Description of Assets
    txa50 LIKE anla-txa50, " Further Description
    ktogr LIKE anla-ktogr, " Asset Class No.
    ktgrtx LIKE t095t-ktgrtx, " Asset Class Name
    sernr LIKE anla-sernr, " Serial Number
    invnr LIKE anla-invnr, " Assets Identification No
    menge LIKE anla-menge, " Qty
    meins LIKE anla-meins, " UOM
    raumn LIKE anlz-raumn, " Location
    lifnr LIKE anla-lifnr, " Vendor
    liefe LIKE anla-liefe, " Capitalisation Date
    aktiv LIKE anla-aktiv, " Date put to use
    g_kansw LIKE anlc-kansw, " Opening Gross Block
    b_kansw LIKE anlc-kansw, " Additions during the period
    b_answl LIKE anlc-answl," Deductions/ Adjustmentsduring d period
    g_total LIKE bsis-dmbtr, " Closing Gross Block
    d_open LIKE anlb-afabg, " Dep on opening block
    d_sold LIKE anlb-afabg, " Dep on assets sold/written off
    d_add LIKE anlb-afabg, " dep on additions during the period
    afabg LIKE anlb-afabg, " Total dep for the period
    cd_sold LIKE bsis-dmbtr, " *** Dep on assets sold
    cd_asst LIKE bsis-dmbtr, " *** Dep on assets written off
    cd_dep LIKE bsis-dmbtr, " Total *** dep on deductions
    ccd_dep LIKE bsis-dmbtr, " Closing Acc Dep
    a LIKE bsis-dmbtr, " WDV of assets sold
    b LIKE bsis-dmbtr, " Selling Price
    c LIKE bsis-dmbtr, " Profit / (Loss) on sale
    d LIKE bsis-dmbtr, " Loss on write off
    e LIKE bsis-dmbtr, " Opening WDV
    f LIKE bsis-dmbtr, " Closing WDV
    END OF i_final.

Maybe you are looking for

  • Screens and ABAP Objects - R/3 4.6c

    Greetings fellow SAP developers. Looking for some input here. What's the best way to manage dialog screens with ABAP OO? Do you encapsulate the screen in an object? So that there is just one method or two methods? As in: Screen->Init Or do you break

  • ITunes Not launching at all

    I upgraded to the latest version of iTunes a couple weeks ago and since then I haven't been able to launch iTunes at all. It looks like it's starting but nothing happens. I check my task manager and it's there and I can't end the process either witho

  • Having trouble with adobe flash

    I use java and i use flash on several sites for chat..  only one site keeps crashing and not letting me in.  It reads block plugin, on one button and enable plugin "  on the other button but will not load or loads after I connect to your site or afte

  • How can I buys book from iTunes if it is not available in my area; however available in the US iTunes store?

    Hi, I used to buy from itunes through my apple account till an apple onle store was opened recently in my country. This should have been a good news; however, the rality is that - it is not! Books that I'm willing to buy is not available in my countr

  • HP Officejet Pro 8600 all-in-one (Paperfeed problem)

    Occassionally, I am having a problem, where I am getting a message that says I need to load paper in the printer. However, paper is already there.  I have removed the paper, checked the guidelines and made sure they are in place, removed the duplex a