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.

Similar Messages

  • Generate different spool for diff billing docs generated using VF04

    Hi guys,
    want to generate different spool for diff billing docs generated using VF04, when doing mass billing.
    Pls reply guys...
    Thanks & Regards,
    Sachin

    Are u using smartforms.
    u when u loop at invoices and calling the smartform FM, u can make this parameter of output options as space. ls_control_param-no_close = ' '.
    this will close spool and create a new one when fm is again called.

  • 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

  • RBDAPP01 generates a spool for each idoc

    Hello Experts,
    RBDAPP01 generates a spool for each of FIDCC2 idoc.
    We need this process has no spool.
    They know how to have this program does not create spool for each idoc?
    Thank you very much.
    Fabricio

    Hi Priyanka,
    you have to 'X' the field TDFINAL in OPTIONS too.
    Try this.
    Cheers,
    Joost

  • 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 generate single signature for code signing and timestamp

    Hi we are developing Win 7 VC++ app using Crypto APIs.
    Here code signing is done using Cryptsignhash() method, that generates the signature. Later for time stamping CryptRetriveTimestamp() method is used which also generate the time stamp signature. Thus we wanted to know
    whether there is any single Crypto API available that can do code signing and timestamping together and shall generate single signature. At verification side it should be also possible to separate code signing and timestamp signatures prior to verification.
    Any help is highly appreciated. Thanks.

    On 4/17/2015 1:21 AM, Babu12345 wrote:
    *Hi we are developing Win 7 VC++ app using Crypto APIs. *
    *Here code signing is done using Cryptsignhash() method, that generates the signature. Later for time stamping CryptRetriveTimestamp() method is used which also generate the time stamp signature. Thus we wanted to know whether there is any single Crypto API
    available that can do code signing and timestamping together and shall generate single signature.
    No. Normally, you don't counter-sign the actual data - you counter-sign and time stamp your signature. You don't want to transmit the whole data (which could be a) large and b) confidential) to a third party. This is why it's a two step process.
    Igor Tandetnik

  • Function Module to Generate Outbound IDOC for Sales Documents

    Hello Experts,
    Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents.  Some of the fm's I have come across are the following:
    IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
    IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
    Points will be given for any help provided.
    Thanks in advance.

    Hi Nagaraj,
    I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order.  For everyone's reference here is the code:
    form process_data.
      DATA v_idoc       TYPE edidc-docnum.
      DATA i_edidd      TYPE TABLE OF edidd.
      DATA wa_idoc_ctrl TYPE edidc.
      LOOP AT i_nast INTO wa_nast.
        CLEAR i_msgs[].
        CALL FUNCTION 'WFMC_PROTOCOL_GET'
          EXPORTING
            cps_nast        = wa_nast
          tables
            messages        = i_msgs
         EXCEPTIONS
           NOT_FOUND       = 1
           OTHERS          = 2.
        LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
    *--- Check first if there is an IDOC
          IF wa_msgs-msgv1 IS INITIAL.
            CONTINUE.
          ENDIF.
          v_idoc = wa_msgs-msgv1.
          CLEAR i_edidd[].
          CLEAR wa_idoc_ctrl.
          CALL FUNCTION 'IDOC_READ_COMPLETELY'
            EXPORTING
              document_number                = v_idoc
            IMPORTING
              IDOC_CONTROL                   = wa_idoc_ctrl
    *         NUMBER_OF_DATA_RECORDS         =
    *         NUMBER_OF_STATUS_RECORDS       =
            TABLES
    *         INT_EDIDS                      =
              INT_EDIDD                      = i_edidd
            EXCEPTIONS
    *         DOCUMENT_NOT_EXIST             = 1
    *         DOCUMENT_NUMBER_INVALID        = 2
              OTHERS                         = 3.
          CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
            EXPORTING
              object                              = wa_nast
              control_record_in                   = wa_idoc_ctrl
    *       IMPORTING
    *         OBJECT_TYPE                         =
    *         CONTROL_RECORD_OUT                  =
            tables
              int_edidd                           = i_edidd
    *       EXCEPTIONS
    *         ERROR_MESSAGE_RECEIVED              = 1
    *         DATA_NOT_RELEVANT_FOR_SENDING       = 2
    *         OTHERS                              = 3
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          COMMIT WORK.
        ENDLOOP.
      ENDLOOP.

  • 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

  • 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

  • GENERATE A LINK FOR PURCHASE DOCUMENT

    Hi,
    our scope is to generate a link for a purchase document in a 45.B release.
    Manually we can, inside a PO, go to menu system>links and add a url link for the opened document (link type URL).
    Is it posible to generate this link form abap starting from the PO number with a bapi op function module ?
    Otherwise is it possible to customize the links in order to obtain some default values, always present in the links list  for all PO ?
    Best Regards
    Riccardo Galli

    A link is a hyper-link. Therefore, it should be applied to all readers or browsers. It should be applied to all protocols, PDF, HTML, and etc. If a link can contain page or bookmark information, readers or browsers should be able to go to that page or bookmark directly. They need not do it manually. This feature will be very good for reviewers when they have a lot of cross references in documents.

  • 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 use single page records per document page

    Very new user here...using CS5
    I'm trying to create a "Day to View" calendar. I've created a document in the required size of the calendar page (76x102mm) and I've merged the data (to create the days etc). As the calendar is small, I'd like to print four per page - so I would get four calendars per 365 printed pages (once cropped).
    However, I'm not having any luck putting four on a page. Whenever I create the new document, I do get 365 pages, but only one calendar her page.
    I keep thinking I should be using a big A4 page and putting four frames on it or something...but I'm not getting my head around it.
    Any help appreciated. Thanks!
    Sue

    When I want to do something like this I make a single-instance file first, then make a second file and place the pages from the first file into it (in this case using a new page size large enough to hold 4 of the original pages). There is a script from Scott Zanelli that you can get from InDesignSecrets » Blog Archive » Zanelli Releases MultiPageImporter for Importing both PDF and INDD Files that makes this very easy. For a 4-up layout you wouold run the script four times, changing the positioning on the page between runs.

  • Want to generate a report for displaying the top 30 revenue generating regn

    Hi Team
    I was trying to generate top 30 revenue generating regions using " Edit Formula " option (Ofcouse there are other methods to do it , but i was trying out with this one ).
    The scenario is : -
    I have selected four columns i.e Year , Region , Product Type and Revenue.And i wanna display the top 30 revenue generating regions.
    Steps I follwed : -
    1> Selected the 4 columns (Year , Region , Product Type and Revenue )
    2> Arranged the Revnue Column in descending order.
    3> Went to --- > Revenue Column ---> Edit formula (fx) and used the COUNT(*) function.
    i.e select "F1 Revenue"."1-01 Revenue (Sum All)" from "Sample Sales" where COUNT(*) <30
    but I am getting error while doing so
    Please guide
    Thanks Rohit

    Hi Paul
    Thanks for the quick response.
    But I only want to restrict my output to 30 top records. Is there any way out ..?
    and moreover Could you please suggest what went wrong in my previous query..?
    Thanks
    Rohit

  • EDI-IDOC: want to generate Reference Specifications for Bank Details field

    Hi Guru,
           We are running to the situation that we use EDI with China vendor (using China bank account). The bank account for China has greater than 18 characters which is the maximum limit for bank account field. Based on note 96624, we are suggested to maintain the exceeding amount into the "Reference Specifications for Bank Details" field. However, when I run the payment on F110, IDOC do not generate the reference field.
           How can the bank reference field be included in the IDOC?
    Thanks,
    Song

    Hi Auro,
    You use use EDI_DC-SNDSAD field, currently this field is used no where.
    If you not sure where to see double control record and click address info tab
    you can use either field receiver or sender.
    For testing use WE19 transaction and pass your paymethod to following field
    and then inform to EDI Mapper that your sending paymethod in this field.
    For them this field is very easy to grab.
    Let me know if you any concern.
    Thanks,
    Narayan

