Change Business Partner Number or copy

Hi experts!,
I need to change some business partner numbers or in another hand creates a copy of business partner but different number.
It's possible?
A lot of thanks in advance.
Regards.

Hi,
There is no standard way to do this, but you can write a simple report to achieve this functionality.
Moreover - copying is not that simple - e.g. : you can copy the data such as name ,etc..but you still needs to generate a new person number as well ! For this, you need to involve address management also.
Again, you can copy the address data, but you will need to generate new address numbers as well.This also requires Address Management.
The solution is to use a report using BAPIs.
E.g : Fetch data of existing BP using BUPA_CENTRAL_GET_DETAIL.
Remove fields such as partner number and peson number from this ,and feed it to the BAPI BUPA_CREATE_FROM_DATA. A new BP will be created, with the same data, but new number GID, etc.
Similarly , you need to fetch all datasets and then create them again.
Let me know if you need more info regarding this.
Cheers,
Rishu.

Similar Messages

  • Change history of User for Business Partner Number attaching and removing

    Hi Experts
    Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
    Thanks--
    Guru Prasad Dwivedi

    Serene,
    I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this.  If at all a Payment term was deleted, I don't think it can be traced.
    It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
    Suda

  • IC intermittent SAPSQL_ARRAY_INSERT_DUPREC error after changing business partner

    Hello,
    after upgrading from CRM5 to CRM7 (Service for Employee), our Interaction Centre users started getting intermittent SAPSQL_ARRAY_INSERT_DUPREC screen dumps when clicking on the 'Save' button after having changed a partner number in the Partners Table of a Service Ticket.
    On encountering one of these screen dumps, the user then has to close their IC session and then restart it - after which it is then possible to successfully 'Save' the same change to the same business partner on the same Service Ticket.
    I have not been able to reproduce this error due to its intermittent nature.
    Details of the source code extract from the ST22 dump is given below.
    Has anyone else encountered such an issue themselves?
    thanks,
    Martin
    Category ABAP Programming Error
    Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
    Except. CX_SY_OPEN_SQL_DB
    ABAP Program SAPLCOM_PARTNER_DU
    Application Component CRM-BF-PD
    Date and Time 20.08.2014 11:15:25
    Line SourceCde
      41 * data definitions
      42 DATA: BEGIN OF ls_attribute_record_to_use,
      43 partner_guid TYPE crmt_partner_guid,
      44 values TYPE text255. "has to be as long as the longest
      45 "attribute structure
      46 DATA: END OF ls_attribute_record_to_use.
      47
      48 DATA: lt_attribute_records_to_use LIKE SORTED TABLE OF
      49 ls_attribute_record_to_use WITH UNIQUE KEY partner_guid,
      50
      51 lv_tablename TYPE tabname,
      52 ls_attribute_record TYPE crmt_partner_attr_du,
      53 lv_name TYPE char64.
      54
      55 FIELD-SYMBOLS: <values> TYPE ANY,
      56 <address> TYPE crmt_partner_address,
      57 <fs_insert_record> TYPE crmd_partner,
      58 <fs_addr_ref_data> TYPE crmt_partner_address_reference.
      59
      60 FIELD-SYMBOLS: <wa_to_proceed> TYPE ANY,
      61 <table_to_proceed> TYPE ANY TABLE.
      62
      63 DATA: wa_to_proceed TYPE REF TO data.
      64 DATA: lt_wa_table TYPE REF TO data.
      65
      66 *** MAINTAIN PARTNER RECORDS *******************************************
      67
      68 *** records to insert
      69 IF NOT it_partner_records_to_insert IS INITIAL.
      70
    >>>>> INSERT crmd_partner FROM TABLE it_partner_records_to_insert.
      72 IF sy-subrc NE 0.
      73 MESSAGE a002(com_partner) WITH gc_object_name_partner.
      74 ENDIF.
      75
      76 ENDIF.
      77
      78 *** records to delete
      79 IF NOT it_partner_records_to_delete IS INITIAL.
      80 DELETE crmd_partner FROM TABLE it_partner_records_to_delete.
      81 IF sy-subrc NE 0.
      82 MESSAGE a002(com_partner) WITH gc_object_name_partner.
      83 ENDIF.

    Hello Atul,
    thanks for your message. I have had a look at the SAP notes that you have pointed me to, however they unfortunately do not relate to the functionality where we are encountering this problem:
    1914117 - Relates to Sales (not Service {Employee})
    1823316 - This error occurs in the wrong FM (BUR_BUPR_UPDATE) rather than FM COM_PARTNER_UPDATE_DU.
    1809361 - Relevant for the SAP GUI transaction, 'BP', not the Interaction Centre which iswhere this error is occuring.
    SAP have not been able to help because of its intermittent nature, it is not possible to create this error on demand, and as I am working on a secure site SAP cannot open a remote connection.
    thanks,
    Martin

  • Retrieve Business Partner number

    Hi all,
    we've upgraded from CRM 5.0 to CRM7 (2007). And some functionality that used to work involving a BAdI, no longer works for us. Here's the original situation using the 'old' SAP GUI:
    After changing a business partner or one of its relationships, our BAdI implementation of PARTNER_UPDATE is triggered. In here, the current business partner is retrieved using BUPA_GENERAL_CALLBACK. This works just fine. This also works fine if one of the EEWB (Easy Enhancment Workbench) fields on a relationship has changed. We need the business partner in order for us to replicate the relevant data to an external NON-SAP system.
    In CRM 2007 via the WebClient UI, this BAdI is triggered as well during a change of the business partner, one of it's relationships and even after a change of one of the EEWB fields. So far so good, however, we are not able to retrieve the business partner number after a change of the validity period of the relationship using BUPA_GENERAL_CALLBACK. This is not a real problem since we can also use BUPA_BUT050_CALLBACK as an alternative. Bit of extra coding, but no problem yet.
    The real problem occurs, if we change a EEWB field. In this case both callback-function modules do NOT return any data at all. So I tried to use the generated function module ZZNZK_BUPR_CALLBACK to retrieve the business partner being processed. But this function module generates a dump, saying that the COMMIT WORK should not be interrupted (SYSTEM_ON_COMMIT_INTERRUPTED).
    So main question actually is: How can we, in all cases (changing a business partner, on of its relationships or even an EEWB field on the relationship), retrieve the business partner from memory?
    Kind regards,
    Micky.
    P.S. In the BAdI documentation SAP suggests to use the CALLBACK function modules, but they don't always (especially in case of EEWB field change) necessary do the job.
    P.S. Not sure if this is the correct forum, since this BAdI is also triggered in non CRM related scenario's. However, the problem only occurs as of the upgrade to CRM 7 and the use of the webclient.
    I'm waiting.....

    Hi Micky,
    The problem occurs due a change in memory handling between the SAP gui and the web ui. SAP gui basically fills all the memory for datasets that need to be displayed on the screen - which means that even if you change relationship data, the bp's address memory is also filled and thus the CALLBACK returns the memory contents.
    In Web UI, the background processing uses BAPIs or APIs. The memory is filled ONLY for the dataset that you are changing. Hence, you can't always get the data from any CALLBACK, but you need to use the specific CALLBACK.
    Your approach here is quite correct in using the EEWB callback, but i honestly do not know why the dump occurs. I do however know that the handling of relationship data is 'hopeless' - with an overlapping of dialog and bapi modes, which makes such dumps very common during post processing of relationship data. This problem would be much easier to trace under debugging, but its tough to estimate a guess - more so since its sue to a Z field.
    The best bet would be to raise an OSS for SAP, since EEW ought to generate perfectly working callbacks as well, and these callbacks are perfectly allowed for use in all customer implementations. Ideally, the EEW callback ought to have returned the memory contents for the EEW field if it had been changed during the process.
    Cheers,
    Rishu.

  • Business partner number range - Current number set to 0

    I need to initialize business partner number range.
    TCode: BUCF
    0009000000 -0013999000  Current number 9000029
    How can I set Current number to 0.
    I have deleted business partners via BUPA_DEL. I need this to be set to 0 so that can bring in legacy data in the desired number range.
    Any help is greatly appreciated! Thanks

    From transaction BUCF, if you select "Status" tab it allows you to change current number.
    Hope this helps!!!

  • To change business partner ( RFC enabled  Function Module )in CRM.

    Hi All;
    While sending a Business partner from R/3 to CRM. I would like to change business partner ( RFC enabled  Function Module )in CRM.
    Is there any exit or a BAdI which i can use to do this?
    Regards
    Yusuf Dagyeli
    Message was edited by: Yusuf Dagyeli
    Message was edited by: Yusuf Dagyeli

    Hi RAMS,
    1. Under the SWCV Go to the Imported Objects.
    2. Right click on the RFC and click on the Import of SAP object.
    3. Give the logon server name, system number the user name and pasword.
    4. Select the RFC u want to import.
    5. Execute the import and the RFC is imported under the SWCV.
    Now u can use this Imported RFC in the scenarios of that SWCV.
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution

  • How to look for business partner number in GTS

    Hi Experts,
    How to look for the business partner number in GTS when we have the Customer Id number in r/3?
    Please let me know the path in GTS.
    Edited by: Anurag87 on Dec 9, 2010 2:17 PM

    Hello,
    just simple in GTS in transaction BP find by "3 External number" (which is yours R/3 number).
    Or in se16 table /SAPSLL/PNTBP type in field BPVSY you external number from R/3 system.
    Cheers,
    Gabriel.

  • Business Partner Number - HRALX-HRAC  problem

    Hello,
      I am trying to configure Service desk in Solution Manager 7.0
    While creating Business partner through t-code ppoma_crm.
    But after creating Business partner, there is no assignment of Business partner number  to business partner.
    I have check entry  HRALX-HRAC  in table T77S0, in transaction sm30, 
    For HRALX-HRAC flag is not set.
    What should I do to set this Flag?
    Should I set manually or there is any procedure for it???
    Kindly guide regarding this.
    Thanks,
    Chandresh Pranami.

    Dear Chandresh,
    have you activated the BC sets for service desk?
    You can the following
    Go to the following IMG path: Customer Relationship Management -> Master Data -> Business Partner -> Integration Business Partner-Organization Management -> Set Up Integration with Organizational Management.
    Find the entries starting with HRALX. You should have those entries:
    HRLAX - HRAC with the value u2018X',
    create this entry in the table and Save.
    HRLAX-OBPON with the value u2018ON',
    create this entry in the table and Save.
    Regards
    Prakhar

  • Business partner number Issue in Service Groups

    Hi ,
    In My Current Business process we are creating Manual Organizational Unit  Service Groups,  at the time of creation system should generate Business partner number with ROLE Organization.
         Recently we are updated system windows to UNIX . from that release system not generating business partner number automatically in Organizational unit .
    I  have run the program HRALXSYNC  to Synchronize organizational unit  in background,  then system generated business partner number but this  number not  visible under organizational unit  beside objective id . Available under transaction BP .
    And we are failed to find service group name under  service groups result list..
    Regards
    Raju

    Can  any One help on this
    Regards
    Raju

  • How to change Business partner PERSON in GTS system

    Hi,
    I have developed an program to create business partner (Person, Contact person and Organization). But now I have to include code for changing Business partner.
    I have used BAPI_BUPA_FS_CREATE_FROM_DATA2   BAPI for Person creation. But now I am not finding any BAPI to change PERSON business partner.
    Let me know a BAPI or any other way to change PERSON BP.
    Thanks
    Atanu Das

    Hi experts,
    I am facing the exact same issue and was wondering:
    1.  Are there specific authorization objects that I can use to limit access on the web UI based on BP roles?  I found authorization object B_BUPA_RLT.  But does this work for just SAP GUI or web GUI as well?
    2.  I have read threads relating to another solution, to use a BADI to alternate configuration views.  Are there any other alternative solutions that are purely configuration based?
    Vinay,
    Could you provide details on which solution you eventually went with to solve your problem?
    Thanks,
    jo

  • To get Current Business Partner number In BADi

    Hi All,
    In Tcode BP (for creating Business Partner) i am using BADi  'BUPA_GENERAL_UPDATE'. In this i want get Current Business partner No Assigned for the current Creation process.Suggest me how to get Current Businees Partner no assigned or current creation.
    (Actually in the program wher this BADi is calling there is internal table mem_but000 which has the but000 details incluiding what Business partner number assigned for current creation.Is it possible to get details from this itab in my BADi implementation Method.)

    Hi,..
    U can use field symbols and get the values of the internal table into ur BADI
    FIELD-SYMBOLS: <fs_wa> TYPE table .
    UNASSIGN <fs_wa>.
    ASSIGN ('(program name)mem_but000 ') TO <fs_wa> .
    program name is the name of the program where this internal table mem_but000 is having data..
    U will get all the entries of the internal table in field symbol..
    decalre internal table like mem_but000 and assign the filed symbol data into internal table .
    IF sy-subrc EQ 0.(sy-subrc check for the assign statement)
    t_mem_but000  = <fs_wa>.
    endif.
    regards
    Sheeba

  • XRPM- HR ALE ( Business Partner Number Generation)

    Hello All,
    Happy New Year Wishes to All !!!!
    Quick question, I was able to set-up the xRPM -HR ALE setup to transfer employee data and create Business Partners with employee role,in xRPM system, but my client wanted the Business Partner Number as same as the Employee Id.
    i.e if the Employee id is "901037" than the BP in xRPM should also be " 901037" and not the locally generated next available no:
    Is there any  BADI or any appropirate setting which could make this happen ??
    Thanks
    Kumar

    Hi,
    in case you have not solved the problem yet, check oss note 550055!
    regards
    Christine

  • Business Partner Number for Org Model

    Hi Experts
    When we are maintain a Sales org Business Partner Number will automatically generated how it will generating let me what are the customizations for that
    I have one scenario
    Ex: I am taking number range from 10000 to 99999
    We created 99999 customers now we want to maintain anther 10000 customers so how should is increase the number range in system 10000 to 99999 only available so how should I will maintain
    Please tell me
    I will be very happy to reward points.
    Thanks and Regards
    Kumar
    Edited by: Kumar on Sep 24, 2008 12:48 PM

    Hi,
    The integration settings are maintained in the below path
    Img -> Customer Relationship Management -> Master Data -> Business Partner -> Integration Business Partner-Organization Management -> Set Up Integration with Organizational Management
    hopes this answers your query.
    Regards
    Vinod

  • Missing business partner number

    Hi,
    I am working with SRM 7.0, SP09. I have encountered a problem where business partner number is not getting generated for new organizational objects created in PPOMA_BBP. It was working absolutely ok until we started the support pack upgrade from 07 to 09.
    Anyone has any clue, pls suggest.
    Thanks & Regards,
    Prashant

    Hi
    as you aware , fill all address details include mail and save and come out.
    Check BUCF internal number range .Is any thing beyond the limit.
    or
    you can address to SAP
    Muthu

  • BAPI TO CREATE BUSINESS PARTNER NUMBER

    Hi,
    I am using BAPI_BUPA_CREATE_FROM_DATA to create Business Partner number .
    When I am executing the BAPI Business partner number is not getting created in tcode BP.
    I am passing Partner Category = 2
    Central Data = aaa
    Please Help.
    Palak
    Edited by: Palak Singhal on Sep 29, 2008 11:52 AM

    Hi
    After executing the BAPI did you call
    BAPI_TRANSACTION_COMMIT call this after you execute BAPI_BUPA_CREATE_FROM_DATA so that the database gets updated.
    regards
    Pavan

