Single spool for different smartforms

Hi
Abapers ,
I need to print different layouts in single spool.
How can I do it.
Thanks in advance,
Vani

Thank you very much  Mrutyun and Murugesh.
I have used SSF_OPEN and SSF_CLOSE function modules.
If the same smart form is called n times it outputting fine but depending upon the condition , corresponding smartforms should be called. In such case a case 'formatting_error' is the exception when calling the function module name.
Please suggest what might be wrong.
once again Thanks.

Similar Messages

  • Single spool for multiple smartforms

    Hi,
    I am using Function modules SSF_open and ssf_close for creating single spool for multiple smartforms but when i try to run the program in background then the job is getting cancelled...........and if i run the program in foreground then the program is running fine giving single spool for multiple forms........
    so the problem is that job should run in background if i run it in background instead job is getting cancelled.
    please tell me the solution how can i get the single spool for and multiple smartforms as well as the job should run if i am doing so.

    Moved to the correct forum

  • Single Spool for multiple smart forms

    Hi,
    I am doing Cheque Printing  My multiple smart form in single spool
    I Created Single spool for multiple smartforms and i can able to see all the smart forms in single spool
    While I am printing smart form from spool it is taking only first page.
    Any inputs how to slove this.
    Regards
    Azeez
    Edited by: Rasheed salman on Feb 3, 2010 7:41 AM

    Hi,
    You can call Open Spool and Close Spool function modules. Between these two fm you can call your smartforms. Just have a look the procedure below.
    Call function OPEN_SPOOL.
                 Call function SM1
                 Call function SM2
                 Call function SM3
    Call function CLOSE_SPOOL.
    Hope this will resolve your issue.
    Thanks,
    Abhijit

  • Spool - Single Spool for multiple layouts

    Hi Experts,
    I am writing a Sap SCRIPT print program for multiple number of customers with different layouts. But i am getting seperate spools for different customers. There fore i need to print out all customers in a single spool.
    Can some one help me how to do this?
    Thanks
    Dany

    Hi,
    DO not call the OPEN_FORM FM multiple times for each layout.
    This should solve the problem bcz OPEN_FORM has an import parameter OPTIONS which has a NEW SPOOL field, which would be set everytime you call it.
    Best regards,
    Prashant

  • Create a single delivery for different schedule lines in the scheduling agr

    Hi
    I want to create a single delivery for different line items with different delivery dates in the scheduling agreement,  as Iam aware it is possible to combine different line items into one delivery through sales order.
    Need your inputs
    Aravind

    Hi,
    Try with below solution and see I am not confirm about this
    VL01N >>> Menu outbound delivery >>> Deliver sales order
    Here you put order number and selected date as your ANOTHER SCHEDULE LINE
    Kapil

  • Want to generate single spool for diffrent documents

    Hi All,
    I have developed one BDC which will call report 'FBZ5' (for print form for payment documents). The print report is copied from RFFOUS_C.
    FBZ5 is used to print one document at a time so I have created this BDC for multiple documents.
    The probelm wat i m facing is BDC is generating sinlge spool for each and every document. I want to generate only single spool for multiple documents. Wat should I do.
    Thanks,
    Swapnil
    Message was edited by:
            Swapnil Swami

    I had a similar problem and the resolution was to update program ZRVADOPFO as follows:
    before the * open form line insert the following:
        if sy-batch = 'x'
        and nast-vsztp < > 3 or 4
            clear lvs_itcpo-tdnewid
       endif
    This solved it for me.  Good luck.

  • Need to generate a single spool for multiple customers in Smart forms

    Hi Experts,
                    My Smartform should print multiple customer's data and should generate a single spool,wherein the multiple customers have different languages.When I run the loop with the FM calling the language in a control parameter,I can understand that it can hold only one value i.e. one language.Please help me find any other way to solve this?
    Thanks,
    KK

    Hi,
    You can still call the smartform once per customer (and keep the different language) and assign them to one spool.
    The first smartform you call set the print parameters (structure OUTPUT_OPTIONS).
    When you call the second smartfrom clear that OUTPUT_OPTIONS field TDNEWID, so the smartform is added to the same spool request.
    Regards,
    Nick

  • How to use single button for different operations

    Hi
    I am using one button with image having 4 controls like left right up and down...
    How to use the single button for 4 different operations??
    Is there any way of defining hotspots on single button to do four different operations...
    Please have a look at the attached image, u can understand my problem better...
    Please let me know ASAP...
    Thanks and Regards
    Aruna.S.N.

    Here ya go:
    http://code.google.com/p/flexlib/wiki/ComponentList
    If this post answers your question or helps, please mark it as such.

  • Single Spool for multiple steps

    Hi,
    I have a requirement, where in for multiple steps in a job i need single spool.
    Single spool is created for multiple steps when i am running the back ground job with my user id. The problem is when running the same job with the batch user id, more than one spool is created. I have checked the settings of the batch id and even marked it as dialog user still more than one spool is getting created.
    Pls let me know why this problem is happening.
    Thanks,
    Raju

    Check the user profile (SU01) of your batch user, "output immediately" should be deactivated. Also check the print parameters in the job steps, "new spool request" should be deactivated.
    I haven't tried this in a while, but the answer should be somewhere around these settings.
    Thomas

  • Single source for different online help guides

    I am glad that the single source layout pod in RH7 supports
    different channels.
    I also need to output to different online webhelps using
    shared topics. This is what should be called single source.
    Is it the best practice to create a set of taylored and
    overlapping TOCs for a related set of online helps?
    My working environment consists of a single software product
    with different user interfaces for different types (and levels) of
    users. For each type of interface, a different webhelp is mounted.
    How can I make sure that the online help title displayed in
    the web help browser tab is the correct one for each variation of
    the online help?

    Single source is anything that lets you get more than one
    output from one source, be those outputs ten different webhelp
    outputs or just one and a printed document output.
    You can have as many webhelp outputs as you can manage. Right
    click and add new ones or copy existing ones as a base.
    Best practice depends on your content. You can have different
    TOCs for each output or you can have a smaller number and apply
    conditional tags. So with say 10 outputs you could have just three
    or four TOCs and apply conditional tags to vary them. It's whatever
    works best for you and can be understood by anyone you work with.
    The scenario you describe would be ideal for the way RH
    works.
    The title bar and browser tab take their text from the
    Project Title in Project Settings so you will need to change that
    for each output.

  • How to make a single payment for different open  items with same due date

    Hi,
    I have created a payment method  and selected "Payment per due day " option in payment method company code settings.
    Even I have selected that option, Payment will not happen grouping for the items with same due date
    for ex : I have two open items with one due date and another open item with another due date so when I am trying performing F110 system should make a single payment for the item with same due date and seperate payment for another item.
    But system making single payment for all items
    Could you please suggest anything how to make a seperate payment with due date.
    Regards
    VK GUPTA

    Hi,
    Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
    Make a test and let me know if it's okay.
    regards

  • How to receive single item for different concentration in Inventory

    If we are receiving different concentrated item in our inventory from supplier then how can we maintain same product with different concentration in OPM?

    Hi Paul,
    Thanks for the reply.
    Isnt there any user exit, we can use for this.
    If there is no user exit available, can you give some more input on custom development.
    This is a highly critical requirement for us right now.
    Thanks in advance.
    Regards,
    Piyush

  • HT201209 Can i redeem a single code for different itunes accounts?

    I have a large gift card that I want to split between multiple itunes accounts in my family.  is this possible?

    No it isn't possible, sorry.

  • Multiple Billing Documents (from VF03) getting appended to a single spool

    Hi All,
    We have a requirement where in user wants all the billing documents which were given for printing should get appended to a single spool. The billing documents will be given for printing from VF03.
    Now what's happening is, for each billing document, one spool is getting printed.
    Note 742538 was implemented and now, when a document is given for printing for the second time then it is getting appended to the exisiting spool( the spool whcih was generated when the documented was given for printing for the first time.). But, now i want to append all the billing documents to a single spool.
    Thanks in advance.
    Regards,
    Razia Shaheen.

    you probabaly have to adopt the part of OPEN_FORM.
    At first if you have ITCPO-TDNEWID checked you will get a new spool everytime so make sure this one is space, or its analogon in SMARTFORMS interface.
    Even tho Spooltitle and suffix are not keyfields in spooltable i have made the expierince that you will get different spools for different titles. So you better synchronize the title and the suffixes for those spools you wish to add in one spool.

  • Spool - restrict multiple sap script  layouts into a single spool

    Hi Experts,
    I am writing a Sap SCRIPT print program for multiple number of customers with different layouts. But i am getting seperate spools for different customers. There fore i need to print out all customers in a single spool.
    Can some one help me how to do this?
    Thanks
    Dany

    OPEN_FORM and CLOSE_FORM function module are used to open and close spool. When you have single form to create document then we specify form_name in OPEN_FORM function module itself. However when we have multiple forms or same form needs to be called multiple times and all document needed in same spool then we use START_FORM and END_FORM to explicitly open and close form.
    Call function module in this sequence
    OPEN_FORM "without specifying any form name, this will open spool
    START_FORM " with form name
    END_FORM
    START_FORM "with (some other) form name
    END_FORM
    CLOSE_FORM "close spool request

Maybe you are looking for