Skip to Content
author's profile photo Former Member
Former Member

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.

CONVERT_OTFSPOOLJOB_2_PDF

QCE1_CONVERT

SO_NEW_DOCUMENT_ATT_SEND_API1

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

Please reply ASAP.

Thanks,

Greetson

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 16, 2005 at 04:57 AM

    Check out these weblogs.

    /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp

    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.