Customer Master Email

Hi,
   Can anyone tell me where in R/3 the customer email address is stroed, and what the best way to extract it to BW would be?  I'm on 3.5.
   Thanks.
Dave

It is in table ADR6
Firstly, you need to go to sales order partner data VBPA to get the  ADRNR number ,then in table ADR6,input ADRNR number, you will find the email address. Enhance the data source using this field.

Similar Messages

  • Customer Master email field - change log not appearing

    Hi experts,
    We noticed that the changes to the email address are not appearing in the change log for customer master. Is this always the case? Will it be possible to include the email address in the change log? If so, how?
    Thanks!

    Sorry.. not an issue

  • Change of email in customer master

    I want to make all the email address for customer in customer master as blank.I am using an bapi sd_customer_maintain_all to make email blank.While running the report it returns with error message for sy-subrc as 22 for camerror any idea what exactly it all about.
    REPORT  zvr000_stlcustomer_emailchange.
    TABLES: kna1,adr6.
    TYPES: BEGIN OF addr,
          addrnumber TYPE adr6-addrnumber,
          smtp_addr  TYPE adr6-smtp_addr,
          persnumber TYPE adr6-persnumber,
          END OF addr,
          BEGIN OF cust,
              kunnr TYPE kna1-kunnr,
              land1 TYPE land1_gp,
              adrnr  TYPE kna1-adrnr,
              smtp_addr TYPE adr6-smtp_addr,
          END OF cust.
    data lv_charr type c value 50.
    data lv_kna1 type kna1.
    data lv_kna2 type kna1-kunnr.
    DATA:  git_adr11 TYPE STANDARD TABLE OF addr,
           gwa_addrr2 LIKE LINE OF git_adr11.
    DATA: git_kna11 TYPE STANDARD TABLE OF cust,
    gwa_addondata     type          cust_add_on_data,
          gwa_kna1  LIKE LINE OF git_kna11.
             data gwa_addr          type          bapiaddr1.
             data gwa_addr2         type          bapiaddr2.
    select-OPTIONS: s_kunnr FOR kna1-kunnr.
    Select the customers and address# from kna1
    SELECT kunnr land1 adrnr FROM kna1 INTO TABLE git_kna11
      WHERE kunnr IN s_kunnr.
    IF git_kna11 IS NOT INITIAL.
    LOOP AT git_kna11 INTO gwa_kna1.
    lv_kna1-kunnr = gwa_kna1-kunnr.
    gwa_addr-e_mail = ''.
    gwa_addr2-e_mail = ''.
        gwa_addondata-changed = 'X'.
        gwa_addondata-kunnr = gwa_kna1-kunnr.
        gwa_addr-addr_no = gwa_kna1-adrnr.
    gwa_addr2-addr_no = gwa_kna1-adrnr.
        lv_kna1-land1 = gwa_kna1-land1.
        lv_kna1-adrnr = gwa_kna1-adrnr.
      CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
            EXPORTING
              i_kna1                  = lv_kna1
              i_bapiaddr1             = gwa_addr
              i_bapiaddr2             = gwa_addr2
            i_customer_is_consumer  = 'X'
            pi_postflag             = 'X'
            pi_cam_changed          = 'X'
            pi_add_on_data          = gwa_addondata
            IMPORTING
              e_kunnr                 = lv_kna2
             o_kna1                  = kna1
        TABLES
            EXCEPTIONS
              client_error            = 1
              kna1_incomplete         = 2
              knb1_incomplete         = 3
              knb5_incomplete         = 4
              knvv_incomplete         = 5
              kunnr_not_unique        = 6
              sales_area_not_unique   = 7
              sales_area_not_valid    = 8
              insert_update_conflict  = 9
              number_assignment_error = 10
              number_not_in_range     = 11
              number_range_not_extern = 12
              number_range_not_intern = 13
              account_group_not_valid = 14
              parnr_invalid           = 15
              bank_address_invalid    = 16
              tax_data_not_valid      = 17
              no_authority            = 18
              company_code_not_unique = 19
              dunning_data_not_valid  = 20
              knb1_reference_invalid  = 21
              cam_error               = 22
              OTHERS                  = 23.
    if sy-subrc = 0.
              concatenate 'Following' gwa_kna1-kunnr 'have been changed to blank'  into  lv_charr separated by space.
              write :/ lv_charr.
          endif.
    ENDLOOP.
    ENDIF.

    Check if this OSS Note number 725938 makes any difference.
    [Sd_customer_maintain_all|http://www.mundosap.com/foro/showthread.php?t=15410]

  • F.27(Statement should be emailed if customer master contains email address)

    Hi All,
    I am working for the tcode f.27. A standard form F140_ACC_STAT_01 is assigned to tcode. Here my requirement is i need to do some changes in the form and output should be in pdf format and statement should be emailed if customer master contains email address.
    Can any body please help me how to send the email if the customer master contains email address.
    Please reply.
    Thanks,
    Nagendra

    Hi Nagendra
    change the customer email address on home and bussiness email field first and then make following changes to function module 'Z_CORR_PROCESS_00002310' or whatever name you  have got , this is working for us, let me know if y ou have any problem, You might have to tweak a code a bit , here we are decide whether to send customer statements to two email or not based on customer group selection
    data: w_output_type(10).  "Output type
       data: w_kunnr like i_kna1-kunnr.
       data: w_ktokd like i_kna1-ktokd.
       data: l_addressdtls type zaddressdtls.
       data: l_atype(1).  " Address type
    DATA: w_mailtxt TYPE finaa-namep VALUE 'ZCITY_STATEMENT_MAIL_BODY'.
    * Variables are imported - set in ZFKORD10_STUD
    * Import variable w_output_type from memory
       clear: w_output_type.
       IMPORT w_output_type FROM MEMORY ID 'ZOUTPUT_TYPE'.
       move 'B' to  l_atype.      "Business e-mail
       if w_output_type = 'EMAIL'. "Email option chosen
         c_finaa-nacha = 'I'.
         c_finaa-tdfaxuser = sy-uname.
          c_finaa-namep = w_mailtxt.
    * Get the Relevant e-mail address
         move I_KNA1-KUNNR to w_kunnr.
         clear: l_addressdtls, c_finaa-intad.
         call function 'Z_GET_CUSTOMER_ADDRESS'
              EXPORTING
                   kunnr                   = w_kunnr
                   atype                   = l_atype  "B Business H Home
              IMPORTING
                   addressdtls             = l_addressdtls
              EXCEPTIONS
                   invalid_customer_number = 1
                   no_customer_partner     = 2
                   invalid_address_type    = 3
                   others                  = 4.
         if sy-subrc eq 0.
           if l_atype = 'H'.  "Home e-mail address
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-home_email.
           else.
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-business_email.
           endif.
         endif.
         concatenate i_kna1-kunnr
                     'Account statement from City University'
                      into c_itcpo-tdtitle separated by space.
         c_itcpo-tdfaxuser = sy-uname.
         if ( c_finaa-intad is initial            " No email address
              and c_itcpo-tdpreview is initial ). " and not print preview
           c_finaa-nacha = '1'.        "Print output type
           c_itcpo-tdgetotf = 'X'.     "Do not print
           c_itcpo-tdpreview = space.  "No print preview
           c_itcpo-tdnoprev = 'X'.     "No print preview
         endif.
       endif.
    if w_ktokd = 'stud'.
        move 'H' to  l_atype.      "Business e-mail
       if w_output_type = 'EMAIL'. "Email option chosen
         c_finaa-nacha = 'I'.
         c_finaa-tdfaxuser = sy-uname.
         c_finaa-namep = w_mailtxt.
      "Get the Relevant e-mail address
         move I_KNA1-KUNNR to w_kunnr.
         clear: l_addressdtls, c_finaa-intad.
         call function 'Z_GET_CUSTOMER_ADDRESS'
              EXPORTING
                   kunnr                   = w_kunnr
                   atype                   = l_atype  "B Business H Home
              IMPORTING
                   addressdtls             = l_addressdtls
              EXCEPTIONS
                   invalid_customer_number = 1
                   no_customer_partner     = 2
                   invalid_address_type    = 3
                   others                  = 4.
         if sy-subrc eq 0.
           if l_atype = 'H'.  "Home e-mail address
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-home_email.
           else.
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-business_email.
           endif.
         endif.
         concatenate i_kna1-kunnr
                     'Account statement from City University'
                      into c_itcpo-tdtitle separated by space.
         c_itcpo-tdfaxuser = sy-uname.
         if ( c_finaa-intad is initial            " No email address
              and c_itcpo-tdpreview is initial ). " and not print preview
           c_finaa-nacha = '1'.        "Print output type
           c_itcpo-tdgetotf = 'X'.     "Do not print
           c_itcpo-tdpreview = space.  "No print preview
           c_itcpo-tdnoprev = 'X'.     "No print preview
         endif.
    endif.
    endif.

  • Customer Master - Internet Email Address

    Can anyone advise the following?
    I am trying to send output for 'BA00' Order Confirmation via email based on the Sold-to party in IDES.   But i couldn't find the email address field in the customer master, general view.  Is there some settings somewhere missed?
    Currently in SCOT, i can only see transmiemail addressing to a IDES email account.
    Thanks
    Peter

    Hi
    Scroll down you can find
    In customer master, general data in that communication area where u can find Email address
    regards
    sar
    Edited by: datla Sarves on Jun 13, 2008 9:25 AM
    Edited by: datla Sarves on Jun 13, 2008 9:27 AM

  • Reg:Email id storage in customer master

    Hai,
    In customer master in which table and firel the email id value is storing

    Hi Ravi,
    Please follow below steps to creat Mail id in XD02.
    1) Go to-> XD02
    2) Give the Customer Number Enter it.
    3) Click on Address tab and find the other communication push button and click it.
    4)  Popup window will be open to maintain the Mail id.
    Given Email Address will be stored in the table ADR6 table field name is SMTP_ADDR.
    i hope Above information will be helpful to you
    Regards,
    Raghava.

  • Send email for approval before update of customer master

    i have to update the customer master XD02 or FD02 and then i have to sent mail to an external system for approval .How to send this mail while saving the transaction XD02 or FD02 is there any Badi or exit by which i can add this functionality.please suggest .
    Thanks in advance.

    Hi,
    Just activate SQL Trace before u run your transaction. After running the transaction you can check the log in sql trace. There u can find if any BADI or Exits are called.
    Regards,
    Renjith Michael.

  • Problem in  creation of Customer Master

    Hi gurus,
    I am facing problem in creation of customer master.
    I have created a account group zz01 copying from 0001.which has internal no. assignement for the customer.
    Now i am trying to create a customer master, at partner functions level under sales area data...  the system is asking for the no. for each partner functions.. when i tried to manually enter, the system is not taking any number nor it is letting me save the data.
    Please help me out in acertaining,  what could be the issue.
    regards
    Gupta
    [email protected]

    its due to the number ranges that is specified in the partner determination ... chech what is the number range assigned in the parner determination ,,, so once u check that u have to manually enter the number between that range only .. this should solve ur problem...
    path to check the number range is as below :
    spro-img-logistic generalbusiness partner-customers---define account groups and field selection ---    
    at this point click position button at the bottom and give ur account group .. select ur account group and click detail button .. now inside that u can see the specified number range .. dafault is 08 ( means u can specify between 400000 to 499999)..
    and some times  u may not have defined number range... check urs and create accordingly ... this should solve ur problem...
    rewards if solved ..
      thank you
    madhan

  • Sales order confirmation to the customer through email

    Hi
    I have configured output type z101 for sales document.Here I selected transmission medium 5 for 'External Send' . After that I completed output determination procedure as same steps and  testing purpose I opened VA02 and goto Extras> ouput>Header>Edit>
    here I entered ouput type  ,medium 5(External Send),partner,language.
    My issue is
    Whenever I created(saved) the sales order  then immediately order confirmation goes to the customer emailid. customer email maintained in customer master(xd01).
    Please inform the  what are the required settings using SCOT Transaction.  This is the urgent need.
    Regards,
    Ravi

    Please have a look at the note 455140.
    Also look at the following weblog.
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    Message was edited by: Vinod C

  • SD billing documents send to Customer though EMAIL.

    Dear All,
    We want to send SD Billing documents to Customers through EMAIL. For that we have created new output type ZMAL and done the determination procedure for output type. Also we have maintained Customer Codes with Sales Org. in VV31. But when we raise the Invoice, output type should be come automatically (ZMAL) but it's won't come.
    Please guide us what Config/Setting is missing or provide us all steps to be follow, so we can check and make correction.
    Please help.
    Thanks
    Prashant

    Hi,
    In Configuration of Output type maintain in the Default values tab
    Dispatch time 4
    Transmission Medium 5
    Partner Function CP
    Communication strategy CS01
    Another option might be to maintain Contact Person(s) for the Customer and enable the form for that Partner.
    Maintain customer as the contact person and email address in General data of customer master.Also trigger the partner during the Billing.
    Also ensure that the output type will be triggered automatically once it is released to accounting.There is a routine in O/P determination procedure.
    Regards,

  • Creation of extra field in customer master.

    Hi All,
    I have a requirement where i need to create one extra field.
    We intend to capture taluka for each distributor. This will give us micro level detail. We can start analyzing sale at taluka level.Therefore we believe this additional field will be important.
    Kindly provide your valuable solutions to achieve this.Thanks in advance.
    Thanks,
    Pavan.

    Hi Pavan,
    Rather adding an Extra Field(if your requirement "Taluka" is only for information or statical purpose) you can go with charecterstics and classification.
    In my Client Business, the requirement was to add the " Sales Group's" mobile number and Email id in customer master, so that they can a have report where they easily findout the phone number and mail id for the each sales group. so i have acheived this through Charecterstics.
    Screenshot for your Reference:
    This would be also an option.
    Regards
    Kamal

  • Using RFBIDE00   -  How to update street 4 of Address on customer master

    Hi ,
    I am creating customer master records (sold-to Bill-to , ship-to & Payer) based on data from a flat file using direct input program RFBIDE00. I have to update the street address 2, 3 and 4 of Address. I am not able to figure out how to populate this data using RFBIDE00 program. What I read so far makes me believe that it can not be done using direct input program as this is part of central address management which is in str_suppl? fields of ARDC table. Is that right ? If yes , What BAPI/FM I can use to update the street address. Your expert help &  guidance is appreciated. Please advise. Thanks. Raghu.

    Hi Raghu,
    I don't know, if you still have this problem, but if you still have this problem...you can do one more thing apart from central address management update suggested by SAP. You can copy standard program into Z program and modify the sub routine for 111 screen:
    FORM D0111_FUELLEN.
    In the above subroutine, check any one of street 2, 3 or 4 customer address fields are not initial and if so, then add this code after appending 111 screen to FT internal table which already exists...this code will expand more fields option in screen 111.
      IF NOT BIADDR2-STR_SUPPL3 IS INITIAL.
        CLEAR FT.
        FT-FNAM = 'BDC_OKCODE'.
        FT-FVAL = '=$2OC'.
        APPEND FT.
      ENDIF.
    After this code,  in the existing subroutine,
    PERFORM D0111_FUELLEN_ZAV USING 'KNA1'.
    or new sub routine you need to include code for adding extra fields to the FT internal table as
      IF NOT BIADDR2-STR_SUPPL3 IS INITIAL.
        CLEAR FT.
        FT-PROGRAM  = 'SAPMF02D'.
        FT-DYNPRO   = '0111'.
        FT-DYNBEGIN = 'X'.
        APPEND FT.
        CLEAR FT.
        FT-FNAM = 'BDC_OKCODE'.
        FT-FVAL = '/00'.
        APPEND FT.
        PERFORM D0111_FUELLEN_ZAV USING 'KNA1'.
        FT-FNAM = 'ADDR1_DATA-STR_SUPPL3'.
        FT-FVAL = BIADDR2-STR_SUPPL3.
        APPEND FT.
      ENDIF.
    This code will work fine as long as you make changes correctly as mentioned. If you don't understand above code or if you need more information contact me at [email protected].believe me this code worked fine for me
    Hope this will help you.
    Good luck!
    Regards,
    Vivek

  • R/3 to CRM Customer Master Replication

    Hi All,
    Iam working on CRM 4.0 with R/3 as backend system.
    I have some custom fields in KNA1 table in R/3. Those fields are not there at transaction level. I have appended them to a table directly.
    If there is any change to the standard fields to Customer Master that will be automatically replicated to CRM through standard BDOC.
    The custom field changes are not getting replicated. what I have to do in order to replicate them to CRM?
    Could some one help me out with this pls?
    Thank You,
    Gajendra.

    Hi,
    can u send the same document to my mail ID. i will ensure the reward points.
    ID : [email protected]
    regards,
    Chandra.

  • Report Viewer Webpart is Blank in Custom Master Page

    Dear Experts ,
    Recently my team created a new master page to replace seattle default page in Sharepoint 2013. Things were fine till the moment we accessed one of site page containing a Report Viewer Web Part to load SSRS rdl. The web part is blank
    with just standard SSRS toolbar and parameter. To isolate the problem, I have confirmed that the same page works fine in seattle master. I notice that something could be missing in our site (though I am clueless on what those are). There is one post online
    from someone with potentially similar issue, but it does not help in our case. Some pointers from will be appreciated. Cheers.
    http://blogs.msdn.com/b/selvar/archive/2013/11/28/using-reporting-service-web-part-with-sharepoint-custom-master-pages.aspx

    Hi,
    Please try to add AsyncPostBackTimeout="0" inside the ScriptManager code in your master page.
    <asp:scriptmanager id="ScriptManager" runat="server" enablepagemethods="false" enablepartialrendering="true" enablescriptglobalization="false" asyncpostbacktimeout="0" enablescriptlocalization="true" />
    If the issue still exists, I suggest you provide some error messages or code for further research.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Customer statement email.

    Hi All,
      I have requirement need to send customer statement as email. I am running it from f.27  and attached correspondense.
      I would like send an email of customer statement. Any user exit to do the same? Can any one did the same please let me know?
      its very urgent.. reward points for right solution..
    thx

    I am trying to run a transaction f.27 (customer statement) to be able to run a customer statement run that can be emailed to the customer (email address in the customer master).
    I used the same step as above - BTE - 2310 and attached this to the new funtional module
    The steps I have followed allready are
    1. Copied a fucntional module
    2. Assigned the functional module
    3. Got abap programmer to activate sap connect.
    It partially worked as it gave me the output on my screen which was a statement log and this was able to be emailed to the email address in the customer master.
    Do you think it is due to the report not functioning properly in the first place as it is only showing the log when I run the report itself?
    Many thanks for your help on this.
    Sanjay

Maybe you are looking for

  • Error occured in accounting message - Controlling cockpit

    Hi All, I have an item / Cproject and a project in PS linked to it. After the role requirement is done, system gives following messages in the PPM system. Error occurred in accounting - check the costing in the ERP system  Display Help Maintain an ac

  • ISE access custom-web templates directly

    Hey guys, I am having trouble with a ISE (1.2 patch5) at a customers site when deploying customized html pages for wireless guest-access. The reason we need to use these customized templates is that the language template for the AUP seems not to supp

  • Where has to be defined the SLD? PI/XI or Solution Manager?

    Hello, We have a PI production system, already configured and working. Now we are implementing the solution manager system. In both cases we only have productive systems. In which one should we define the SLD? Thanks and kind regards, Ana

  • Creating Transient Attributes when query is in Expert Mode

    I wanted to share a recent challenge I encountered. I had created a transient attribute in my View Object and placed it on my .jspx page. When I would navigate to the page I would receive an error telling me, "oracle.jbo.AttributeLoadException: JBO-2

  • Custom Tag in JSF Data Table

    I would like to do the equivalent of a custom tag within a JSF data table. How is this done? Custom tags don't seem to work within a JSF data table.