Maybe you are looking for

  • Is there any way this can be done?

    I have a 30GB video Ipod(2005  Fifth Gen I think) I had my ipod hooked up to my PC for a couple of years and it worked fine. Then it just stopped recognizing my ipod all together. I didn't really care that much because I had lots of music on it but n

  • Can't open Raw images from Nikon D3200

    I can not open RAW files taken on Nikon 3200 HW & SW: Nikon 3200: Apple MacBook Pro OS v. 10.8.5, Adobe Photoshop Elements 11, Adobe Lightroom 5, Adobe DNG Converter I had a Nikon D60 and used a removable card to store images. No problem. One week ag

  • Safe mode: visual indicator?

    hi: i had to use safe mode extensively to get myself out a major pickle. i am back up running again, nearly a day later. but now, i wonder, how do i know for sure, there is no parts of "safe mode" still ON. is there a visual indicator? I have my book

  • IT0009 Bank Account Number

    Hi, How to configure to allow the bank account field (BANKN) in IT0009 accepting letters as bank account? Regards, Jim

  • What are the netsh cmd line for windows server 2008,2012 ?

    Hi     I am try to config ip,subnet,gateway,preferred and secondary dns using netsh for windows server 2008,2012, Before Netsh cmd support for all os including Win 8,win 8.1. I need to config form client machine to server machine using netsh cmd line