Maybe you are looking for

  • Transfer posting Quality to Quality within plant ..mov type 323...

    Hi All,            I am not able to process Transfer posting Quality to Quality within plant with mov type 323 through MIGO transaction. Error : Change the inspection stock of material 936317 in QM only.(Change the inspection stock of material 936317

  • Update Re: Using Canon LiDE 210 with OS X 1.6.8

    Hello, I've read some older threads regarding this discussion but they must be closed since I couldn't add a comment.  So, I thought it would be best to open a new one.  I apologize if I'm treading old ground. Here's my setup:  MacBook Pro (mid-2010)

  • My iPhone 4 stuck in the "connect to iTunes" screen after trying to update to iOS 7

    Hey guys. So i have a pretty big problem here. Today after a little bit of work I updated my iPhone 4 to the new iOS 7. I went to bathroom at some point, while my phone was updating, and when i returned the screen of iPhone showed the "connect to iTu

  • Exu00E9cute an SQL Query statement.

    Hi, Can someone tel me if exist a transaction code who can help me to execute an SQL query (far than my report), either UPDATE or SELECT statement ? Thanks in advance. Mustapha

  • SAPscript error - element missing. When added, doesn't fix

    Hi, I copied a standard check to a custom SAPscript. All I changed were the header and address windows, which did not call any elements. However, when running this check from f110, I get the following messages in the spool: F0251                    I