Skip to Content
Former Member
Feb 15, 2005 at 08:35 PM

Sending PDF output attachment in e-mail to external users from BSP


Hi All,

Please gothrough the below requirement details :

Requirement Details:

Need to achieve the functionality of sending a PDF attachment of invoice to an external

e-mail address from the BSP Application.

Implementation Details:

The Print out Output determination is already done in the system. We are using SAP R/3 4.7 (620)

In the Transaction VF03 in the initial screen there is a menubar "Billing document" and underneath that menu there is a menu item called "Issue". If we click the "Issue" menu item all the output that are already proposed will be visible and we can select the printout Output determination and can issue a printout.

I had created a FM to call from BSP and that function module will take the Invoice number as input and will call the "VF03" transaction using BDC and will trigger the Sapscript Printout . I see the the sapscript in the spool after I call the Function module .

But I don't know how I can get the Spool request number for that Function module call from BSP page ????

I got struck in this approach...

If I know the Spool number after calling the function module the it's very easy to call the following FM's for sending a e-mail with the Invoice PDF attachment.




Please let me know if anyone can help me in this ...

Please reply ASAP.