11-18-2008 10:05 AM
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
12-09-2008 3:51 PM
Hi Swathi,
I have the same requirement. I would be very thankful if you can help me in providing the details steps in how to configure. Till to get the following out, which you mentioned in previous question.
"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. "
I would be very obliged if you could provide me guidence.
Regards
Partha
12-10-2008 7:57 AM
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
12-11-2008 7:03 AM
Hi Swati,
Thank you very much; almost I got all the information. When I got problem while doing configuration definitely I ask further details required.
I you forward any document or PPT on this its helps me lot.
mail id pskambam gmail
Regards
Partha
03-08-2024 6:42 AM
Hi I am also having same requirement but along with this I want to store dunning notice pdf on application- server.
right now email is being sent to recipient with attachment . that same attachment we need to store on application server before sending it to Recipient
ON Schedule button click in F150 Dunning notice should be store on Application server.
10-20-2020 12:55 AM
Did you ever solve this? If so can you post the solution please. We are trying to generate a single PDF containing both dunning letter and subsequent invoices, thus one document and no additional attachments.