Skip to Content
avatar image
Former Member

How to pick receiver email address from contact screen?

We want to be able to pick the email address from the customer contact screen, not necessarily from the default on the customer address screen. I've looked a long time to try to find where/when in SAP it gets the email address and how to manipulate it. Rel 6.20 ABAP/ 4.7 APPS. Does anyone know?

thanks!

Joy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 05, 2006 at 06:58 AM

    Hi Joy,

    You will find the Email Address in the "SMTP_ADDR" field of the table "ADR6". To fetch this field you need to get the Address Number for the Contact from the "ADDRNUMBER" field in "BUT020" table by passing the Contact details into "PARTNER" and "XDFADR" fields. If you need Standard Address then pass value "X" into "XDFADR" field. Leave it blank to get Address Independent email.

    Hope this solves your problem.

    Regards,

    Raj.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2006 at 02:22 PM

    Hi Raj,

    Thanks very much for your response. Do you know where in VA01/VA02 I can put my own code to populate SMTP_ADDR ?

    Joy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Lakshman,

      Thank you very much for your response. I need to change the email address when creating a sales order rather than a customer. Do you know in what code I could change the email address?

      Thank you much.

      Joy