02-13-2018 5:11 AM
Dear Experts ,
Created Adobe form for Dunning form , Form is getting triggered and generated successfully, But user wants along with dunning form he needs invoices also as a attachments , how to attach Invoices to dunning form , Can you Please help me on this .
For generating dunning form using below FM : PRINT_DUNNING_NOTICE_PDF
Thanks & regards
Kiran
02-16-2018 7:14 AM
Hello Kiran,
There is no straight option available to achieve the above given requirement.
FM: PRINT_DUNNING_NOTICE_PDF uses function module: FI_SEND_PDF to send the PDF of dunning letter
as an attachment, inside this FM subroutine: "Send_one" is called which attaches the PDF to mail and send's mail using FM: SO_DOCUMENT_SEND_API1.
There is no exit available in between to provide an extra PDF as attachment.
To achieve the above given requirement we are left with 2 options only.
1. Implement BTE: 1720 in P/S mode of an SAP application to call your own FM which will attach both dunning form and invoice form.
2. You might need to break the SAP's code in include: LSENDPDF01 or do an implicit enhancement in FM: SO_DOCUMENT_SEND_API1.
It is better to implement BTE where you will get control to perform the customization as per your requirement.