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.

Similar Messages

  • 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

  • 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

  • Unable to send a photo via email

    I am currently trying to sending a photo via email from I-photo, I get the following message ====  The email server didn’t recognize your username/password combination.
    Can anyone please advise ?????

    iPhoto Menu ->
    Preferences ->
    Accounts ->
    Delete and recreate your email settings.
    Alternatively, use Apple's Mail for the job. It has Templates too - and more of them.

  • Unable to send a file via my email client

    when i try to send a file via email i get the following error message : ' adobe reader could not  connect to e-mail client' - pl help.
    os; win 7 home premium[64-bit]; browser: ie9; e-mail client : hotmail & gmail

    That pretty much means you don't have an email client. This is something like Outlook Express you may have seen.
    Instead, open your email and attach the PDF.

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

  • Sending Dunning letters by email

    Hi colleagues,
    I am trying to send a dunning letter by email selecting the letter I want to send in the dunning wizard and, although SBO ask me  if I want attach the file, there is not any file attached when the mail is received.
    Does anybody know if this is not possible or if is there something missing?
    Regards,
    Lelian Cestari

    Hi Gordon,
    Yes, I have tried sending invoices and there isn´t any problem. The email received has the file attached.
    Rgds,
    Lelian

  • How to send .CSV file via email in Oracle10g/11g PL/SQL

    Hi Guys,
    Can any one let me know or suggest me how to send .csv file via email attachment using Oracle PL/SQL.
    Thanks in advance!
    Regards,
    LRK

    A FAQ. Use UTL_MAIL (if attachment is 32KB less). Else use UTL_SMTP. Search this forum. Search using google.

  • In iphoto my photos do no appear just a blank dated square. Somehow I messed up when trying to send a photo via email.I cannot not see any but 4 photos.

    Help!   In iphoto my photos do not appear just a blank dated square. Somehow I messed up when trying to send a photo via email.I cannot not see any but 4 photos.I tried all of the solutions that Apple suggested. Somehow I think that i am trying to send ALL my photos in an email.How do i unhide all of my photos?

    Did you launch iPhoto with the Option(Alt) and Commnad keys held down like Terence suggested?  If you did it properly you will get this window:
    The second option is the one you want to run.
    OT

  • Every time I send a photo via email, I have to type in my password.  I'd like to disable that.

    I can't seem to send a photo via email without having to type in my password.  Can I disable that?

    Hello, olyhank. 
    Thank you for visiting Apple Support Communities.
    Here is an article that will walk you through some troubleshooting steps for this issue.  Start with the attached section in the article below.
    Tip: If you see a sheet or dialog that states 'Enter the password for user "email address'", this indicates that the email service provider is having an issue with the password being sent by Mail, or there is an issue with the email account. Contact the email service provider for support. ChooseWindow > Connection Doctor click "Show Detail" then click "Check Again". The information displayed in the "Show Detail" drawer may include details from the email service provider about what the issue is. Look for headers that start with "[ALERT]".
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Cheers,
    Jason H.

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  t worked, but only for those with PC.  I could not get it to work with Apple Yosemite even with reader installed .  is there a way i can make it work for apple /

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However,  I could not get it to work with Apple loaded with Yosemite even with reader installed .  Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
    Thanks

    LiveCycle = XFA forms.
    afaik - These cannot be used in Apple OSs.
    Be well...

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for thos

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  the button did not work and i looked online and saw where you could change it to a regular button and enter the email for it to go.  it worked, but only for those with adobe pro.  i could not get it to work with reader.  is there a way i can make it work for reader?

    Noted.
    The LiveCycle user to user forum is across town at:
    Adobe LiveCycle 
    Be well...

  • IPhone 5 - Insert picture from email doesn't work, but sending in Photos via email does?

    I have an issue with a user here at my office.  When composing an email and they insert a picture from their phone, it sends the email, but the picture is not attached.
    However, if we go to Photos and send the photo via email, it works fine.
    He had been able to send fine up until yesterday afternoon and then it stopped working, so I believe he's done something, but I have no idea what.  Took a look at his settings and everything seems normal.  Also, rebooted his phone, but the same issue occurs.  And as far as I know, he's the only one having this issue.
    We are running email via Lotus Traveler/Domino, but I've tested my iPhone and everything sends fine, so I don't believe this is a server issue.
    Does anyone have any idea of what to try here?
    PS - user is using ios7.1 (same as mine)

    I have an issue with a user here at my office.  When composing an email and they insert a picture from their phone, it sends the email, but the picture is not attached.
    However, if we go to Photos and send the photo via email, it works fine.
    He had been able to send fine up until yesterday afternoon and then it stopped working, so I believe he's done something, but I have no idea what.  Took a look at his settings and everything seems normal.  Also, rebooted his phone, but the same issue occurs.  And as far as I know, he's the only one having this issue.
    We are running email via Lotus Traveler/Domino, but I've tested my iPhone and everything sends fine, so I don't believe this is a server issue.
    Does anyone have any idea of what to try here?
    PS - user is using ios7.1 (same as mine)

  • I am unable to Send E-mail via Default mail app in my iphone. IOS7, i have account of icloud, Gmail, Microsoft all the account are well added, i can recieve e-mails but the massage i send is never sent

    I am unable to Send E-mail via Default mail app in my iphone. IOS7, i have account of icloud, Gmail, Microsoft all the account are well added, i can recieve e-mails but the massage i send is never sent

    Turns out this was a simple set up error for me, although i'd set up mobile me to sync my e mails I had never set up my outgoing message server. Therefore, if I received a message from me.com I could reply no problem, however if the message came from aol.com I couldn't reply.

  • When trying to send a photo via email, I am prompted to setup an email account even though email is already setup.  What would cause this?

    when trying to send a photo via email, I am prompted to setup an email account even though email is already setup.  What would cause this?  Better yet, how do I fix it?

    I have checked this on my device.  I see a Default account under Messages created outside of Mail will be sent from the default account.  There is an account selected, though it does not show my exchnage account.  If it is only an exchange accout, can that not be used for this?

Maybe you are looking for

  • Apple mail asking for "update" of my credit card information. Could this be a fraud?

    I received a mail from Apple, asking me to follow a link in order to update my information with Apple iTunes. The mail looks very original and trustworthy, however, I don't understand what "account" I'm supposed to give my information to, nor do I re

  • Call subroutine in sap script

    how can i call subroutine in SAP Script?& where?

  • Binding JComboBox problems

    So I'm getting an error when I try to save the changes made from a bound combobox: Exception Description: Missing mapping for field [GALAXYY.USER_TYPE.id]. Descriptor: RelationalDescriptor(toast.crud.UserType --> [DatabaseTable(GALAXYY.USER_TYPE)]) S

  • Gift audiobook downloaded to iPhone and now can't find it?

    I purchased a gift audiobook thru iTunes and it was emailed to my daughter.  She downloaded it on her iPhone and now she cannot find it?  She isn't sure if it finished downloading.  Suggestions?

  • MSS Iview problem

    Hi, I'm getting this 'No data available' message in the Attendance Overview iview even though the data is maintained in R/3. i'm using MSS 60.1.3 Any ideas? Regards, Raj