Dunning letter to four different customers in one spool request

Hello Experts,
I want to send a standard letter in DUNNING  to four different customers in one spool request. H ow it can be done, please reply with all the configuration steps.
Thanks in Advance.
Urmila S

Hi Urmila,
I have been able to generate a single spool for 4 and more customers with different dunning notices.
I dont think there is any special setting needed.
However, things that you may just check in dunning procedure is:
- have you ticked on "notices by dunning area"
- have you ticked on "notices by dunning level"
I havent ticked on any of the above, and by default, in SAP I am getting a single spool generated.
Regards,
Asha

Similar Messages

  • Many documents into one spool request

    How can I control the opening & closing of spool requests in ABAP?
    The context is a program that prints dunning letters and their associated billing documents.
    We want the hard copies to appear in the correct order (dunnning letter, its billing documents, dunnning letter, its billing documents,...)
    One way to achieve this could be to have a single spool request for each "dunning letter + billing documents" set of documents.
    Currently the documents go into the spool-request list in the correct order (in separate spool requests), but that does not ensure the correct order for the hard copies, since we have more than one work process handling the spool queue.

    My program is working: for each dunning letter and its billing documents there is one spool request.  Thanks, Christian.
    Some key points...
    [1] Invoices in table MHND can be other than SD invoices.  The non-SD ones were disregarded - trying to print them as SD billing documents would fail, and maybe mess up the logic for opening/closing spool requests.
    [2] For each billing document, I used itcpo values exactly as for its dunning letter, except that:
    for the dunning letter, itcpo-tdnewid = 'X' and itcpo-tdfinal = ' ';
    for billing documents other than the last, itcpo-tdnewid = ' ' and itcpo-tdfinal = ' '.
    for the last billing document for the dunning letter, itcpo-tdnewid = ' ' and itcpo-tdfinal = 'X';
    If you use different values of any of tddest, tdreceiver, tddataset, tdsuffix1, tdsuffix2,..., for instance, then you will get a new spool request, whatever the values of tdnewid or tdfinal.
    [3] Fortunately we already use our own print program for billing documents.  So just before the CALL FUNCTION 'OPEN_FORM', I tested the value of sy-cprog, and if it was the name of my report then I assigned as in [2] to the structure for the OPTIONS (i.e. itcpo) parameter of OPEN_FORM.
    [4] To pass values for [3] from the report to the print program, I used export/import to/from memory.
    [5] Because I was controlling the itcpo values, I was able to arrange that something helpful to the user appears in the Title column in 'Own spool requests' (transaction SP02).  This title comes from the itcpo fields tddataset, tdsuffix1 & tdsuffix2, and I arranged that the dunning level and the customer number appears in Title.

  • F110 - one spool request number per payment order --URGENT

    Hi folks,
      I am ABAPer working for ECC6 upgrade project when i am running F110 payment run for customers to generate payment orders i am getting all the orders in one spool request no, But i need to generate one spool request no. per payment order.
      thanks in advance for you valuble inputs
    regards,
    ramahari

    Hi Madhuri,
    Call open form write form and close form in loop so that till sales order remains in the loop the form will continue to print. In this way all sales order in internal table will print in the same spool.
    Hope this will help you.
    Regards,
    Vijay

  • REQUIRE One spool request for n copies in one print command in smartform

    Hii Friends,
              I created a smartform..I require 5 copies of that form..There is a text which needs to be changed in evry copies...eg Original in first copy
                            Duplicate in second copy
                            Triplicate in third copy....n so on
    So i used a loop n i am calling smartform 5 times....The problem is i need one spool request to be created..
    Note: By default sometimes it create one spool request and sometimes 3 spool request...
    Pls share your inputs ............
    Thanks,
    Regards,
    Sujit.

    hi,
    this is more complicated see below description from help
    regards,darek
    Printing Several Forms in One Print Request
    Use
    You want to bundle several forms into one print job.
    Print Request vs. Spool Request
    SAP Smart Forms allows you to bundle several forms to form one output unit. This output unit is called a print request. A print request is different from a spool request:
    Whether a new spool job is created in the spool depends on the settings in the spool dialog.
    Whether a new print request starts depends on the standard parameters of the generated function module you set in SAP Smart Forms. For each print request, the spool dialog is called only once. If you suppress the dialog, you can pass parameters for spool processing only at the beginning of the print request.
    This means that a print request gathers several forms before submitting them to spool processing. Thus they cannot be spread over several spool requests. Vice versa however, you can include several print requests into one spool request.
    Procedure
    Use function module SSF_FUNCTION_MODULE_NAME to retrieve the name of the function module generated from the Smart Form (see also: Integrating the Smart Form Into the Application).
    Call the Smart Form for the first time and set the NO_CLOSE parameter of the control structure. This prevents the print request from being closed after accepting the output of the Smart Form and allows you to include all other form output into this print request as well. Leave the NO_OPEN parameter empty.
    Instead of calling the Smart Form for the first time you can also call function module SSF_OPEN .
    If you want to start a new spool request for the print request, set the TDNEWID field of the Output Options in this first call.
    For all other form output of the application program that you want to include into the print request, use a loop to set both the NO_OPEN field and the NO_CLOSE field of the control structure.
    To close the print request, in the call of the last Smart Form set the NO_OPEN parameter and unmark the NO_CLOSE parameter.
    Instead of calling the Smart Form for the last time, you can also call function module SSF_CLOSE .
    Result
    The forms you called in the steps described above are included into one print request. If in the first step you started a new spool request, you can now view its status in the spool request overview (transaction SP01 ).

  • Allform outputs under one spool request?

    hai,
    iam executing the smart form for 10 customers(for sales orders).
    how can i get all these 10 outputs under one spool request?
    and if i execute the smart form ,i should not get the PRINT dailog screen.Directly , it should go to spool....how?
    regards,
    vrlreddy

    Hi,
    When calling your smartform FM, pass value 'X' for parameter user_settings as below.
    CALL FUNCTION lf_fm_name
               EXPORTING
                          archive_index        = toa_dara
                          archive_parameters   = arc_params
                          control_parameters   = ls_control_param
                          mail_recipient       = ls_recipient
                          mail_sender          = ls_sender
                          output_options       = ls_composer_param
                          user_settings        = 'X'
    This means standard user setting is used instead of asking for print parameter through PRINT dailog screen.
    Regards,
    Teddy

  • SCRIPT: all first pages has one spool request

    Hi Friends,
    i've copied the program RFFOUS_C and form F110_prenum_chk as  'Z"
    My requirement is given below,
    Bottom of the bond sheet has cheque and top of the page has remittence details(line item, per page has 20 line item)
    If the remittence details is exceeds in the first page then it goes to the second page(now its working fine)
    if the user gives the bulk cheque printing then all the first page should print under one spool request and all the second page should print another one spool request.
    Is it possible in ZRFFOUS_C program. if it is possible where we can change the logic.
    Thanks in advance,
    Vallamuthu.M

    Sure it is possible. If the title, prefix and suffix and suffix2 are same, printouts go to the same spool.
    The rest is just a bit of thinking and clever usage of START_FORM and END_FORM.

  • How to get SapScript and Smartform printed in one spool request?

    Hello experts,
    I want to print the production order package in one spool request.
    Print program consists of Smartform and SapScript.
    First page is in landscape format with barcode(Smartform) and the rest is in portrait format(Sapscript).
    In SAP documentation is written that it is possible for several Smartforms to be printed in one spool request.
    Is it possible for 1 Smartform and 1 SapScript called from a single program to be printed in one spool request?
    I have tested it with calling first the Smartform control-no_close= 'X' without success.
    Can anyone tell me if this is possible and how?
    Thank you.
    Kind regards,
    Danijela

    Hi
    In the driver program .
    *"Selection screen elements............................................
    SELECTION-SCREEN BEGIN OF BLOCK block  WITH FRAME.
    PARAMETERS:
    p_script   RADIOBUTTON GROUP rad1,
    p_smartform RADIOBUTTON GROUP rad1,
    SELECTION-SCREEN END OF BLOCK block.
    *"Selection screen elements............................................
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
    PARAMETERS:
    p_single RADIOBUTTON GROUP rad2,      " All the spool request
    p_ind    RADIOBUTTON GROUP rad2.
    SELECTION-SCREEN END OF BLOCK block1. " Single spool request
    If p_script EQ 'x'.
    w_form = 'Y_SCRIPT'.
      Elseif p_smartfom EQ 'X'.
       w_form = 'Y_SMARTFORM'.
    ENDIF.
    call function 'SSF_FUNCTION_MODULE_NAME'.
    Call function 'SSFCOMP_OPEN'.
    w_control-no_open   = ' '.
        w_control-no_close  = ' '.
    *"Single spool request..................................................
        IF p_single EQ 'X'.
          w_control-no_open   = 'X'.
          w_control-no_close  = 'X'.
        ELSE.
    *"Individual spool request.............................................
          IF w_flag NE '1'.
            w_control-no_open  = 'X'.
            w_control-no_close = ' '.
            w_flag = 1.
    CALL FUNCTION '    '-----> smartform function module.
    CALL FUNCTION 'SSFCOMP_CLOSE'.
    Regards,
    Sravanthi

  • 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

  • Dunning Letter Email for all customers

    Hi All, I need your help in my requirement, which goes like this :- In F150 tcode(ecc 6.0), which internally uses RFMAHN20 program to display all customer accounts, we can select a customer and see the dunning letter(It's a sapscript) and also take a printout. I made some changes accordingly to add the email functionality so when user checks the print preview then a pop up promts for email address( which has default value of email address assoicated with that particular customer) and send pdf letter accordingly. But my requirement is to send email to all customers who may be selected via RFMAHN20( they may be all customers who belong to the same account type). How can we achieve this in the most easy way? I already copied standard FM's associated. So can I do something in them to resolve this or any separate program is needed( if so, how?)? Please respond asap. Thank you so much...in advance

    Hi Husain...Thanks for immediate response. There is already data being pulled by standard function modules like PRINT_DUNNING_NOTICE(copied into Z). Can we use that in simpler way(without the need of any new driver program with all the data population again)? And your answer is correct which I already thought earlier and kept it as a last resort, because I need to populate all the data again, convert spool to pdf and send pdf's to all selected customers And one more thing is that the requirement is to schedule a background job which takes care of sending all the emails . So any more ideas?

  • Combining multiple smartform output in one spool request

    Hi,
    I'm calling 5 different smart forms from driver program based on some conditions and trying to merge the output of each of these smart forms in a single spool request. I achieved this by setting control parameters no_open and no_close based on first or last print.
    The problem i'm facing now is when i call one particular smart form ZSMARTFORM6 along with other smartforms i'm getting a error FORM SMARTFORM6 has wrong Page format.
    If i call only this smart form it is working correctly.
    Any idea how to avoid this error message.
    Regards,
    Raghavendra

    Hi
    In The control Parameters u have an Option NO_OPEN   and NO CLOSE  u have to use this to combine multiple SSF to one Spool
    DATA SSFCTRLOP LIKE SSFCTRLOP.
    CALL FUNCTION 'SSF_OPEN'
    SSFCTRLOP-NO_OPEN = 'X'.
    SSFCTRLOP-NO_CLOSE = 'X'.
    CALL FUNCTION SMART1
    EXPORTING
    CONTROL_PARAMETERS = SSFCTRLOP
    CALL FUNCTION SMART2
    EXPORTING
    CONTROL_PARAMETERS = SSFCTRLOP
    CALL FUNCTION SMART3
    EXPORTING
    CONTROL_PARAMETERS = SSFCTRLOP
    CALL FUNCTION SMART4
    EXPORTING
    CONTROL_PARAMETERS = SSFCTRLOP
    CALL FUNCTION 'SSF_CLOSE'
    Surya
    Edited by: suryareddy on Aug 27, 2009 9:24 AM

  • Display all sales order's smartform output in one spool request

    Hi,
    If suppose user has given sales order number from 01 to 14 then the output of all sales order should come in one print priview of spool request. How to do it?
    Please help.
    Thanks in advance,
    Rgds,
    Madhuri

    Hi Madhuri,
    Call open form write form and close form in loop so that till sales order remains in the loop the form will continue to print. In this way all sales order in internal table will print in the same spool.
    Hope this will help you.
    Regards,
    Vijay

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

  • How to print two alv lists in one spool request

    Hello,
    I have made a report which has one alv list based on CL_SALV_TABLE and a message box displayed in a splitter container based on SBAL. In dialog mode everything is fine.
    If I run the report in batch mode, I have put the alv table to
    list_display = abap_true.
    For printing the messages I am using FM BAL_DSP_LOG_PRINT. It has this nice parameter
    i_s_list_append = abap_true.
    Unfortunatly the messages are not appended to the alv list, nor are they in the same spool request.
    I think the system will put it only into the first spool request, when the name, the printer, the number of prints and the format are the same and of couse, if the spool request is still open for appenfing (which it is).
    The name and the format are not the same in my case. So I tried to set the name to TEST using the print options of the FM
    ls_print_options-print_ctrl-pri_params-plist = 'TEST'.
    But unfortunately it is not working. No changes to the name, when I run the report in batch mode.
    Who has experiance with that? Why are both lists not in the same spool request? Are my findings right? Why isn't the name changed?
    Thank you for your help,
    Peter

    do 2 times
    perform write_form.
    end do.
    for header u can give condtion in form.
    use if condition in the editor...
    this will help u...
    Reward IF....... <= IF what? Points removed... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
    Regards
    Anbu
    Edited by: Julius Bussche on Jul 17, 2008 7:01 PM

  • Print multiple copies of a smartforms in a one spool request

    Dear all,
    I've a network printer "HP Laserjet 4250" configured with an output accessory "Sheet Stapler/Stacker".
    With these accessory all pages of the same spool are stapled together.
    For transaction VL02N we would print n copies of the same delivery using smartforms in this printer, so all copies will be stapled.
    The problem is that in SPAD Copy Counter options if we set the choice "Pass copy counter to the host spool system" only one copy is printed;
    it seems that copy counter parameters has no effects.
    If we set the choice "Pass copies as separate Output Requests", the spool system will send a separate print request for each copy of a document to be printed; but with this option multiple copies are not stapled since they belong to different spool.
    SAP System is ERP 6.0 EHP5 based on windows /SQL 2008 and the last kernel patch.
    Any idea to solve the problem ?
    Thanks
      Maurizio Manera

    Hello,
    By default the number of copies is transferred to the OS host spooler
    and handled by it.
    The flag to pass copies is set in the Output Device definition via
    transaction SPAD as follows:
      SPAD -> Output Device -> <Output Device name> -> Output Attributes ->
              'Pass Copy Counter to Host Spool System'
    Can you please change this flag to:
       'Pass Copies as Separate Output Request(in SAP System)'
    regards,
    John Feely

  • How to print our several Billing documents in one spool request?

    Hello all,
    I encountered a problem while printing billing document.
    Currently, we only can use VF02 to change billing document's condition type and print out Billing document. It's troublesome and waste a lot of time to change output condition type in each Billing document.
    Is there a function that will list all the billing document, so we can print the selected billing document by pick this billing documents and send to printer.
    If my description is confusing, Please let me know.

    Hi, Iimnava,
    Thanks for ur reply. But there is still some problem about this.
    Let me introduce the special setting for our company's system:
    There are 2 output condition set in SAP.
    1. First one-ZD00, it will process automatically and send to a archive software. but won't print out. all of our billing document are using this output condition.
    2. Second one-ZD01, manual print out. If we need to print out the billing document, we can go to header--output, select this output condition in the dropdown list, then set sent to Local printer. save and quit. the billing document will be printed out.
    I had tried Txn VF31 and SE38.
    1. If use repeat processing method, only pull out the billing documents with ZD01 output.
    2. If use initial processing method, only pull out the billing document with output condition-ZD00 which hasn't been sent to the archive software yet.
    So I still can't reprint the billing document with Output condition-ZD00 which has been already sent to archive software.
    Sorry for the complex situation, but it's very important that we need to reprint these billing document. hope u can help me to solve this problem....

Maybe you are looking for

  • Broadcasting a Excel Workbook with additional drilldowns

    I am trying to broadcast a Bex Excel Workbook by drilling down on couple of characteristics.  The Underlying workbook has already been set NOT to refer to the Queries Global Definition. So my problem is that when I broadcast this workbook after drill

  • Major Music app bugs w/ iTunes Match

    I have iTunes Match and the Music app on my iPhone is almost un-usable.  Two major bugs are causing this: 1.  Sometimes, a song will fail to play if it's not downloaded.  I'll have it on shuffle-all and a song will come up and the app will pause for

  • Problem with Transparency using PixelGrabbar.

    Well, im having a problem. Im creating a basic 2d game and using images, since im using alot of images and they are being drawn alot i use a class i call "GameSprite", basically it retrieves the file needed and then keeps it in a pixel array, but tra

  • Opening of Excel files in SAP

    Hi I have a custom program which displays data in an ALV (Non OO) format. There is this excel button that the user can click to display the spreadsheet in the same SAP screen. However, some users are reporting an empty spreadsheet when they clicked o

  • Multiple issues since downloading mavericks involving slow computer / google mail / skype etc

    I hav 2 mac's only 1 downloaded the Mavericks and regret doing it. Generally the computer is so much slower, where its suppose to increase the speed??  Issues to be more specific - Safari - about half the speed it was Time machine - use to automatica