Skip to Content
author's profile photo Former Member
Former Member

Get customer E-MAIL id in sap script

Hi,

I am doing a customer statement by standard form and as well as i created a program for send the output to customer via email with the attachment.but here i am enter my customer email id manualy but my user ask me to get the email id automaticaly based on the customer statement form he is running.so how to get the customer email main by default based on the form.pls help me to solve the issues.

Thanks,

Rajendra.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 03:51 AM

    Hi Rajendra,

    I usually get email addresses in table ADR6. Just enter the address number and you can retrieve its email address. Maybe you can do a select to retrieve this.

    Hope this helps even a bit.

    Cris

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 05:19 AM

    For user email id we followed the following procedure.

    USR21: TO GET ADDRESS NUMBER OF USER ID

    ADR6: TO GET EMAIL ADDRESS OF THE ADDRESS NUMBER

    Similarly u can get the customer email id, by getting the ADRNR from kna1 table

    and using this u can get from ADR6 table u can get the email address.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ravi,

      Hi i am running a STD program inside my customised program.but my selection screen of customer is in STD program and i want to get the mail id in my customised program.so how to get the selected customer no for the STD prog to the customised prog to get the mail id of customer.

      Thanks,

      Rajendra.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 09:05 AM

    Can you provide the details of standard program..and how are you calling it.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.