cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Plant specific email output

Aparna_Ajayan
Associate
Associate
0 Likes
1,458

I have a requirement where we need to maintain emails IDs plant wise and once the PO is outputted, the email ID for that plant has to be selected.  For eg:  If a vendor has several Salesperson dealing with different plants, and the vendor is a global supplier, then the PO should be sent to the plant specific sales person. Is this possible in SAP output settings

Accepted Solutions (1)

Accepted Solutions (1)

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes

Hello @Aparna_Ajayan 

Check the note 2667292 - How to manipulate external mail in MM output - SAP ERP & SAP S/4 HANA 

BAdI BADI_MM_PO_OC_EMAIL, method CHANGE_RECIPIENTS allows to determine email recipients whichever way you need.

Best regards

Dominik Tylczynski

KjetilKilhavn
Active Contributor
0 Likes
Where would the Business Add-In get the email address from? Most likely you will end up with a custom table, and a solution to maintain that table. The solution is not transparent - it is not visible to users that a separate ordering address will be used. The solution from Mohanish, on the other hand, uses a standard feature in SAP which makes the different ordering addresses visible. Your comment about about vendor proliferation isn't even valid (at least not in S/4HANA). An ordering address is a Business Partner, but does not have to have the vendor role.
Mohanish
Discoverer
0 Likes
Please close the thread if you feel your query is answered by any of us.

Answers (1)

Answers (1)

Mohanish
Discoverer

Hello Aparna,

One possibility is, you create all those Salesperson as separate vendors and maintain their corresponding email IDs. Now link these newly created vendors to the main vendor with the Partner Function "OA".

In the message output determination, create a new table with plant as the field and default Partner function as OA in the customization and maintain the condition records in MN04 for each of these vendors linking the plant.

Please try the above and revert.

//BR,

Mohanish

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
It might work, but consider carefully all possible side-effects of such vendors proliferation.
KjetilKilhavn
Active Contributor
0 Likes

I would just like to point out that these should be separate business partners, but not necessarily vendors. Only address information is needed, and there is a separate vendor account group for this type of business partner.

TobiaszWegrzynski
Participant
0 Likes

hello, I would like to add to Mohanish and advise the usage of Vendor Subranges (in the role FLVN01 Supplier > purchasing data) where you can specify OA and GS by plant.

TobiaszWegrzynski_0-1733215430032.png