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

Similar Messages

  • 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

  • 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

  • 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

  • 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

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

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

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

  • Single invoice for multiple payment terms

    Hi Friends,
    I have given 2 different payment terms for 2 line items in single order and the billing is splitted due to this reason. I want to know where the system is checking this control. Because I want to create single Invoive even the payment terms are different. (The routine 003 under Data VBRK/VBRP in SO to Bill copy controls will be usefull only to create single Invoice for multiple SO's where the payment terms is same). But I need to create single Invoice even for multiple payment terms.
    Can anyone suggest me at the earliest please.
    Kumar

    Hi Kumar,
    The Billing Split is take care at Copy control level.
    For multiple line items in one single SO, with different Payment terms is not acceptable as per the  business logic and its not best practices.
    Please suggest the business to go on Split method only.
    Or
    Try to use Proforma Invoice Concept.
    Regards
    Srini

  • Single invoice for multiple deliveries in Export scenario

    Hi All
    I am trying to create a single invoice for multiple deliveries. In case of Local Sales i am able to do it.
    But when it comes to export sales the system is not allowing me to create Single invoice for 2 deliveries . This is a export scenario. Can you suggest... When  i am checking the split invoice log it says split due to header data "Number of foreign trade data i"
    Plz suggest.
    Thanks
    Rishi

    Thanks G. Lakshmipathi
    Resolved
    As per the split analysis, System was checking the number generated for Foreign Trade data at delivery level.
    As told  i have Tried maintaining the Indication at copy control level VTFL "Redetermination of Foreign Trade Data at Billing level".
    This has resolved my Issue.
    Thanks Again
    Rishi

  • Single invoice for Multiple Purchase Orders

    Hi,
    How to Park the single invoice for multiple purchase orders

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • Reg:Single Check for Multiple Vendors

    Hi Experts,
    I want to Issue a Single check for all vendor open items...
    For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor,
    any idea

    Hi,
    Can you check the below thread of urs.
    [Reg:Single Check for Multiple Vendors]
    In addition to the above, please make sure that in OBVU, the check box separate payment for each ref is deselected for your questioned comapny code.
    You would have continued your earlier thread instead, rather than a new thread.
    Thanks,
    Srinu

  • Single-signon for multiple sites or sub sites

    Does anyone know of some good articles/publications or suggestions for
    implementing a single signon for multiple very secure internet sites in
    weblogic type environments.
    For example, bank1 has a internet site and bank 2 has an internet site.
    Bank 2 has some cool features they want to offer bank1's customers. They
    agree but, bank1 wants to present bank2 as a tab or part of bank1 site.
    IN order to do this there are lots of fun things, but the things Im
    interested in are how to authenticate between them and handle timeouts.
    timeouts seem particularly tricky in that if I dont hit a page on bank2
    for a while, it could time out its session for the guy on bank1. Also if
    im in the bank2 section of the site, then bank1 could time me out as
    well.
    any ideas let me know.
    thanks
    Joel

    I've been informed ;-) that a pure Java solution is also available from
    Entegrity. So here are a couple of URLs for you to research
    anagrammatically:
    http://www.netegrity.com
    http://www.entegrity.com
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    Tangosol: How Weblogic applications are customized
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    Netegrity?
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    Tangosol: How Weblogic applications are customized
    "Tim Funk" <[email protected]> wrote in message
    news:[email protected]...
    This is long winded and I tried to have this make sense, if it doesn't
    just mark this as read ...
    I am running into the same issue. Out of need, different applications
    need to be hosted on different boxes/JVM's/web applications. I am
    experimenting with a customer single sign on process which is
    independent of Java but lends itself nicely to it. Here is my thoughts:
    1) All applications need to run under the same domain. For example:
    foo.redrose.net, www.redrose.net, bar.redrose.net, app1.redrose.net
    all reside under redose.net.
    2) You have a database table (secure) that contains the following:
    user id, password, session id, last access time.
    3) This database table contains all of the valid sessions across the
    domain (in this exmaple .redrose.net)
    4) There is a daemon running which runs every ?? seconds that deletes
    any records older than ?? seconds/(or minutes/hours) in the
    database.
    5) There exist a cookie which is set to the domain level that contains
    the session id.
    6) The session id provides a way to obtain the id and password for the
    user to authenticate to the container. For example in WL5.1SP8 there
    exists: weblogic.servlet.security.ServletAuthentication.weak(...) to
    authenticate to your container. By using this you will get the
    capability of setting up your roles and ACLS etc in you web.xml and
    weblogic.xml to handle authorization.
    7) All requests to any applications participating in this philosophy
    must do the following for EVERY request (or appropriate):
    Even if you are logged authenticated to the container and authorized,
    you may have timed out or logged out of another application. So the
    database table must be checked to see if the session id exists. At the
    same time, you must also update the last access time to prevent timeout.
    8) If the user tries to access a different application which he has not
    authenticated to yet - the user will be forwarded to a servlet whichwill:
    a) Look for the cookie at the domain level
    b) If the cookie is found - get the UID and PWD from database
    b2) Present login form if cookie is invalid/not exists
    c) Authenticate to container
    d) Forward back to original page and let the container handle
    authorization since you have already authenticated.
    I use have encapsulated the database activity into 3 stored functions:
    1) isValidSession(session_id) - Returns null or the user id and pwd
    concatentated which will need split apart if needed
    2) makeSession(user_id, password) - Returns a new unique session id and
    creates the appropriate record
    3) cleanUpSessions() - Arguements not yet determined. This will delete
    any records older than a certain time. I would like to have the proc
    know what to delete without being given a parameter but time to the
    second level can be tricky for some DBMS's.
    There is a concern of storing the user id and password in the database
    but this can be eliminated with a good design to restrict access to the
    database table and using encrypted connections.
    Hope this helps. Hopefully - a similar philosphy will be adopted by an
    application container so I may not have to worry about this and I can go
    back programming business functionality.
    -Tim
    Joel Nylund wrote:
    Does anyone know of some good articles/publications or suggestions for
    implementing a single signon for multiple very secure internet sites
    in
    weblogic type environments.
    For example, bank1 has a internet site and bank 2 has an internetsite.
    Bank 2 has some cool features they want to offer bank1's customers.They
    agree but, bank1 wants to present bank2 as a tab or part of bank1site.
    IN order to do this there are lots of fun things, but the things Im
    interested in are how to authenticate between them and handletimeouts.
    >>>
    timeouts seem particularly tricky in that if I dont hit a page onbank2
    for a while, it could time out its session for the guy on bank1. Alsoif
    im in the bank2 section of the site, then bank1 could time me out as
    well.
    any ideas let me know.
    thanks
    Joel

  • Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0

    Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0
    Please help!!

    I dont think you can do this, because you have to name/url of the web application in realm. You have to add new realm for each web application.here is script to add another realm.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $sts = Get-SPTrustedIdentityTokenIssuer | where {$_.Name -eq "ADFS2.0"}
    $uri = new-object System.Uri("http://url/")
    $sts.ProviderRealms.Add($uri, "urn:sharepoint:Name")
    $sts.Update();
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to Park the single invoice for multiple purchase orders

    Hi,
    How to Park the single invoice for multiple purchase orders?

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

