Update address-dependent email field on save of BP

We have a requirement to update the address-dependent email field from the address-independent email field upon saving a Business Partner.
I've been working on the 'BUPA_ADDR_UPDATE' BADi but am having no luck with it so far. I have managed to retrieve the data in the address-independent email field using the 'BUPA_CENTRAL_GET_DETAIL' Function Module but as yet have not been able to do the update of the address-dependent email field.
Can anyone offer any guidance please ?
thanks,
Malcolm.

Hi Malcolm,
Try using the BADI : ADDR_UPDATE.
Email is a part of the address management, so you would need an address badi.
BUPA_ADDR_UPDATE is a business partner badi and only has the address reference - such as address number, validity, move date, etc..it will not help in cases where you need to work with address fields such as city, country, email,etc.
Another approach :
Try writing your code in PARTNER_UPDATE badi. This is called after save of BP. So you can probably trigger another update on the BP's address from here..
Hope this helps you.
Cheers,
Rishu.

Similar Messages

  • Android 2.2 update coming in early September- Will it address the email notification issues??

    The upcoming Android 2.2 update for Droid X. Will this update address the email notifications issues?? I don't have a corporate email account, but use my Droid X for my personal business. I love this phone but the email is annoying. The emails are not coming through quick enough, I don't get notified when new email arrives. I have to do a refresh to lear that I have new emails in my inbox.
    I want like to know if the upcoming 2.2 update will address these issues for personal email like aol, yahoo etc. I know they mentioned something about exchange servers being faster. This is a disappointment for me, I thought I have push email with Droid X but not really. Can Verizon comment on this?
    Thanks,

    I did all those, ie. set my email config to push email, battery on performance mode, check my outgoing and incoming servers and ports. All are corect settings, I even configured all my aol accounts with gmail settings to see if that would work but still not getting push emails. I even did a factory reset. I know this is an issue because I also checked Motorola support forums, a lot people were experiencing what I am going except that I think most them have corporate email and exchange issues.
    I don't know whether this could be addressed with the upcoming 2.2 update not just for corporate but personal emails as well, VERIZON ? Motorola??
    Thanks

  • How to update address fields from a different view?

    Hello Everyone,
    I have created a context node(Model Attribute) of standard address fields using BuilAddress in a view that doesn't have it and successfully displayed them. This is contacts view where the original address of the contact is not available. Now our requirement is to update the standard address if needed from the contacts view itself. How can I do this?  The address fields are available for display only, even if I want to update them using code based on some condtions if not manual entry how can I achieve that?
    Did anyone ever use CRM_BP_UIU_SAVE Badi? I see no posts related to this in forum. Can anyone give me a sample code on what can be done in here and what data of BP is accessible in this BADI and how?
    Thanks,
    Sunil

    Hi Murali,
    Are you sure I can update the address fields using BAPI's from WEBUI? I have tried this already and the BAPI or Function just woudn't call, always return with error message.   I was thinking that BAPI's and Functions for updating just wouldn't work from WEBUI.
    To give you more details, I am in the BP_DATA/AccountContactEF view. I added the context node Address and brought in all the fields from BUILADDRESS structure, it generated the get, set methods for me. I want to update a couple of fields like telephone info, street, city etc. In this view I just redefined Create_Contact method and I tried to update the address using BUPA_ADDRESS_CHANGE for the contact person and it never works. I also tried BUPA_ADDRESS_REMOVE to delete and add the new address using BUPA_ADDRESS_ADD, but that wouldn't work either.
    So that is why I am exploring the option of using BADI, which I found out is very similar. I was able to access pretty much everything of BP data and Contact data. but there also the functions or Bapi's wont work.
    Let me know if you did anything similar. Also as you mentioned the GET_I method, Context node creation  Wizard generated it for me and I have the field editable, its just that when I save it , it wont save and the old values are read back and populated. Meaning if I have  'NY' for region and I change it to 'CA' , after save 'NY' comes back.
    Thanks for you help.
    Sunil

  • I recently updated my primary email address associated with my Apple ID account. When I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn

    I recently updated my primary email address associated with my Apple ID account.
    Now when I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn't work. I can't figure out how to tell my iPad to login using the updated email address.
    So in effect I'm locked out of the app store and I currently have 26 updates waiting.
    I've tried disconnecting and reconnecting my IPad to iCloud with no luck.. However I cloud happens to show the correct/updated email address.
    Does anyone know how to resolve this?
    Thanks

    Did you change the email for the Apple ID or did you create a new Apple ID? A new Apple ID cannot be used with content that was bought using a different Apple ID.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Defaulting the email address in From field.

    Hi ,
    I am working on requirement to default the email address in from field and populate the eligible emails ID 's as drop down in from field based on some condition. So I need to overwrite the standard emails data that are already coming in from field.Please see the attachment for your reference.
    I did below analysis.
    Component:CRMCMP_CCS_EML
    View:Email header
    Method: DO_PREPRRE_OUTPUT.
    I achieved populating the drop down values..by populating the values in   typed_context->mail->gt_default_from_addresses.
    But my requirement is to default one email based on some condition. So I populated the default value as first entry in the  drop down list box so that it will automatically default.
    It's working as expected if we have personalizing setting for Drop down list as 'Default'.Please see the attachment for your reference. But it's not working if we have settings like 'By Value' and 'By Key'.
    Ex: If I have two emails in GT_DEFAULT_FROM_ADDRESS like .[email protected],CC(First entry Default)[email protected](Second entry). if I use the settings 'Default' it's default with [email protected] if i use other setting it's defaulting with [email protected]
    Could any one has any idea how to handle this..and options that we have in this case.
    Or is there any other field I can default for From Field. (This should work for New ,Reply and Reply all )
    I appreciate your help on this.
    Thanks,
    SaraSAP.

    Hi Sara,
    I believe that selection is controlled by attribute typed_context->mail->GV_SELECTION_FROM.
    So, when you populate the possible entries in typed_context->mail->gt_default_from_addresses, just try to fill your desired default value in mentioned attribute and check if that works.
    Kind regards,
    Garcia

  • Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Yes - well you have to make the file in a word processing Application.
    You could use TextEdit (it's free) Pages (words only), or Numbers (data base) (they are part of iWorks - and may or may not be free (included) on your machine.  You could use MS Office (it is not free) You could use any Open source word processor that plays well with Office (NeoOffice, StarOffice) they are free.
    That's how you create content and copy/paste URLS. Then you save the file to the desktop. If you are going to make more than one file... you make a folder on the desktop and save, or drag the file(s) into it.
    You attach it to your e-mail client which will compress it and e-mail it. An excellent reference is to use Help, from the menu bar, also from inside any application. From your library or book store the OS X for Dummies has a lot of useful information (you don't read it cover to cover but look up chapters about what you'd like to do)
    You can also make appointments at your local Apple store for individualized help (if a store is nearby)

  • How do I sort out 'Apple ID disabled for security reasons' after I had my old Email address and password erased but still showing ?? now I can't access my apple store Apps updates with new email address and password??

    How do I sort out 'Apple ID disabled for security reasons' after I had my old Email address and password erased but still showing ?? now I can't access my apple store Apps updates with new email address and password??

    You might try contacting App Store Support: http://www.apple.com/support/mac/app-store/

  • How to create Oracle Alert without metioning the email address in To Field

    Hi,
    I just wanna know that how to create Oracle Alert without metioning the email address in To Field.
    Please help thanks.

    If you don't enter anything in the email field, the alert email won't go out.
    If you just want to test or if you plan to use the history, you can put a non-existant email there.
    The alert will fire anyway.
    Hope this helps,
    Sandeep Gandhi

  • HT1918 How do you update your rescue email address?

    How do you update your rescue email address?

    Go to https://appleid.apple.com then click on Manage your account. Sign im when prompted. Choose Password and security. Answer the security questions then you should be directed to the page where you can change the questions on your account and the rescue email as well. And your password if you want to. Hope this helps.

  • Tried to update my account email address but was told, "your changes couldn't be saved"

    Tried to update my account email address but was told, "your changes couldn't be saved". How do I tell Adobe that the address they have for me will be closed in a week or so?

    Make sure you have cookies enabled and clear your cache.  If it continues to fail try using a different browser.
    Need to update account info or reset pwd
    Adobe ID, sign-in, and account help -
    http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

  • Please can some one tell me how I can remove an ex boyfriends account from my iPad ? I want it update my updates but his email address always comes up and not mine

    Please can some one tell me how I can remove an ex boyfriends account from my iPad ? I want it update my updates but his email address always comes up and not mine

    Press and hold any of the apps on your iPad's homescreen and after a couple of seconds or so they should start to shake. Then press the 'x' in the top left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. If you don't get the 'x' on any of the apps that you've downloaded then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'.
    Note that deleting an app will delete all of its content as well

  • Adding Multiple Email Addresses in one field

    Dear Staff,
    My staff submit progress reports that include two separate fields:
    Their own email address is requested so the staff member could receive a receipt of their progress report
    The email address of the recepient of the progress report requested, as well.  We would like to include multiple email address in that field because often, multiple individuals need to receive the progress report.
    Is there a work-around to including multiple email addresses or is this something you must accomplish on the development side?

    That is unfortunate but I hope this request catalyzes a remedy for this issue in the future.  Thank you for your swift reply, Randy... well-appreciated.  Happy New Year!

  • BUPA_ADDRESS_CHANGE does not default saved address dependent communication

    Hi,
    I have used the function module to update the address dependent communication details. Although I managed to save the changes, I am unable to default the communication details properly.
    CALL FUNCTION 'BUPA_ADDRESS_CHANGE'
        EXPORTING
          iv_partner         = p_bpnum
          iv_addrnumber      = p_addnum
          iv_accept_error    = 'X'
          iv_x_save          = 'X'
          iv_change_bas      = 'X'
          iv_check_address   = 'X'
        TABLES
          it_adtel           = p_t_update_tel
          it_adfax           = p_t_update_fax
          it_adsmtp          = p_t_update_email
          it_comrem          = p_et_comrem_upd
          it_addr_comm_use   = p_et_addr_comm_use
          it_adtel_x         = p_t_update_tel_x
          it_adfax_x         = p_t_update_fax_x
          it_adsmt_x         = p_t_update_email_x
          it_comre_x         = p_it_comre_upd_x
          it_addr_comm_use_x = p_it_addr_comm_use_x
          et_return          = et_return.
    For example, if i update telephone number, It doesn't set the fields std_no to 'X' and r_3_user to '1'.
    Please advise.
    Thanks in advance,
    Jenson

    Jenson,
    Those fields must be provided to the BUPA_ADDRESS_CHANGE function module.  This function module does not provide any defaults of information and is at a very low level in comparison to the maintenance screens which call the module.
    Take care,
    Stephen

  • Update address-independent telehpone of BP

    Hi all,
    We need to change address-independent telephone numbers of business partner.
    When such record already exists (telephone numbers are maintained), this can be done using function module 'BAPI_BUPA_CENTRAL_CHANGE' with TELEFONDATANONADDRESS.
    However, when address-independent telephone record does not exist (all telephone numbers are empty) - BAPI return warning 'BAPIADTEL was not found' and BP is not updated.
    We have found out that address-dependent data is updated with two separate functions: 'BAPI_BUPA_ADDRESS_ADD' and 'BAPI_BUPA_ADDRESS_CHANGE', but we have not been able to find out similar ADD function for address-independent records.
    Does anyone know how to update address-independent records (telephone, in this case) via ADD method?

    Hi Ujwal,
    I dont have a ready code right now.
    Firstly, the module BUPA_CENTRAL_GET_DETAIL can be used to get all the details of the address independent communications.
    Later for delete:
    BUPA_CENTRAL_CHANGE : For example say telephone data has to be filled.
    The corrsponding cons number has to be filled in 'IT_ADTEL_ADDR_IND' and the corresponding flag set in IT_ADTEL_ADDR_IND_X and also the update flag should be set to 'D'. In this way the telephone number can be deleted.
    For restricitng the validity, the corresponding valid from and valid to fields can be updated accordingly in the same way.
    Regards,
    Sudheer.

  • CSOM: Update the IsLockedByManager task field

    Hi,
    I have a request from a Customer: he need to automatically Lock Tasks for Updates, depending on some conditions (mainly based on the "age" of te task. The Customer is hosted in Project Online.
    My idea was to create a task boolean field, with a formula:
    true if the task has to be locked
    false otherwize
    A daily batch written as a C# application will run everynight, and set the IsLockByManager field to true, for the selected task.
    I've written a first proto, and it does not work: it seems that this field cannot updated, even if it is writtable. I tried to update some other tasks field (like IsManual, or IsActive), and for those fields, it works.
    Is this behaviour normal ? Does anybody there already experienced this problem ? I enclose below a part of my code. Thank you for your help.
    Sylvain
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using Microsoft.ProjectServer.Client;
    using Microsoft.SharePoint.Client;
    //using NeosSDI.ProjectOnline.Business;
    namespace NeosSDI.ProjectOnline.CSOM
    public class LockTasks
    static void Main(string[] args)
    ConsoleColor initialColor = Console.ForegroundColor;
    try
    // First, very simple: list Projects, and their tasks
    var projectContext = ProjectCSOMManager.ReadProjects();
    ProjectCSOMManager.LockNonActiveTasks(projectContext.Projects);
    catch (Exception ex)
    Console.WriteLine("Press a key...");
    Console.ReadLine();
    public static ProjectContext ReadProjects()
    try
    projContext = new ProjectContext(PwaPath);
    projContext.ExecutingWebRequest += ClaimsHelper.clientContext_ExecutingWebRequest;
    // Use IncludeWithDefaultProperties to force CSOM to load the Tasks collection, otherwize we have a (very) lazy loading
    // Careful: the Load method does not perform the Load ! It prepare the context before the ExecuteQuery is run.
    projContext.Load(projContext.Projects,
    c => c.Where(p => p.Name == "Project 1").IncludeWithDefaultProperties(pr => pr.StartDate, pr => pr.FinishDate, pr => pr.Tasks));//.Where(t=>t.Name=="Project 2 - T1")));
    // Actual execution of the Load - AFter this method, the Projects collection contains data, and the properties which are specified below.
    projContext.ExecuteQuery();
    catch (Exception ex)
    throw ex;
    return projContext;
    public static void LockNonActiveTasks(ProjectCollection projects)
    foreach (var p in projects)
    if (!p.IsCheckedOut)
    DraftProject dp = p.CheckOut();
    projContext.Load(dp.Tasks, dt => dt.IncludeWithDefaultProperties(lt => lt.Name));
    projContext.ExecuteQuery();
    foreach (var t in dp.Tasks)
    // With IsActive, it works
    // t.IsActive = false;
    // With IsLockedByManager, it doesn't work
    t.IsLockedByManager = true;
    // Récup le job qui sort d'Update
    var job = dp.Update();
    var js = projContext.WaitForQueue(job, 10);
    job = dp.Publish(true);
    js = projContext.WaitForQueue(job, 10);
    projContext.ExecuteQuery();

    Hi,
    To give an update of this question, I managed this problem differently: the
    IsLockedByManager field has really no effect on the task. For DraftTask, this field is writtable, but the change is not taken into account, and not saved (bug or undiscovered function)...
    Instead of a batch, I created a macro in Project Pro: on the Save event, the macro tests the status of a custom field.
    Depending of this field, I update the Publish field of the task. The macro is integrated in the Entreprise Global, to make its deployment easy for all the users.
    This macro is based on a post at this adress: thanks to its author :)
    http://www.applepark.co.uk/automatically-setting-the-task-publish-field-to-no/
    Private Sub Project_BeforeSave(ByVal pj As Project)
    SetPublishField
    End Sub
    Sub SetPublishField()
    Dim Temp As Long
    Dim Tsk As Task
    Dim TaskField As Long
    Dim IsTaskToLock As String
    For Each Tsk In ActiveProject.Tasks
    ' check to see if a task exists
    If Not Tsk Is Nothing Then
    ' check to see if the task is external or a summary
    If Not (Tsk.ExternalTask Or Tsk.Summary) Then
    TaskField = FieldNameToFieldConstant("MY LOCK FIELD", pjTask)
    IsTaskToLock = Tsk.GetField(TaskField)
    If IsTaskToLock = "Oui" Then
    Tsk.IsPublished = False
    Else
    Tsk.IsPublished = True
    End If
    End If
    End If
    Next Tsk
    End Sub

Maybe you are looking for

  • F110 - automatic payment

    Hi, Is there a way of comparing "parameter" posting date with system date, in tr. F110, to forbid or not running  automatic payment? Thanks.

  • How can I make my guardians buy me an iPhone 5?

    Hey, Apple forum people. Maybe you guys can help me with my problem/question today? Well, I am thirteen years of age, and I'm very addicted to Apple products (I currently have a iPod touch and iPad) Now, my birthday is in November, and I will be 14 y

  • Acrobat 9 Distiller Problems

    Hi, New to the forum - hopefully someone can help me out. Specs first - Quark 8.12, Suitcase Fusion 13.2.1, Acrobat Distiller 9.1.0, Mac OSX 10.5.8. When I create pdfs from Quark etc. - I print them through the print dialogue box (using the acrobat P

  • Questions concerning Nested Classes

    Hi! Just read some articles about nested classes (include the ones from the Java Tutorial and the Effective Java chapter), and while most of it is perfectly clear, three questions remain: 1.) When I declare a member class, how should I declare the ac

  • Pages show differently in FF 3.5.3 and IE 7

    Hi, Since the first ever DW, I haven't had too much trouble with the different displays of a site by FF and IE however ... I have a client who wants everything to be exact in both browsers and I am having great difficulty achieving this. I understand