Business Partner records with large numbers of addresses -- Move-in issue

Friends,
Our recent CCS implementation (ECC6.0ehp3 & CRM2007) included the creation of some Business Partner records with large numbers of addresses.  Most of these are associated with housing authorities, large developers and large apartment complex owners.  Some of the Business Partners have over 1000 address records and one particular BP has over 6000 addresses that were migrated from our Legacy System.  We are experiencing very long run times to try to execute move in's and move out's due to the system reading the volume of addresses attached to the Business Partner.  In many cases, the system simply times out before it can execute the transaction.  SAP's suggestion is that we run a BAPI to cleanse the addresses and also to implement a BADI to prevent the creation of excess addresses. 
Two questions surrounding the implementation of this code.  Will the BAPI to cleanse the addresses, wipe out all address records except for the standard address?  That presents an issue to ensure that the standard address on the BP record is the correct address that we will have identified as the proper mailing address.  Second question is around the BADI to prevent the creation of excess addresses.  It looks like this BADI is going to prevent the move in address from updating the standard address on the BP record which in the vast majority of cases is exactly what we would want. 
Does anyone have any experience with this situation of excess BP addresses and how did you handle the manipulation and cleansing of the data and how do you maintain it going forward?
Our solution is ECC6.0Ehp3 with CRM2007...latest patch level
Specifically, SAP suggested we apply/review these notes:
Note 1249787 - Performance problem during move-in with huge addresses
**applied this ....did not help
Note 861528 - Performance in move-in for partner w/ large no of addresses
**older ISU4.7 note
Directly from our SAP message:
use the function module
BAPI_BUPA_ADDRESS_REMOVE or run BAPI_ISUPARTNER_CHANGE to delete
unnecessary business partner addresses.
Use BAdI ISU_MOVEIN_CUSTOMIZE to avoid the creation of unnecessary
business partner addresses (cf. note 706686) in the future for that
business partner.
Note 706686 - Move-in: Avoid unnecessary business partner addresses
Does anyone have any suggestions and have you used above notes/FMs to resolve something like this?
Thanks,
Nick

Nick:
One thing to understand is that the badi and bapi are just the tools or mechanisms that will enable you to fix this situation.  You or your development team will need to define the rules under which these tools are used.  Lets take them one at a time.
BAPI - the bapi for business partner address maintenance.  It would seem that you need to create a program which first read the partners and the addresses assigned to them and then compares these addresses to each other to find duplicate addresses.  These duplicates then can be removed provided they are not used elsewhere in the system (i.e. contract account).
BADI - the badi for business partner address maintenance.  Here you would need to identify the particular scenarios where addresses should not be copied.  I would expect that most move-ins would meet the criteria of adding the address and changing the standard address.  But for some, i.e. landlords or housing complexes, you might not add an address because it already exists for the business partner, and you might not change the standard address because those accounts do not fall under that scenario.  This will take some thinking and design to ensure that the address add/change functions are executed under the right circumstances.
regards,
bill.