Maybe you are looking for

  • Problem with scanning negative to file

    HP Scanjet G2710 and PC with Win7 . When I try to scan negative to file the program returns extended error info :4,[(2,6,8004005),(3,6,0)]. What does it mean? What can be done in this situation. Thank yoou in advance Gennady01111952

  • Turning off onscreen display

    We are looking into purchasing an ATV for the workplace to show content we have created for our clients (we are a video post production house). I have one at my home that I am familiar with & have been experimenting for work purposes. When setting up

  • Refying PDF with subset embedded fonts fixes text extraction

    Hi All, I know it is not a good idea to (just) refry PDF files (PDF -> EPS -> PDF). Especially when the PDF contains subset embedded fonts. Chances are you will end up with a PDF file which does not contain valid (searchable) text. I did not know the

  • Returning specific rows within a resultset.

    I have a table with the following rows: Category Site Title ======== ==== ====== 1 1 sometitle 123 1 sometitle 128 1 sometitle 4 1 sometitle 10 1 sometitle I have a REF cursor that looks like this: OPEN RefCursor FOR SELECT Category, Site, Title FROM

  • Corrupt file when Downloading iTunes+Quicktime

    Im on my sisters laptop and when I try to install iTunes, it says there is a corrupt file. Im sorry if someone else has had this problem and Im just repeating it. But, she has had iTunes before, but had her pc wiped out. Could that have something to