cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong contact person email used in sale order output

Former Member
0 Kudos
721

Hello,

We develop the following solution:

In sale order, we can send the output order confirmation by mail. In the customer data, we saved the email address (SZA5_D0700-SMTP_ADDR) and we added the partner CP in the partner function.

From the sale order, we can send our output by mail but the email used address is wrongu2026

But when we create a sale order, in the partner view, the email address displayed is not SZA5_D0700-SMTP_ADDR but SZA1_D0100-SMTP_ADDR (email from the business view).

How can we display the email address SZA5_D0700-SMTP_ADDR in the sale order ?

Thanks

Regards

Pierre

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you can have an enhancement to read customer master and then overwrite the email id in the sales order partner, it will solve the issue.

Harry

Former Member
0 Kudos

Hi

Pierre

I have tried to check on this issue. I think it will not be possible through configuration to show The different address than Business email addres of customer on sales order .

But through T.code NACE you can configure new output type and access sequence consisting of partner function CP and Address structure SZA5_D0700 .You need to make outpu partner dependent and use address strcture in form routine in following part >>

fill address key --> necessary for emails

addr_key-addrnumber = vbdka-adrnr.

addr_key-persnumber = vbdka-adrnp.

addr_key-addr_type = vbdka-address_type.

For control and triggering of partner CP use following exit of partner determiantion if required,

EXIT_SAPLV09A_001.

I hope this helps you in your efforts,

Regards

Mandar