Send Dunning letter (TCODE F150) by email

Dear Friends,
I need to send a dunning letter(which is generating from tcode F150) through email to all the customers.I did BTE for event 00001040.function module is   SAMPLE_PROCESS_00001040. I copies above FM and rename as Z_RSAMPLE_PROCESS_00001040. I just add a break point statement and ran a F150 tcode. But it will not stoped at the breakpoint.
I did FIBF settings also to register the modifications.
Thanks
Rasika

How can i replace existinf FM with ZFM.
What i did was i copied the existing FM to ZFM and activated it.
After that i went FIBF Settings.....> Products.....>Customer and created a new Z product .
*Again i took FIBF Settings.....>P/S Module......>of a Customer and add my ZFM to slected(00001040) event.
After that i ran the F150 but break point did not apper.

Similar Messages

  • Send Dunning Letter to Customer thorugh Email ID

    Hi anybody,
       Please explain to me how to send dunning letters into customer using Customers Mail IDs . My users asked to me once do Dunning letter F150  all customers dunning letter send corresponding customer mail address.
    How do I setup in SAP send mail to customer. Please explain steps of send mail to customer.
    I will appreciate goods answers to me.
    Thanks
    Regards,
    S.Muthu

    Sending dunning letters by email
    Hope this thread is useful.
    Regards,
    Ravi

  • Sending dunning letter by mail

    Hi Gurus,
    I want to send dunning letter to customer by his mail.
    Is there any tip with using customizing?
    how can I do this?
    need help
    thanks
    simo

    I know This FM, should I add it to FI_PRINT_DUNNING_NOTICE copy program?

  • Unable to send Dunning Letter via email

    Hi,
        Can anyone tell me, what are the settings needed to enable the Email functionality for Dunning.
        I checked the F150 Transaction but there's nothing on it that says...the Dunning Info can be emailed.
        The requirement is, the Dunning output should be a SMARTFORM.
        I checked the FM : PRINT_DUNNING_NOTICE_SF and it does have the functionality to email the document.  
        I dont know, how can this be triggered from F150.
        Please help me out on this...
    Thanks
    Samarjit

    You Need to implement Event 775 on transaction FQEVENTS.
    Sample Code...
    Get E-Mail address.       
    DATA: W_SMTP_ADDR LIKE ADR6-SMTP_ADDR.                            
      CLEAR W_SMTP_ADDR.                                    
      SELECT SINGLE SMTP_ADDR FROM  ADR6 INTO (W_SMTP_ADDR) 
             WHERE  ADDRNUMBER  = C_DFKKCOH-ADRNR.           
      CASE C_DFKKCOH-COTYP.                          " Correspondency Type
        WHEN '0003'.                               
          CASE C_DFKKCOH-FORMKEY.                    " CMU Form
            WHEN 'ZFMCA_DUNNING_STUD_1' OR
                 'ZFMCA_DUNNING_STUD_2' OR
                 'ZFMCA_DUNNING_STUD_3' OR
                 'ZFMCA_DUNNING_EMPL_1' OR
                 'ZFMCA_DUNNING_EMPL_2'.
              IF W_SMTP_ADDR IS INITIAL.                   
                C_DFKKCOH-SENDCONTROL = '0001'.      " Snail Mail
              ELSE.                                        
                C_DFKKCOH-SENDCONTROL = '0002'.      " E-mail
              ENDIF.                                        
           ENDCASE.
    Now when you run the DUNNING process letters are E-mailed or printed, depending whether ADR6 E-mail address was found for the Business Partner.

  • Dunning letter through email

    Hi,
    I want to send dunning letter ( Tcode F150) through email.As per SAP note 328124, I copied OPEN_FI_PERFORM_00001040_P into z FM. Also add new entry for 00001040 event in FIBF tcode.But still when Iam running the Tcode F150, it shows print preview option.Email is not sent to the user. When I debug the program, it stops in std. FM ( i.e OPEN_FI_PERFORM_00001040_P ) not in Z FM that I have created. Please guide on this issue.
    Thanks & Regards,
    Anagha Deshmukh

    Did you activate your product?  FIBF -> Settings -> Products -> Customer (click the checkbox)

  • Dunning letter F150 issue

    Hi ,
    I want to send dunning letter through F150 tcode.The customer wants both option email as well as print.I have done the coding for both.But the program takes only one option at a time. The client wants both the option that send mail as well as print.How to do this.
    Thanks & Regards,
    Anagha Deshmukh

    Hi,
    You can [Check this. Hope this might be helpful|Sending dunning letters by email;. And also [Check this thread.|Dunning letters Option - Print/email;.
    Thanks,
    Abhijit

  • Dunning letter - email/pdf problem

    I want to email a dunning letter to a customer.
    I have executed a dunning run.
    I go back to the Recommendation report for the dunning run - when I highlight the row under the customer name and click print preview I can see a preview of the dunning letter I want to email.
    When I click the 'Email' button and click 'Yes' to attach an edited report I thought that would attach the letter to an email as a PDF? (I have send E-Mail via Microsoft Outlook' selected)
    But when I check my Outlook sent box the email has been sent but there is no attachment of the dunning letter - it's just an empty email?
    I tried again and examined the 'Send message' box that appears when I click the 'Email..' button.
    The data tab shows the dunning run listed but the Attachments tab has nothing listed.
    Should the file be listed here if it had correctly attached?
    Incidentally when I click the PDF button this just brings up the same print preview instead of making a PDF of the letter - is this significant i.e is the PDF function not working hence the 'attach edited report' function also cannot work?
    I'd be grateful for advice on emailing dunning letters correctly
    Karen

    Hi Andrew,
    Check this Link
    Re: Email Dunning Report to the BP
    Re: Automatic Dunning By Email
    Regards
    Jambulingam.P

  • F150 : Dunning Letter

    Hi,
    Dunning letter procedure  (F150)  currently creates an output in PDF format but the remqt is to get the output in PDF and alos in text files with some modifications in the text file.
    Could anyone pls. help me how to achieve this.
    Thanks.
    Edited by: Sri KVS on May 20, 2010 9:55 AM

    Hi,
    sorry, here yesterday it was a day off.
    For the code, if you  want to copy the pdf you have to take the number of spool and convert it in an other pdf (but you will get the same printing). If you want to get an another form (different from the standard: no logo, header ...) you have to do a new form (smartform ou sapscript one) and to call this new form in the enhancement...
    if you do a new sapscript form: you should use: open_form.... write_element.... close form (like in the function standard F150_printing_notice)
    and if you use a smartform one, you should use the function     call function 'SSF_FUNCTION_MODULE_NAME'
    to know the function associate at your smarform form.
    and after
    call function lf_fm_name
            exporting
              archive_index        = toa_dara
              archive_index_tab    = tsfdara
              archive_parameters   = arc_params
              control_parameters   = ls_control_param
              mail_appl_obj        = ls_mail_appl_obj
              mail_recipient       = ls_recipient
              mail_sender          = ls_sender
              output_options       = ls_composer_param
              user_settings        = space
              is_vbdkr             = is_vbdkr
              is_nast              = is_nast
              iv_spras             = lv_spras
              iv_spras_ag          = lv_spras_do
            importing
              job_output_info      = ls_job_info
              document_output_info = ls_document_output_info
              job_output_options   = ls_job_output_options
              es_vbdkr             = vbdkr
            tables
              it_tvbdpr            = it_tvbdpr
            exceptions
              formatting_error     = 1
              internal_error       = 2
              send_error           = 3
              user_canceled        = 4
              others               = 5.
    for calling the form...
    It's depend of what you have to do: sapscript or smartform printing. But you will do a new form, i think
    Best regards
    Hote it'shelpfull

  • Dunning letter was not created

    when i am doing for dunning letter in f150 it showing the following error message "list contains no data" .

    DUNNING : List contains no data

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

  • Prob in getting Mail body for the standard tcode F150(Dunning).

    Hello all,
    I am using F150 for the dunning notice print out.After seeing the display of the dunning notice once we come back it populates a popup window where it asks to send the mail to the particular mailid or not. I have used the BTE ---  SAMPLE_PROCEE_00001040 and copied it as z function module and customised according to my requirement in order to get the mail id of the customer in the pop up.My mail is going to the customers mail id properly only but my prob is that we are not able to get any mail body for that particular mail.Where can we add the mail body text to that mail in the standard tcode f150.can any one suggest is it possible or not.
    Regards,
    Pavani.
    Edited by: Pavani Rayappureddi on Aug 11, 2009 11:21 AM

    solved my self.
    added         C_ITCPO-TDTITLE  = 'Pending Receivables Statement-XXX GROUP'.
    in the bte code.

  • Dunning letter via email with invoice attachments

    Hi Experts,
    We have requirement where in dunning letter should be send to customer via email along with invoice attachments.
    We have copied standard script F150_DUNN_02 to custom one as per requirements and configured it in SPRO. We are using BTE 1040 to fetch the customer email address and assign it to structure c_finaa-intad.
    This serves the purpose partially. The email goes to customer with dunning letter as an attachment properly.
    The question here is how to send additional invoice attachments in the same mail? For example, if dunning letter contains 3 line items, then email should have 4 attachments( 1 dunning letter and 3 invoices).
    Is it possible by some config steps? or please suggest me suitable approach to solve the problem.
    Appreciate your help.
    Thanks
    Swati

    Hi Partha,
    Here are the steps that you can follow :
    1. Using following SPRO path assign the dunning form.
    Financial Accounting (New) > Accounts Receivable and Accounts Payable > Business Transactions > Dunning > Printout > Assign Dunning Forms
    2. There is standard BTE (00001040) that is provided by SAP which is called when dunning is run. SAP has also provided sample function module SAMPLE_PROCESS_00001040 to indicate how to use the BTE. The FM imports I_KNA1 strutcure and pass back structure C_FINAA.
    3. Copy the standard FM to custom Z-FM and using I_KNA1-ADRNR fetch customer email address. If email is maintained, set c_finaa-nacha = 'I' and c_finaa-intad - <email>.
    4. You can also set the title of PDF file in email by setting c_itcpo-tdtitle as per requirement.
    5. Goto transaction FIBF. Settings-> Process Modules-> of SAP Application
    6. Add new entry with Process 00001040, application FI-FI and function module as custom FM created in step 3.
    Above steps are enough if you want to send dunning email to customer. If there is a need to send invoices as an attachments along with email then there is a need to enhance the standard FM PRINT_DUNNING_NOTICE. I used following approach to achieve the purpose.
    a. I created another custom FM to send invoices which I am calling from PRINT_DUNNING_NOTICE. For this, I am using implicit enhancement option to modify standard code. With this option, I am able to send 2 emails back-to-back one with dunning letter and other containing all invoice attachments with respect to dunning letter.
    Let me know, if you need further guidance.
    Regards,
    Swati

  • Dunning letter emailed or print by customer

    Hi,
    We are on 12.1.3, 11g database.
    Is there a way to control whether a dunning letter can be Printed or Emailed at the customer level. Dunning plans allow us to send letters by email or print, but there is no control as to which customer gets is as email / print.
    Any Input appreciated.
    Thanks,
    K

    There is no seeded functionality per Oracle, we have to customize the dunning plans to achieve this.

  • Dunning letter (email) PDF attachment or body of email

    Hi experts,
    What is the industry practice for dunning letters when sent via email? Attach them as a pdf to the email, or add all the content of the dunning letter to the body of the email to make it easier for the customer to receive the message?
    Thanks,
    Mario

    Hi Mario,
    It all depends on the functionality that and payment option that are provided.
    If the dunning letters contains and payment/remittance slip(through which customer can make payment in bank, outlet or post office) than the letter should go as PDF attached to mail with body saying that its the reminder for payment being missed,
    But if the payment option is not like as described above than you can send the the letter in html body mail.
    Regards

  • Sending 'Dunning Letters' via Email ? - -has anyone succeeded ??

    Hi
    Has anyone had any joy with sending Dunning letters via email at all
    We can get it to work via FAX , but get the following error when trying to send via email
    'connection error on node'
    even tho, there is nothing wrong with the node at all
    via SCOT , we have the default conversion as 'raw text to txt'   which works with everthing else
    If we change to 'raw text' to 'pdf'  we actually get two PDF's - one is blank however
    When viewed via SOST, you cannot open it straight up, you have to open an attachment
    when we queried this with SAP, they say that dunning letters are set up to open as attachments
    The function module is almost identical to that used by statements and remiitances, which works absolutely fine
    I have posted this on a more technical forum as it is not an FI issue, it is a technical problem, which i hope someone has come across and able to resolve for us
    Many thanks
    Tony

    Hi
    Have you see SAP Note 1042992 - Dunning by mail w/ SAPscript: Introductory text w/ attachmnt? Please, check the steps that this note suggests. At a release 46B I did with the enhancement F150D001 (at ECC 5.0 it is too), and you have a demo coding in include LX150F01.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot, according your coding check what is the email address for the customer, if the customer doesn't have email, then the letter goes to the SPOOL order. Check it in the include ZX* or in the BTE.
    Edited by: E_Hinojosa on Mar 1, 2012 5:22 PM

Maybe you are looking for