cancel
Showing results for 
Search instead for 
Did you mean: 

Send PO by mail to vendor -Adobe Form

mdreier
Explorer
0 Kudos
2,380

Dear all

our Logistic Department would like to send directly Purchase order to vendor by Email from SAP. I was able to do it using ENTRY_NEU Form Routine

Now they ask me to change Email Sender and add CC recipient email . I found this BADI

BADI_MM_PO_OC_EMAIL , which allows you to make some enhancement regarding email recipient list and CC...

BUT this seems not working with ENTRY_NEU FORM Routine as this BADI can be executed in program SAPFM06P only in subroutine adobe_print_output? is that correct ? => it means I need to change FORM_ROutine to ADOBE_FORM? I m not familiar with Adobe Form . Can I use easily SAP Standard like MEDRUCK_PO for this purpose? is there any way to see how this template looks like and if it meets the requirements. We have no ADS configured on our system at the moment. I also find an oldier note 1100846 - Purchase document PDF forms are not to be used .. and now im not sure if I can use this form for my subject or not .And also if I would be able to add CC Recipient email there ?

thank you

Melanie

former_member462025
Participant
0 Kudos

Hi,

We convert the smartform as PDF.

We didn't tried Adobe form.

Thanks & regards

Venkatesh Besetty

Accepted Solutions (0)

Answers (3)

Answers (3)

DominikTylczyn
Active Contributor

Hi Melanie,

Consider the following support notes:

191470 - Purchase order as an e-mail - comprehensive explanation of settings required to send output out of a purchase order as an e-mail.

2542422 - Purchase order through external send (email) channel only sends to vendor email address - brief explanation of the standard logic to derive recipient address and reference to a BADI enhancement to manipulate this address.

2171371 - New option to change messages sent out as e-mails - introduction of BADI_MM_PO_OC_EMAIL to manipulate the e-mail address.

2667292 - How to manipulate external mail in MM output - explanation of how to implement the BADI.

HTH

Dominik Tylczynski

lateshkulkarni_12
Discoverer
0 Kudos

I am also facing same issue. I have a requirement.

Requirement Details -

When purchase order is created (released), a mail is sent to the respective person. I have to make changes in the mail body. There is a custom adobe form for this and standard program 'SAPFM06P' is assigned to it. It is maintained through NACE (Output type NEU).

I have checked all the BAdIs related to purchase order, but I am not able to find the mail body.

Other than BAdI, is there any other way that the mail is triggered when the purchase order is created (released)?

former_member462025
Participant
0 Kudos

Dear mdreier,

We have done the same for our client.

Ask your ABAPer to generate one Z Function module to sent PDF mail to Vendor & you can add CC( option to send for multiple mail IDs) also.

This Z Function module have to call in save method in BADI "ME_Process_PO_Cust" .

Here you can control PO sending like when Saved or Released as per your requirement.

Thanks & Regards

Venkatesh Besetty

mdreier
Explorer
0 Kudos

Dear Venkatesh.

thank you very much for your reply. so there is no need to switch to Adobe Form just to generate FM ?

BR

Melanie