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.
Add comment