Contact Person Standard address data disappears on enter(first time)BP_CONT

Hi,
During the quick create contact person creation (via accounts), based on client requirements the screen setting has been changed. (UI Configuration).
BP_CONT/ContactQuickCreateEF
So we have data displayed from 2 context nodes.
1. BUILHEADER
2. BUILCNTSTDADDRESS
We have done the enhancement for this view so get the bespoke field called Dept.No, and to provide dropdown.
Now when we enter the data for the first time, and press enter, all the data entered in BUILCNTSTDADDRESS disappears.
However after first time, the data stays back on the screen (works normally).
But, if we dont press enter, and simply press the back button, the data gets properly saved.
Do anyone have any idea what is causing this to fail for the first time.
I bebugged for few hours to find that super class CL_BP_CONT_CONTACTQUICKCR_IMPL got a method called CHECK_DATA_WAS_CHANGED. This gets triggered which calls the onsumbitonenter twice.
I also tried bypassing the enhancement via user parameter and this works fine.
Any idea what is causing this?

So, Rakesh, here you go:
We've needed to enhance method IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTIES of CL_BSP_WD_MIXED_NODE class in such way:
method IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTIES .
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$:(1):CL_BSP_WD_MIXED_NODE:IF_BOL_BO_PROPERTY_ACCESS:GET_PROPERTIES:END                                                                 A
*$*$-Start: (1)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1  ZGET_MIXED_PROPERTIES.    "active version
"Getting model's attributes
"if SAP still didn't do this
DATA: lcl_struc TYPE REF TO cl_abap_structdescr,
       lv_struc_name TYPE abap_abstypename.
IF es_attributes IS INITIAL.
   lcl_struc ?= cl_abap_structdescr=>describe_by_data( ES_ATTRIBUTES ).
   IF lcl_struc IS BOUND.
     lv_struc_name = lcl_struc->absolute_name.
     IF lv_struc_name CS 'CRMST_ADDRESS_BUIL'. "do this only for addresses just for now
       ME->MODEL_NODE->GET_PROPERTIES(  IMPORTING es_attributes = ES_ATTRIBUTES ).
     ENDIF.
   ENDIF.
ENDIF.
ENDENHANCEMENT.
*$*$-End:   (1)---------------------------------------------------------------------------------$*$*
endmethod.

