Function documentationElectronic Document Delivery to Business Partners

 

You can use this function to enhance the programs used to process output so that documents can be sent to a business partner as a PDF attachment by e-mail.

Note Note

In the standard system, the system uses spool control to output the document using the printer. See SAP Note 1671758.

End of the note.

Example Example

Once electronic document delivery has been set up and activated, the system sends the order confirmation to the business partner e-mail address as a PDF.

End of the example.

Prerequisites

  • You have configured the activities in Customizing for SAP Media under Start of the navigation path Basic Functions Next navigation step Output Determination Next navigation step General Settings Next navigation step Electronic Document Delivery End of the navigation path:

    1. You have created usage types for electronic document delivery.

    2. You have created sales areas (including the application and output type) and assigned a usage type for electronic document delivery.

      Note Note

      Creating this data record activates electronic document delivery for the associated sales area.

      End of the note.
  • During business partner maintenance (transaction BP), you have created at least one e-mail address with a usage type that has been defined for electronic document delivery:

    1. This means that on the Address tab page under Other Communication..., you have maintained the address-dependent and/or address-independent communication data for the business partner.

    2. On the Internet E-Mail Addresses dialog box under Notes, you have recorded at least one of the usage types defined for electronic document delivery.

      Note Note

      You can specify several usages types separated by a comma. The initial three characters of the usage type name must correspond to the usage type key in Customizing.

      End of the note.
  • You can implement electronic document delivery with various output. This requires you to enhance the print programs. The function modules you require here are found in the function group JYEDD_EXTERN.

    Note Note

    You can view the structure of this enhancement in the example print program RJKEDDCON01 (print program for subscription order confirmation).

    End of the note.
  • If you want to use the options for enhancing the format, content and addressee of the e-mail described under “Features”, you have implemented the associated Business Add-Ins (BAdIs).

  • If you want to use the additional output option (e-mail and print), you have executed the following activity in Customizing forSAP Media under Start of the navigation path Basic Functions Next navigation step Output Determination Next navigation step Output Determination in Media Sales and Distribution End of the navigation path: Define Access Sequences, Output types and Determination Procedures.

    You have included the print program (such as RJKEDDCON01) in the processing routines twice for the application and output type (such as J0 IS-M Sales Order, KDA0 Subscrip.Order Conf. ABO), and recorded the value ENTRY for the first entry in the form routine and the value ENTRY2 for the second entry.

    Note Note

    When implementing the form routines ENTRY and ENTRY2, see the example print program RJKEDDCON01.

    End of the note.

Features

The system uses the following standard components for electronic document delivery:

  • To control the output Message control (NAST)

  • SAPconnect to send e-mails

You can send a document by e-mail in PDF format. This is possible in addition or as an alternative to standard print output.

Additional Options
  • You can use electronic document delivery to specify that the system inserts the e-mail text in the contact data record when the e-mail is sent. To do so, when assigning the usage type (see “Prerequisites”), you have selected the Mail Text checkbox field in the general settings for electronic document delivery. The system makes the contact information available in the Customer Interaction Center.

  • You can use the following enhancement options:

    BAdI

    Purpose of Enhancement

    ISM_EDD_EMAILFORM

    Change the format and content of the e-mail and add additional attachments.

    ISM_EDD_EMAILS

    Change recipient address of the e-mail

    ISM_EDD_SIGNATURE

    Sign the PDF attachment to the e-mail