SQ” 191470 - Purch
Version 28 Validity: 15.06.2008 - active Language Engish
order
an e-mail
Header Data
Released On 15052008 1421.24
Release Status Released for Customer
Component MN.PUR.GF-OC Message determination and prining
Priority Recommendations / Additional nfo
Category Consulting
Symptom
As of Release 4.5, the required program logic is implenented that allows you to send purchasing
documents by e-mail. Tt is not possible Tor you to “downgrade” to lower releases.
This SAP Note is classified as "release-independent” to also make this information available to
customers that use releases < Release 4.9
Tf you use a release < Release 4.5, read SAP Note 357137.
Other Terms
ME2L, MEIN, ME22, ME22N, MESL, MESIL, ME32L, MESIK, ME32K, output determination
Reason and Prerequisites
Solution
basically, there are two mail types: internet mail
(external mail) and saPoftice nail.
nails are sent via the output determination in both cases.
If you use the external mail, the message for the purchasing document is converted into a
corresponding text file which is sent to the.vendor via the Internet.
An sapoftice mail is’sent only within the R/3 system and has mainly the function of providing
information.
In particular, it is not possible to attach a message (form) for a purchasing document to an
Sapoffice mail.
To use the external mail, the following basic settings are required:
1. You must maintain an e-mail address in the address in the vendor master.
2. the same applies, to your own user master. You also have to specify an e-mail address there in
order to tdentify the senders a
+ Note that it is not possible to change the e-mail address of the vendor via the SAP purchase
Order transactions (HEZIN, ME22N, and soon).
+ You can only make a permanent change using the vendor master transactions xKO2 or MKO2.
+ You can use a temporary email address in transaction ME2IN.
3. For the output type for default values, a communication strategy needs to be maintained in
Customizing that supports the e-nail: You can find the def inition of che communication strategy
in customizing via the following path: "SPRO\-> IMG -> SAP Web Application server > Basic,
services > Message Control ~> befine Communication strategy". As a default, the communication.
Strategy C501 is delivered. this strategy already contains the necessary entry for the external
Comunication. Bear in mind that without a suitable communication strategy it is not possible to
Communicate with a partner via the medium 5 (external sending).
4. Use the standard SAP environment (program SAPFMOGP, FORM routine ENTRY_NEU and form MEDRUCK)
aS the processing routines.
5. an the condition records for the output type (for example, transaction MNOS), use the medium
5 (external sending). » a "
piapraelieiee: top, niesriess
fed here, but 1€ mist have already
6, You can use transaction Scor to trigger the output manual
pending is that the node ts set correctly. this ts not desert
een carried out.
7, ,Jo be able to display, for example, the e-mail in cutlook, enter POF as the format in the
To use the SaPoffice mail, the following basic settings are require1. For the output type for default values, a communication strategy needs to be maintained in
Customizing that supports the e-mail. You'can branch to the maintenance of the communication
Strategy via the input help (F4)-
2. Use the Sap standard environment (program RSNASTSO and FORM routine SAPOFFICE_AUFRUF) as the
Processing routines.
3. In the condition records for the output type (for example, transaction MNO4), use the medium
7" (apoffice) and also the partner role MP (mail partner).
Additional settings:
Problem:
How can you both change the mail title and text for the sending of a mail message and maintain a
Feplacesant paraneter, for example, a document nunber'?
Solution:
1. the replacement routine is maintained in the customizing for the output type in the detail
Screen on the “General data” tab page under “Replacement of text symbols" (for releases <
Release 4.68, the replacenent routine can be found on the "mail" tab page).
Program: SAPHMOGE
FORM routine: TEXT SYMBOL_REPLACE
2. Tf you work with the new single-screen transactions ME2IN, ME22N or MED3N, SAP Notes 0370522
and badtBeb° are required”
3. maintain mail title and text.
+ TF you want te send a purchase order within an 8/3 system using an SAPOffice mail, you can
both the mail title ("Re:") and also a mail text in the Customizing for the output
> Select the directory mail title and text for the corresponding message’ type.
+ Tf you want to send a purchase order as (external) mail, for example, to a vendor, you have to
maintain the mail title in the condition record for the output. type (for example, in transaction
¥NO5) on the "Communication method” tab page. Enter the mail title in the “Text for cover page”
field. vou cannot maintain an additional mail text.
+ Note that the values from the mail title are used to create the description for the attachment.
4. The replacener
hunber 450000001"
essage Customizing ~> sub-option PO number &EKKO-EBELN&”
parameters must be enclosed by & Example: You want to enter the title "Po
+ Note that the replacement via TEXT_SYMBOL_REPLACE can only be executed as of Release
4.68. Tf you also want to use the purchase order number in a release < Release 4.08, refer to
SAP Note 120474. ‘Asan alternative, you have the option of implementing the text replacement.
functions by Consuiting, priced separately.
Problem:
You send a purchase order by e-mail and want to attach the document as
a file type (ror example, POF)
Solution!
The file type is maintained in the corresponding node in SAPConnect (transaction SCOT). If you have
any Further questions, contact your Basis" administration.
Attaching purchasing documents fo e-mails is only possible for external (Internet) mails. This is
not possible with SAPOfFice mails
Problem:
Although LET (print), for example, is stil] set as the alternative to INT (e-mail) in the
communication strategy, a program termination occurs because of a missing e-mail address.
Solution:
See SAP Note 310234
Problem:
hen you send a mail message for a purchase order, a short dump occurs if the purchase order was
created with reference to an outline agreement
Solution:
See SAP Note 302250.
Other Attributes
‘ranaston codes [FIER
ME2tValidity
‘This documents not restricted to a sofware component or software component version
References
This document refers to:
SAP Notes.
1296758
502260
497497
432236
420066. No title when sending PO messages externally
357137 External e-mails fiom message corivol
323720 Communication types in communication strates
‘309685 Erorwith extemal sending
This document is referenced by:
SAP Notes (11)
1296758 Sending pwchase order attachments by mail
2142213, Sending an order form to several recipients wa é-mal,
457497 AQ. Message processing in purchasing
323720 Communication yes in communication srategy
357137 External e-mails from message coritol
420068 No ile when sending PO messages externally
432236 Error TD4?1 for extemal sending
152474 Testing taxand emai
309685 Exrorwith extemal sending
190869 Sending ists using SAPconnect
{502260 Update terminate when emailing PO inked to Qutine Agree.