cancel
Showing results for 
Search instead for 
Did you mean: 

activate Email function for PO output type NEU

Former Member

Hi ,

My customer is asking for automatic sending of emails to vendors from POu2019s as an output when this vendor has an email in the vendor master record .

What is the procedure to acheive this and is it possible to send output type NEU as email?

Please help us.

Regards,

Amara.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

answered

kunal_ingale
Active Contributor
0 Kudos

hi

You need to do some configuration for this.

u2022 Goto NACE .

u2022 Select EF and click on OUTPUT TYPES.

u2022 Then select Output Type NEU and click on processing routines .

u2022 In that you have to add a new entry - medium 5 .

u2022 Then you need to assign a program, form routine and form.

u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.

u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .

u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .

u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as

TEXT_SYMBOL_REPLACE .

u2022 Now the subject will be PO No. 1800004202.

u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.

u2022 Now while creating a new purchase order , change the medium to External Send .

u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .

u2022 Goto tcode ME9F .

u2022 Execute.

u2022 Select the checkbox and click on Output Message.

u2022 You will get a message MAII 00000000000001 generated .

u2022 Use note no 191470

regards

kunal

Former Member
0 Kudos

Hi ,

we have ZPMPPURC program and form ZMEDRUCK for outpu type NEU . Shall we continue with this Z programs or we need to put the standard programs .

If there is no need to change Zprograms , Shall we use SAPMM06E and FormRoutine asTEXT_SYMBOL_REPLACE in general data .

Please advise.

Regards,

Amara.

kunal_ingale
Active Contributor
0 Kudos

yes u can do it

but u have dont have to alter the program ,try to copy from std then use it with modifications as per ur need

consult ur ABAPer for help

regards

kunal

award if helpful

former_member581212
Active Contributor
0 Kudos

hi,

Check SAP Note 191470 - Purchase Order as an e-mail

Apart from the configurations as per the above SAP Note, your BASIS Guy has to do configuration in SCOT - SAP Connect: Administration (system status)

You can also go throught few SDN threads for more help...

Pls check...

Hope it helps...

Regards

Priyanka.P

Former Member
0 Kudos

Basically there are two mail types: Internet mail (external mail) and SAPOffice mail.

Mail is 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.

SAPOffice 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 a SAPOffice mail.

When using 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 identify the sender.

o Note that it is not possible to change the e-mail address of the vendor

o You can use a temporary email address in Transaction ME21N.

3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail.

You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define

Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).

4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.

5. In the condition records for the output type (for example,Transaction MN04), use medium '5' (External send).

6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been

carried out.

7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.

To use the SAPOffice mail, the following basic settings are required:

1. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail.

You can branch to the maintenance of the communication strategy via the input help.

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 MN04), use medium '7' (SAPOffice) and also 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 replacement parameter, for example a document number.

Solution:

1. The replacement routine is maintained in the Customizing for the output type in the detail screen on the 'General data' tab under 'Replacement of text symbols' (for Release < 4.6B, this can be found on the 'Mail' tab page).

Program: SAPMM06E

FORM routine: TEXT_SYMBOL_REPLACE

2. Maintain mail title and text.

o If you want to send a purchase order within an R/3 system using the SAP office, you can maintain both the mail title ('Re:') and also a mail text in the Customizing for the output type To do this, select the directory mail title and text for the corresponding message type.

o If 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 MN05) on the 'Communication method' tab page. Enter the mail title in the 'Text for cover page' field. You cannot maintain an additional mail text.

o Note that the values from the mail title are used to create the description for the attachment.

3. The replacement parameters must be enclosed by &. Example: You want to enter the title 'PO number '. For this you have to enter the following in the Document Title field (Message Customizing ->

sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'

Former Member
0 Kudos

Hi Charlie ,

I have donr the settings as you suggested . However i could not found any thing (object) in SCOT under node Mail. Can you please explain about SCOT settings.

Regards,

Amara