Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to attach Invoices PDF along with Dunning form while running F150

former_member421418
Participant
0 Kudos

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

1 REPLY 1

rameez_khan
Active Participant
0 Kudos

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.