Similar Messages

  • Contact Person Business Address (VAP2) Street disappears inspite of manual

    Hi,
    We are facing a problem in the contact person Business Address street update (Transaction VAP2).
    1. We are manually entering Street and house number in
        Business Address screen using VAP2.
    2. Then System concatenates House number and Street and  
        puts it in Street address.
    3. Then the street address moves one character right side
        leaving space on the left side.
    4. It removes the address-street bit by bit on right side and 
        will remove the whole adddress.
    Not sure what is causing it to happen.If you encountered this problem or have any solution , please reply me .
    Thanks in advance,
    Mallik.

    Hi Markus,
    Can you help me how did you manage to resolve this ?
    Best Regards,
    Aakriti

  • BADI to update contact person relationshiop address.

    Hi,
    I have a requirement where I need to copy the Business Partner standard address into the Contact Person Relationship Address.
    This need to happen whenever a Contact Person Relationship is created .Is there any relevant badi for the same? I have tried using the badi PARTNER_UPDATE as this gets called every time the BP gets saved.But I found that in the standard documentation for this badi, any custom implementation is not recommended.
    I tried using the ADDRESS_UPDATE badi as well but it is not getting invoked when adding a new contact person relationship.
    Should I use transaction BUS7 here and assign a function module to the events DSAVC or DSAVE?
    Please let me know the right approach of doing this.
    Thanks,
    Samrat.

    Hi Samrat,
    In this case, you can also try to create a trigger on the save of the address of the BP. Maybe the logi can be as follws :
    If the address is a standard address, then copy it to the Contact Person also.
    For this, implement the ADDRESS_UPDATE BADI. It will give you the complete address content. If you now need any BP data or relationship data, you can make use of the CALLBACK modules -
    BUPA_ADDR_CALLBACK
    BUPA_BUT050_CALLBACK             
    BUPA_BUT051_CALLBACK    
    BUPA_BUT052_CALLBACK    
    BUPA_BUT053_CALLBACK    
    Now that you have all available data, you can go ahead and save it to the contact person. Do the database updates in UPDATE TASK.
    Also, it is just a recommendation to avoid custom implmentations for PARTNER_UPDATE. Lots of customers implement this BADI accoding to their business requirements.
    Hope this helps.
    Cheers,
    Rishu.

  • Contact person Rel.ship Data not getting updated in B2B Web User Mngt

    Hi CRM Gurus,
    Need some help on Web User Management functionality.
    Sub: Contact person Relationship data not getting updated when we change the company (to wich contact person belong to) in ISA CRM 5.0 Web User Management.
    we are currently on CRM ISA 5.0 and using Web User Managment for our B2B scenario. New creation of users is working fine. But when we want to change the company (Sold to pary) for the existing contact person, the relationship data in CRM is not getting updated and the below are the details.
    Contact person No: XXXX (has a Relationship: "Is contac person for YYYY company in CRM)
    Company/Sold to Party: YYYY (has a relationship "Has contact person XXXX in CRM).
    When I chage the contact person's (XXXX) company  from  YYYY to ZZZZ,
    - Relationships of the new assignment for ZZZZ in CRM not getting updated.
    - Old Records in YYYY is not getting deleted (i.e. relationships.
    - There is No relationship data appear in XXXX.
    Appreciate any inputs on the same.
    Thanks,
    Rahul >>>

    Hi Rahul,
    I'd suggest you running a session trace / ABAP debugging to see if some information is not getting passed from the Java stack onto the ABAP stack. An alternate move would be to create a new OSS customer message.
    Cheers,
    Ashok.

  • Does Roaming data syncs for the first time when app data are in download and installation process?

    Hi,
    I will store user Id in "HighPriority" Roaming data. When user will install app in another computer (with the same Microsoft Account), app will get user Id from Roaming data. Then I can implement all data sync over my cloud service.
    There are 2 scenarios:
    1. User downloads and installs app in another computer, but roaming data syncs/downloads for the first time only after several minutes -
    It's bad for my app :(
    2. User downloads and installs app in another computer and roaming data syncs/downloads at the same time (then I can get user Id immediately)
    - Its great for my app :)
    Which scenario is real in practice?
    Does Roaming data syncs for the first time when app data are in download and installation process?

    Umm no not that i remember. It just randomly started happening. I reformatted the hard drive for mac (journaled) but it was working fine since i did it until now

  • How to modify the contact persons company address changes

    Hi Friends,
    My requirement is i want to update the address of the contact person in relationships. Actually when we are maintaining the relationships it is automatically taking the Accounts address in company address field but i wants to maintain the different address for each contact person related to the particular account for that i used Bapi_bupa_contp_addr_change functions module as well as Bapi Transaction Commit also but it is not helpful.
           I want to change the contact persons address as per flat file, so please let me is there any fuction module for changing the address of a contactt person in relationships.
    Regards
    Kumar

    Hi Kumar,
    could you solution this issue?
    I use this FM, I cna Insert new telephones por relationship but, I can't delete and update.
    Can U help me? my code:
    data : i_bapiadtel like BAPIADTEL occurs 0 with header line,
           i_bapiadtel_x like BAPIADTELX occurs 0 with header line,
           i_return LIKE bapiret2 OCCURS 0 with header line.
    i_bapiadtel-telephone = '937102020'.
    i_bapiadtel-std_no = 'X'.
    APPEND i_bapiadtel.
    i_bapiadtel_x-telephone = 'X'.
    i_bapiadtel_x-std_no = 'X'.
    i_bapiadtel_x-updateflag = 'D'.
    APPEND i_bapiadtel_x.
    CALL FUNCTION 'BAPI_BUPR_CONTP_ADDR_CHANGE'
      EXPORTING
        businesspartner = '0020034745'
        contactperson   = '0090004124'
      TABLES
        bapiadtel       = i_bapiadtel
        bapiadtel_x     = i_bapiadtel_x
        return          = i_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    Thanks in advance.
    Sergio

  • Contact Person Business Address

    We have a requirement from our business users to have the business address of the contact person (which is maintained in R/3) available in CRM.  CRM only supports the Home Address and not the Business Address.  Has any one else had this requirement and, if so, what did you do to enable this?

    Hi, we have the same requirement!
    have you found any answers?
    Thanx,
    Best Regards,
    Cem

  • Contact Person Email Address Update

    Hi Experts,
    May we know where in the SRM Portal we can see the relationship of a contact person to a vendor.
    Thanks,
    Abi

    the best way to do this is log in to the SAP GUI of SRM system
    use Transaction BP - type in the BP number for the vendor and then go to contact person
    you can see the same in the Portal ("Settings" tab/link) -> Business Partners
    (you can only see this Settings link- if you have the appropiate access rights)
    thanks
    -Adrivit

  • HT2693 unable to restore contacts from backup in iTunes.. how do i find out where the contacts are when it took the backup the first time?

    Please help me restore my contacts from the backup in my laptop. When i took the backup  the first time, i dont know where it took the backup. After that i tried restoring the contacts back  to my iPhone, but was unable to. What can i do to findout where did the contacts go in my laptop? Please help asap.

    Unfortunately, you have posted in the wrong community. However, I am not quite sure which community you should be posting in. Do you use iCloud for your contacts.

  • Why does it keep asking me to contact iTunes for assistance? I'm a first time iTunes user

    As listed, first time using iTunes. When I try to log in on my Mac or iPad mini it kept bringing me to the credit card page and i filled everything correctly, yet it kept asking me to contact iTunes for assistance

    We are fellow users here on these forums, we won't know why you are getting the message. You can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then try selecting Purchases, Billing & Redemption

  • Using Bulk Scenario to Capture Data from Source for First time

    Hi,
    I need to setup ODI for a table between two Database. Genereally, I follow practice of importing oracle  dump of table into target database for the first time before delta capture preocess starts. However, this time there is space constraint at source system & we can not create the oracle dump as it will result into 120-130 GB.
    Is it possible to import these one time data into target Database via ODI Bulk Schenario. Does ODI have any timeouts set at the database connetion as this will take long running session to copy across such a huge data. Will it cause any time outs at Database.
    Please suggest.
    Thanks.

    Hi All,
    Thanks a lot for your responses. Moving ahead and trying out different things, i figured out that the EPMA/Planning had to be on the same machine as the ERPI. After installing EPMA/Planning on the same machine, the ERPI target application registration page started displaying all the applications created using the EPMA and i also successfully registered my target planning application with ERPI. But you know life is not that fair, right after the resolution of this problem, another problem appeared :(. While registering the target planning application, EPMA was by default selected as the Metadata Load method and i selected FDM as the data load method.
    After registering the application, i happily started adding the metadata rule as instructed in the knowledge document 951369.1 (Thanks user735469 for the reference), but when i clicked on the Add Dimension button, the next page gave an error stating There are no more dimensions remaining to be mapped under this application. and the dimensions drop down under the target application area was empty.
    According to this link http://download.oracle.com/docs/cd/E12825_01/epm.111/readme/fdm_11113_readme.html , this error can be fixed by clicking on the refresh button but i couldnt find a refresh button on the entire page. I tried refreshing the browser but to vain. I also downloaded and applied latest ERPI patch but still no positive results.
    Any idea why is this happening ?
    Desperately waiting for your help. :(
    Thanks & Regards,
    Muhammad Jamshaid Nawaz

  • Augh! Half the contacts in my Address Book disappeared!

    Dear Folks,
    I just upgraded my laptop from OS 10.4.11 to 10.6.3. I launched Address Book this morning and fully HALF of the contact information has disappeared. That's something like 300 address "cards" just vanished.
    What happened?!?! If I can't recover these from within Snow Leopard, which would be best, can you folks tell me the names and paths for the files that Address Book uses to store the 'cards?' I have my pre-Snow Leopard backup and I can go to it to retrieve those files.
    Worst case scenario is that I have to reboot into Tiger from an external drive, pull in those old contact files, and manually re-enter that information into Snow Leopard's address book. Hopefully, there's a better way. But regardless, I need to get that contact info back.
    HELP!
    pax / Ctein

    Dear Macnewbie and Barney,
    Thank you very much! Wiping out everything in the AddressBook folder except for addressBook.data did the trick. The app regenerated my complete contact list-- didn't even have to resort to my backups.
    BTW, Barney, Macnoob got the 'solved' credit because I didn't realize I could credit only one of you and I checked off his message first. It was my intent to give both of your credits-- apparently, not allowed.
    As an aside, here's a nice little trick when you want to preserve files while preventing an app from accessing them. Compress them with the Finder. That converts them to a zip file that the app can't use, and you can delete the originals without irreversibly losing the data.
    It's a trick I started using on PC's, where there can be "path" instructions that let applications access data file in all sort of places you'd not expect. After chasing my tail on a few projects where I thought I'd copied data to an inaccessible location and hadn't, I started doing this.
    Anyway, thanks again.
    pax / Ctein

  • Edit JTable Date Cell, press Enter, the Time Cell changes to GMT time!

    Has anyone seen this strange behavior? I try to edit a Date Cell in JTable (orig. value 10/02/2000) and change it to (10/03/2000), I press Enter. But, the value of my Time Cell in the next column, same row which I never edited (orig. value 00:05:00) changes to approximately my system time in GMT (16:28:48).
    This is an excerpt from my TableModel which get called from setValueAt():1734 javax.swing.JTable, JTable.java. In the code below, the debug statement prints out:
    row, col = 0,0
    Value in SubTableModel = 10-02-2000 16:28:48
    Value should be "10-02-2000" since I did not edit the time cell at all. And why is row and col both zero?
    public void setValueAt(Object value, int row, int col) {
    try {
    ((ITableCellAdapter)adapters.get(col)).setData(getRow(row),col);
    System.out.println("row, col = " + row + col);
    System.out.println("Value in SubTableModel = " + value.toString());
    ((ITableCellAdapter)adapters.get(col)).setValue(value);
    catch (PropertyVetoException badSet) {
    System.out.println("could not set value");
    fireTableCellUpdated(row,col);
    How can I force it to set the date cell's new value only and leave the time cell alone?
    I've also seen that sometimes my date entry gets lost, the old value still showing, what am I doing wrong? I've seen a bunch of bug parade listings about terminating edits within a JTable being buggy, is this related?
    Any help on this is most appreciated!

    Did you find the solution to yuor problem?
    Has anyone seen this strange behavior? I try to edit
    a Date Cell in JTable (orig. value 10/02/2000) and
    change it to (10/03/2000), I press Enter. But, the
    value of my Time Cell in the next column, same row
    which I never edited (orig. value 00:05:00) changes to
    approximately my system time in GMT (16:28:48).
    This is an excerpt from my TableModel which get called
    from setValueAt():1734 javax.swing.JTable,
    JTable.java. In the code below, the debug statement
    prints out:
    row, col = 0,0
    Value in SubTableModel = 10-02-2000 16:28:48
    Value should be "10-02-2000" since I did not edit the
    time cell at all. And why is row and col both zero?
    public void setValueAt(Object value, int row, int
    nt col) {
    try {
    ((ITableCellAdapter)adapters.get(col)).setData(getRow(
    ow),col);
    System.out.println("row, col = " + row +
    + row + col);
    System.out.println("Value in SubTableModel = "
    del = " + value.toString());
    ((ITableCellAdapter)adapters.get(col)).setValue(value)
    catch (PropertyVetoException badSet) {
    System.out.println("could not set value");
    fireTableCellUpdated(row,col);
    How can I force it to set the date cell's new value
    only and leave the time cell alone?
    I've also seen that sometimes my date entry gets lost,
    the old value still showing, what am I doing wrong?
    I've seen a bunch of bug parade listings about
    terminating edits within a JTable being buggy, is
    this related?
    Any help on this is most appreciated!

  • How to change/delete iCloud address, created with typo the first time

    How can I change or delete this, I had a typo when creating this originally and am unable to find a solution.  I understand that an alias can be created, but I would rather just start over.
    I do not use the @me account as a primary apple account, I have a comcast account for that.  The reason this came up is when I wanted to sync notes with iCould, it forced me to create this, then I had a type and was unable to change it since then.

    Unfortunately, you cannot change your .me address once you have created it. The only thing that you can do is use an alias, or create a new Apple ID using the .me address of your choice.

  • How to birng the data in data sources for the first time

    Dear Gurus,
    For the Personnel Development (0PAPD) i installed the datasoures  0HR_PA_PD_1, 0HR_PA_PD_2 from ECC and  checked in RSA3 I found 0 records.
    My question is any configuration should be done to bring the data into datasources. But in ECC there module is implemented and gone live long back ago, they are telling data is there in tables also.
    Regards,
    Kiran

    Hi Kiran,
    Please check with your HR functional consultant, whether the HR records are created with BW relevant infotype selected. For records to available in BW they have to maintain some infotype.
    Regards,
    Kams

Maybe you are looking for

  • T-code CS03 in ITS

    Hello All,          I'm facing problems when using t-code CS03 in ITS. 1. When I click on Document item in a BOM, it is not navigating to document in CV03N. the system reacts nothing.... 2. From document tab, I cannot come back to Material and Genera

  • ClassCastException using Subant and wldeploy ant task

    Hi! I'm using subant to call all diffrent build.xml files located in subdirectories. The buildfile looks like this: <project name="extern.call" default="callall">      <target name="callall">           <fileset      id="buildfile.set" dir=".." includ

  • OAF link from Workflow Notification

    We are customizing the Oracle TCA customer screens. We created a workflow that is launched when a new customer is created. Among other things the workflow sends a notification to a set of users indicating that a new customer was created. The requirem

  • Reg Reader in Iphone Safari

    with update ios5 iphone4...is there any change to copy paste the content of reader when we read in safari....we can do copy paste the content only in notes or i there anyother option for that....Like word or pdf.. I wanna copy paste the content of th

  • Is it necessary to shut down computer every night or ever?

    Certain members of our family shut the computer down when they are done using it. I have heard this is not necessary to do; daily or ever? iMac Intel Core Duo   Mac OS X (10.4.6)