Similar Messages

  • CUSTOMER_REL - Business partner not created; duplicate check on address

    Hello Colleagues
    I have a problem during CUSTOMER_REL replication from ERP to CRM.
    In r3am1 object looks fine but in some BDoc following error appears:
    Assignment person - address exists already
    Message no. AM038
    and the Business Partner for Contact Person is not created.
    We are on:
    SAP_ABA     701     0005     SAPKA70105     Cross-Application Component
    SAP_BASIS     701     0005     SAPKB70105     SAP Basis Component
    PI_BASIS     701     0005     SAPK-70105INPIBASIS     Basis Plug-In
    ST-PI     2008_1_700     0001     SAPKITLRD1          SAP Solution Tools Plug-In
    SAP_BS_FND701     0005     SAPK-70105INSAPBSFND     SAP Business Suite Foundation
    SAP_BW     701     0005     SAPKW70105     SAP Business Warehouse
    SAP_AP     700     0018     SAPKNA7018     SAP Application Platform
    WEBCUIF     00     0005     SAPK-70005INWEBCUIF     SAP WEBCUIF 700
    BBPCRM     700     0005     SAPKU70005     BBPCRM
    BP-CRM70     700V1     0000               SAP Best Practices for CRM 7.0
    BP-INSTASS     600V7     0000               SAP Best Practices Solution Builder
    ST-A/PI     01L_CRM5700000               Application Servicetools for CRM 500 51
    And have already applied
    1394635
    1396910
    1397895
    1410788
    1438046
    But it is seems problem lies on SAP_ABA as I have found note
    1092089 - Business partner not created; duplicate check on address
    which is valid for different BP role and
    SAP_ABA 700
    SAP_ABA 710 but not for our 701
    Have you ever seen similar issue?
    Thanks in advance
    Michal

    Hi Naresh,
    Thanks for reply. Correction instructions from this note refer to METHOD MODIFY_CONP_ADDRES which doesn't exist in crm7.0.
    I can see in CRM that contact person is replicated and is present in BUT000 but table BUT052 is empty for this contact.
    What is more we have implemented in our CRM note 564538  To change Contact Persons grouping replicated from ECC to CRM.
    But also have: Note 757955 - Incompatible change concerning CRMC_BUT_CALL_FU.
    We checked as well
    Note 609766 - Correction of BP GUIDS in CRMM_BUT_CUSTNO, BUT000, CRMKUNNR
    Note 836353 and run reports to find inconsistencies in tables BUT052, BUT051, ADCP and ADRVP. However no inconsistencies were found.
    Thanks in advance if you have any other idea.
    Cheers,
    Michal

  • Setting required to create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system

    Dear Experts,
    Can you please suggest me list of activities require to automatically  create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system .
    i.e If I create the customer master record and transfer the same CMR to SAP GTS , what are the setting requires to maintain in SAP GTS sytem to automatically create the Business partner .
    Ram

    Hi Raghu,
    Below are the main settings required to enable you to transfer Customer Master Data to SAP GTS. Please note that their is a difference between, Customer Master Record and Customer Master Data in terms of data and for GTS, we transfer Customer Master Data. Hence, below are the settings required:-
    In SAP ECC system:-
    Activate the change pointers for Customer Master Data apart from enabling basic connection settings.
    Schedule a job to run at regular intervals to transfer all the customer master data for the available change pointers to the SAP GTS system
      2.  In SAP GTS system:-
    Maintain the Mapping for ECC Customers to SAP GTS Business Partners in the General settings area of the SPRO in SAP GTS system
    Ensure that the Number range is maintained for those GTS  Business Partners.
    Also, some time you may be required to maintain the organisational structure to ensure full working.
    I hope this will be helpful to you.
    Regards,
    Aman

  • Working with Large Numbers

    Hi there,
    I am currently doing a school assignment and not looking for answers but just a little guidance.
    I am working with large numbers and the modulo operator.
    I might have some numbers such as :
    int n = 221;
    int e = 5;
    int d = 77;
    int message = 84;
    int en = (int) (Math.pow(message, e) % n);
    int dn = (int) (Math.pow(en, d) % n);Would there be a better way to do this kind of calculation. The dn value should come out the same as message. But I always get something different and I think I might be losing something in the fact that an int can only hold smaller values.

    EJP wrote:
    It might make sense in some contexts to have a positive and negative infinity.
    Yes, perhaps that's a better name. Guess I was harking back to old COBOL days :-).(*)
    But the reason these things exist in FP is because the hardware can actually deliver them. That rationale doesn't apply to BIgInteger.Actually, it does. All I'm talking about is a value that compares higher or lower than any other. That could be done either by a special internal sign value (my slight preference) or by simply adding code to compareTo(), equals() and hashCode() methods that takes the two constants into account (as they already do with ZERO and ONE).
    Don't worry, I'm not holding my breath; but I have come across a few situations in which values like that would have been useful.
    Winston
    Edited by: YoungWinston on Mar 22, 2011 9:07 AM
    (*) Actually, '±infinity' tends to suggest a valid arithmetic value, and I wasn't thinking of changing existing BigInteger/BigDecimal maths (except perhaps to throw an exception if either value is involved).

  • How to Business Partner Link with HR data

    Dear All,
    When we are using Classic Real Estate where Creating Business Partner (FOXG) tab is available Employment data & field personnel number also table check tick mark HR ORG.LINK and EMPLOYEE so, we can check this field with HR table,
    Now we are going to Flexi Real Estate, with Using Business Partner (BP) with role BUP003, there is one field available Personnel Number, but this Field is not checking any HR table. We can put any number in this field it is accepted so how to check this field with HR Link.
    Also when putting any number in this field there is no any report populate this field.
    Regards,
    Nilesh.

    Hi Nilesh,
    You can create a Customer for employee, where you will be having field Personal Number (you can check in Table KNB1) and then from Customer you can create Business Partner.
    For creation of Business Partner from Employee customer you might need custom program if there are no relavant setting in SPRO
    Thanks
    Veman.

  • Send emails from a csv file (grouping records with the same email addresses)

    Writing a script to send emails from a csv which contains record details and email addresses using the Send-Mailmessage cmdlet.
    That part is no trouble, however, the csv file contain records that can have the same email address.
    Is there a way/method I could send the records with the same email address once instead of sending individual email messages?
    Thanks
    Data in the csv file
    Record number, description, email
    1234, Test 1, [email protected]
    5678, Test 2, [email protected]
    1245, Test 3, [email protected]
    4578, Test 4, [email protected]
    $data = Import-csv c:\records.csv
    ForEach($address in $data)
    Send-mailmessage -To $address.emails -from [email protected] -subject "List of records" -Body $data -SmtpServer 192.168.1.1

    The following code does what you are looking for:
    $data = Import-csv c:\records.csv$mx = "192.168.1.1"
    $subject = "List of records"
    $from = "[email protected]"
    $data| Group-Object email|Select-Object Name, @{n='msg'; e={$_.Group| Select-Object -Property "record number", description|ConvertTo-Csv -notypeinformation|Out-String}}|
    ForEach-Object {Send-MailMessage -to $_.Name -Body $_.msg -SmtpServer $mx -Subject $subject -From $from}
    I also recommend no forcing everything into one line.  "One-liner" means "one pipeline" not putting all code on one unreadable line.
    Your code should look like this:
    $data|
    Group-Object email|
    Select-Object Name, @{
    n='msg'; e={
    $_.Group| Select-Object -Property "record number", description|
    ConvertTo-Csv -notypeinformation|Out-String
    }|
    ForEach-Object {
    Send-MailMessage -to $_.Name -Body $_.msg -SmtpServer $mx -Subject $subject -From $from
    Now we can see the code and see that you are still unnecessarily converting back and forth.
    To get the group look at how I did it.
    $body=$_.Group | Format-Table |Out-String
    Isn't that much easier?
    Once you master the pipeline these things will become second nature.  In PowerShell it is not necessary to write lots of code most of the time.
    ¯\_(ツ)_/¯

  • No Business Partner name in the general note of a DSWP-issue

    End user has been created within a CUA-sytem and distributed to the SSM-system. Subsequently the Business Partner BP has been generated in the SSM-system succesfully with the tcode bp_gen. The BP has been attached in the organization model succesfully using tcode pposa_crm. However, the Holder name does not appear at the left lower Holder column. After some investigation it appears that the fields HRP1000-SHORT and HRP1000-STEXT of the Central Person are not filled. Hence, no Business Partner name appears in the general note of DSWP-issue and therefore different to trace who has done what.  What can be the cause of this issue?

    Just for the record...
    It appears that in some cases the Title-field was not filled in the CUA-system. Therefore this field was not transferred to the SAP Solution Manager system. The problem has been solved by entering a value in the 'Title'-field of the Business Partner [/nbp] - the Holder name in the organisational unit appears again.

  • Mass Upload of Business Partner (Person) with/or Attribute Values

    Platform: CRM 4.0sr1 SP8, backend R/3 4.6c
    I have created an eCATT to upload Business Partners (Person), with Relationship Contact Person for pre-existing BPs (replicated from R/3 4.6 backend) and then chaineded another eCATT that assigns an Attribute Set to the newly created Contact Person. 
    However, I can only find the manual method to assign our newly created attribute sets/values via the CRM transaction <b>CRMD_PROF_BP</b>
    I looked at the expert tools <b>CRMD_MKT_TOOLS</b>, but they all seem to work with assigning the information to the BPs after they're added to a Target Group.
    So, how do I either upload the info directly <i>(I am unfamiliar with FM's/Programming and how to use them if anyone suggests one, so please be specific)</i> or create a target group that includes a this new set of Contact Person BP numbers?
    Thanks for any help!

    Hi Mike,
    The bottom line you try to achive is populate target group based on attributes
    of each BP right?
    Here, I try to give you alternatives:
    1. Without assign attributes to BP, and assume you have the attributes assigned
        already in R/3 (or the information already saved in BP R/3 somewhere). Use
        tcode CRMD_MKTDS from CRM, here you define external source of your
        target attributes. Define RFC connection to R/3 and retreive infoset from R/3.
        If you have BW connecto to CRM, this can be used as well.
    2. Or, you have lists of BP in MS-Excel file, for example Region1.Xls contains all
        BPs with region = 1 and Region2.xls contains all BPs with region = 2.
        Now, in Profile Set segmentation, create Target group and retreive all BP from
        excel file. Right click on that new target group and choose Target Group
        properties, Open tab Load File and Create New target group. then follow the
        rest steps until you get the target group with BP according to each file you
        have.
    3. Last alternative, which you may avoid as you are not familiar with programming.
        Use Function module  CRM_ISA_BP_CHAR_VALUES_SAVE to save BP
        attributes.
    Tell me if this is what you looking for.
    Gun.

  • Best practices for speeding up Mail with large numbers of mail?

    I have over 100,000 mails going back about 7 years in multiple accounts in dozens of folders using up nearly 3GB of disk space.
    Things are starting to drag - particularly when it comes to opening folders.
    I suspect the main problem is having large numbers of mails in those folders that are the slowest - like maybe a few thousand at a time or more.
    What are some best practices for dealing with very large amounts of mails?
    Are smart mailboxes faster to deal with? I would think they would be slower because the original emails would tend to not get filed as often, leading to even larger mailboxes. And the search time takes a lot, doesn't it?
    Are there utilities for auto-filing messages in large mailboxes to, say, divide them up by month to make the mailboxes smaller? Would that speed things up?
    Or what about moving older messages out of mail to a database where they are still searchable but not weighing down on Mail itself?
    Suggestions are welcome!
    Thanks!
    doug

    Smart mailboxes obviously cannot be any faster than real mailboxes, and storing large amounts of mail in a single mailbox is calling for trouble. Rather than organizing mail in mailboxes by month, however, what I like to do is organize it by year, with subfolders by topic for each year. You may also want to take a look at the following article:
    http://www.hawkwings.net/2006/08/21/can-mailapp-cope-with-heavy-loads/
    That said, it could be that you need to re-create the index, which you can do as follows:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is stored.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Move any “IMAP-”, “Mac-”, or “Exchange-” account folders to the Trash. Note that you can do this with IMAP-type accounts because they store mail on the server and Mail can easily re-create them. DON’T trash any “POP-” account folders, as that would cause all mail stored there to be lost.
    5. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    6. As a side effect of having removed the IMAP account folders, those accounts may be in an “offline” state now. Do Mailbox > Go Online to bring them back online.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Handling tables with large numbers of fields

    Hi
    What is the best practice to deal with tables having large numbers of fields? Ideally, I would like to create folders under a Presentation Table and group fields into folders (and leave fields that may be needed rarely in a folder named 'Other Information').
    Is there a way to do this in Oracle BI? Any alternatives?
    Thanks

    Answering my own question:
    http://oraclebizint.wordpress.com/2008/01/31/oracle-bi-ee-10133-nesting-folders-in-presentation-layer-and-answers/
    This is definitely a working solution (creating multiple tables and entering '->' in their description in order for them to act as subfolders). Definitely not intuitive and extremely ugly, especially since reordering tables and columns isn't possible (or is it? in another non-obvious way? )
    Anyway it seems we have to live with this.

  • How create a business partner (BUP1) with a default field?

    HI,
    I need to implement these changes, when the user calls the transaction BUP1:
    - The user must create a Business Partner with a field already filled by default.
    Any help will be appreciated.
    Regards
    Mark

    Hi Mark,
    When you create an Attribute set there is a check box named 'Default'. When you select this field then your attribute set will appear as default. You can do the same for the attributes, if you want to define a default value for an attribute.
    Also, in Customizing spro > Cross-Application Components> SAP business Partner --> business Partner --> Basic Settings --> Field Groupings --> Configure Field attributes per activity,  it is possible to define, if you create a customer, that the Attributes Set field should be : displayed, hidden etc.
    Hope this helps!
    Best regards,
    Roula Lazaridou

  • Business Partner - Error for validity periods of addresses R11244

    We are using ECC transaction BP, and we are facing the error "Error for validity periods of addresses" when we tried to change a business Partner.
    Error for validity periods of addresses
    Message no. R11244

    Check the following notes:-
    1)  Note 882726 - SAP BP: Error message R11 244 (BP Transaction + BAPIs)
    2)  Note 1380576 - ECC BP to CRM BP address repln fails due to validity periods
    thanks
    G. Lakshmipathi

  • Arithmetic with large numbers

    Hi
    I am developing code to find the poisson distribution. It contains computations with large scale decimal values
    The below is the formula to find the poisson distribution.
    (exp(-Rate)* Power(Rate, Count)/ Factorial(Count));
    But the problem here is if the value of the rate increases the exp(-rate) value will be reaching towards zero.
    Since double is of 8 bytes it's rounding off to zero after a certain value. I tried to use BigDecimal. But BigDecimal doesn't support exponential operations.
    pl suggest any solution for this.
    ur help is highly appreciated.

    Double probably isn't rounding off to zero, it's just not printing all 53 bits of the mantissa. It can support numbers down to 1 * 2**-1024, if I'm not mistaken.
    And BigDecimal supports exponentiation with the pow() method.

  • Printing database records with page numbers

    Have an old database with name, address info and want to print an updated listing of all the records using AppleWorks 6.2.9 I inserted a footer in layout mode and then created a text field with page number in it. Went to browse mode and my 23 pages looked fine with page number at the bottom, as I wanted. But when printed, the page number appeared underneath every single record, as well as at the bottom of the page. Is this fixable?

    Hi TN,
    The printed version would suggest that the page number had been inserted into the Body part of the layout, whicle the screen version (assuming Page View has been checked in the Window menu) would suggest that the page number was correctly placed in the footer part.
    I suspect that either the DB file or AppleWorks preferences files have become corrupted (possibly both).
    I would start by rebuilding the Layout that is misbehaving, starting from a 'standard' layout.
    If that doesn't solve the problem, Quit AppleWorks, trash the preferences (see THIS User Tips Library post by Peggy for details), relaunch AppleWorks and try again.
    If the problem persists, try Saving a copy of the db as an AppleWorks 5 file, then close the original and open the AW 5 version into AppleWorks 6. (This conversion sometimes corrects internal problems with database files.)
    Regards,
    Barry

  • XIF Adapter : Upload of Business partner(Using LSMW) Telephone Numbers

    Hi all
    I'am uploading BP data using XIF Adapter and I am using the LSMW-IDOC Method (Basic type:CRMXIF_PARTNER_SAVE_M02)
    Here My client came with 4 telephone numbers, can any one please help me how can I uploade these 4 telephone numbers. when I am trying to upload by default it was accepting only the first telephone number and leaving the others
    Thanks in advance
    Warm regards
    bms

    Hi Thierry,
    thank you for that suggestion. I've already found [ODS for Marketing Attributes|http://help.sap.com/saphelp_crm50/helpdata/en/07/d545a50869754fbad8062e17c2ea0e/frameset.htm] when I've searched in the CRM Documentation. I've just asked my BI colleague to do the extract to BW. I will then write a Web Service on the BW which can be called from the external system.
    Best regards
    Gregor

Maybe you are looking for

  • Pse 7 organizer crashes when outputting slide show

    PSE 7 closes down with the message that organizer has encountered a problem when I try to output a slide show in any form - create wmv, send to Premier Elements, write cd/dvd - a part of the file is actually output since I am able to go in and find i

  • .BAT FILE HELP!

    Hi, I am using Leopard version 10.5.4 have been having trouble with .bat files. I understand that you have to rewrite the file as an applescript or shell file ( I think). Here is the script, @echo off COLOR 03 title 503 client cd ClientFiles/ java -X

  • Can we have properties value of keyfieldvalue more than one value?

    Hi all, Regards File content conversion that we can have properties value of keyfieldvalue more than one value? like a... row.keyFieldValue = 'aa','bb' I try define the value like this but I'm getting the error. Thanks and Regards Park

  • IPad Operating System and iTunes libraries consolidation

    Two missions: First trying to consolidate multiple libraries within my family.  Have iTunes on laptop (windows xp) with 55GB of music on it which is sync'ed with sons iPod and my iPod.  Also have a iPad which my husband has bought a good amount of mu

  • Photoshop cs5 (small problem)

    I've just upgraded from CS2 to CS5 extended. I notice that when I want to create a new document, I don't have the preset options like A3, A5 and the others like I did in CS2. Anyone know if this is meant to be like this? The presets I have now are: p