cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Attachemnt along with PO to Vendor through Email

Former Member
0 Kudos

Hi

Currently we are able to send only the PO in PDF format to the Vendor through Email, i also want to send the attachments that the PO has to the Vendor. Please if you can tell me the settings.

Thanks

Ankit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This is not possible without development .Refer notes 786847,191470

Details for the print program:

In the customer namespace, a central class is first created that takes care of actually shipping the e-mail with texts and attachments.

Furthermore, application-specific classes are created in the customer namespace (if required). At present, these are available for purchasing documents (purchase order, request for quotation, and so on) and sales documents (sales order or order acknowledgment, quotations, and so on). Further applications can be considered after consultation.

You can continue to use the print program that you have used up until now. Only minor adjustments are required in order to use the corresponding class in the case of external sending (Medium 5).

A new dummy message type is created in Customizing. You can use transaction MN04 to create an additional condition record for this message type for the relevant vendor. However, medium 7 is used here, which allows you to maintain communication settings. The communication settings include an individual e-mail text and an individual recipient list (type INT) for each condition record.

The dummy message type is not used in the purchase order, rather it is used only as a workaround to enable you to maintain recipients and texts in the standard system with ease.

A new Z table is created that contains each application (KAPPL) and purchasing organization parameter. In this way, for example, the text prefixes can be filled for the attachments in the e-mail or you can specify which additional attachments are to be copied to the e-mail.

Processing the message:

If the message type of the purchasing document is processed, the recipients and the text are read from the dummy message type and are added to the e-mail. Placeholders (for example, &EKKO-EBELN&) may be triggered.

If NO condition record is found for the dummy message type, the system uses the standard text and the recipient address from the master record. In this way, you automatically continue to have the standard behavior (with an additional e-mail text) for partners that you do not want to receive special treatment.

The purchasing document is attached as a PDF file.

Further attachments are added as described in the settings (see above). There is a distinction made between attachments from the generic object services (GOS) and attachments from the Document Management System. The Document Management System attachments can be assigned, for example, to the object EKPO (purchase order item) or MARA (material master).

If no errors have occurred up to now, the completed e-mail is sent and delivered to the sending system. Otherwise, errors can be transferred to the message collector as normal and can be checked there.

Former Member
0 Kudos

Check note: 457497

30. Question:

Can documents that are linked (attached) to a purchase order also be

included with the message output?

Answer:

No. This is not possible.

"It is currently not possible to send attached documents in a purchase

order for email or SAPmail. The technical reason is: During the output,

the form (e.g. MEDRUCK) is already handelled as an attachment.Therefore,

it is not possible to attach documents together with the form.

You could send a purchase order (PO) document via email "external send"

as body text or to convert this PO as PDF attachement. To add aditionnal

attachments in the same mail is not supported from the application side.

Therefore, for manual use, you could send the external mail to your

mailbox and add any attachements before sending the email.