Updating the business partner

Dear friends!!!
        I am working on a problem in which i am supposed to merge the similar bp... I have the target bp in one internal table and source in another internal table i have programatically merge the data from source internal table to target internal table... now i am supposed to update the database table respect to target bp. here to update bp i can use.. bus_ei_extern structure and FM bupa_inbound_main_save... or i am supposed to lock the db tables and update them directly... would you like to tell me what will be more convinient to me.. as I have target bp in internal table and it is not type bus_ei_extern, so please tell me if i update all the db tables directly without using bus_ei_extern structure will it be give me any trouble,,,,,.... please reply me any suggestion, code, article will be greate help of mine
thanking you,,,,
regards
Naim

You should never update standard SAP table directly. Please avoid it as long as possible. If anything goes wrong in your system, SAP will not support it.
Table update is always the easiest option. But that should not be used, especially on critical master data information like BP.
Regards,
Kaushal

Similar Messages

  • How to update the business partner title using the function module

    Hi ,
    I have to update the business partner title to Mr or Ms based on the gender.
    If BP is male title should be updated as Mr else Ms.
    Please provide some inputs on which function module to use to do it in mass update.I have to search the BP's whose title is not created and i have to change those titles to Mr or Ms.

    Hello,
    Try with BBP_USER_CHANGE_FIELDS :
    - set CHANGE_FORM_OF_ADDRESS,
    - put corresponding key you want (see TSAD3 table) in FORM_OF_ADDRESS_KEY.
    Regards.
    Laurent.

  • Trying to update the business partner using BAPI_BUPA_CENTRAL_CHANGE

    Hi all ,
    i am tryibg to create a function module which updates the first name, last name, email id of the business partner that i already created. the return table shows zero entries and i dont find any udate being done for the business partner if i go and check in the respective table. can some one tell me what is the problem.
    Import paramters for my function module are business partner number, first name, last name, email -d.
    FUNCTION Z_CHANGE_BP2.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(CUST_NO) TYPE  BU_PARTNER
    *"     VALUE(FIRST_NAME) TYPE  BU_NAMEP_F
    *"     VALUE(LAST_NAME) TYPE  BU_NAMEP_L
    *"     VALUE(EMAIL_ID) TYPE  AD_SMTPADR
    *"  TABLES
    *"      IT_RETURN2 STRUCTURE  ZRETURN1 OPTIONAL
    *"      IT_RETURN4 STRUCTURE  ZRETURN1 OPTIONAL
    Defining the internal tables used in BAPI BAPI_BUPA_CENTRAL_CHANGE.
    DATA: it_CENTRALDATA TYPE STANDARD TABLE OF  BAPIBUS1006_CENTRAL  WITH HEADER LINE.
    DATA: it_CENTRALDATAPERSON TYPE STANDARD TABLE OF BAPIBUS1006_CENTRAL_PERSON  WITH HEADER LINE.
    DATA: it_E_MAILDATANONADDRESS TYPE STANDARD TABLE OF  BAPIADSMTP WITH HEADER LINE.
    DATA: it_RETURN1  TYPE STANDARD TABLE OF  BAPIRET2 WITH HEADER LINE.
    DATA: it_RETURN3  TYPE STANDARD TABLE OF  BAPIRET2 WITH HEADER LINE.
    ****Values for seacrh term1, search term2 of it_CENTRALDATA
    it_CENTRALDATA-SEARCHTERM1 = FIRST_NAME.
    it_CENTRALDATA-SEARCHTERM2 = LAST_NAME.
    APPEND it_CENTRALDATA TO it_CENTRALDATA.
    first name, last name of it_CENTRALDATAPERSON
    it_CENTRALDATAPERSON-FIRSTNAME = FIRST_NAME.
    it_CENTRALDATAPERSON-LASTNAME  = LAST_NAME.
    APPEND it_CENTRALDATAPERSON TO it_CENTRALDATAPERSON.
    Value for E_MAIL of it_TELEFONDATANONADDRES-
    it_E_MAILDATANONADDRESS-E_MAIL = EMAIL_ID.
    APPEND it_E_MAILDATANONADDRESS  TO it_E_MAILDATANONADDRESS.
    Call the BAPI BAPI_BUPA_CENTRAL_CHANGE
    CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
      EXPORTING
        BUSINESSPARTNER      = CUST_NO
        CENTRALDATA               =  it_CENTRALDATA
        CENTRALDATAPERSON  = it_CENTRALDATAPERSON
      TABLES
    E_MAILDATANONADDRESS  = it_E_MAILDATANONADDRESS
        RETURN                             = it_RETURN1.
    Call Commit work
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          = 'X'
    IMPORTING
      RETURN        = it_RETURN3.
    ENDFUNCTION.

    Hi,
    Pass values to the Parameter CENTRALDATA_X   in your FM 'BAPI_BUPA_CENTRAL_CHANGE'
    Something Like:
    CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
    EXPORTING
    businesspartner = bpartner
    centraldata = centraldatadetail
    centraldataperson = centraldataperson
    CENTRALDATAORGANIZATION =
    CENTRALDATAGROUP =
    centraldata_x = centraldata_x
    centraldataperson_x = centraldataperson_x
    CENTRALDATAORGANIZATION_X =
    CENTRALDATAGROUP_X =
    TABLES
    return = return.
    Refer to:
    problem with 'BAPI_BUPA_CENTRAL_CHANGE'
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-bupa_central_change-need-help-549117

  • Blocking of Adding or Updation of Business partner

    Hi Folks,
    I am having problem with the transaction notification where i am having a udf in the business partner master data where in that udf i want to maintain only unique records for that i have used transaction notification but i am getting error message for every unique record updation or adding of the record
    iF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'2')
    begin
    select t0.sortkey
    from ocrd t0
    where t0.cardcode =  @list_of_cols_val_tab_del
         and t0.sortkey in (select t1.sortkey  from ocrd t1 where t1.U_Envsrtky <> '' and t1.CardCode <> @list_of_cols_val_tab_del )
    end
    Begin
    SET @error = 14
    SET @error_message = N'Same Sort key is not allowed'
    End
    Here sort key is my udf.Please help me regarding this
    Thanks & Regards
    Charan.B

    Hi,
    Plz check dis :
    IF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'2)
    BEGIN
    If EXISTS (SELECT T0.[U_Envsrtky ]
    FROM OCRD T0
    WHERE T0.[cardcdoe] = @list_of_cols_val_tab_del and T0.[U_Envsrtky ]  =  T0.[U_Envsrtky ])
    Begin
    SET @error = 14
    SET @error_message = N'Same Sort key is not allowed'
    End
    END

  • Mass Update of Business Partner Data in CRM

    Hi,
    I would like to know how I can perform a mass update of business partner data in CRM and then have this replicated into R/3.
    I have found notes 802804, 876602, 859632 but these only apply to CRM 5.0 and we are currently working on CRM 4.0.  Does anyone know of anything similar which exists in CRM 4.0?
    I have checked other posts and found help files links like the one below but is this only on CRM 5.0?  (http://help.sap.com/saphelp_crm50/helpdata/en/3c/9b56fae6c7424cafcdf17370399812/frameset.htm )
    Has anyone used the tx. MASS in CRM?
    Also our volume update levels is as high as 300,000 record and updating in CRM and replicating into R/3 through the middleware is causing performance problems.
    Does anyone have any tips on the best approach for this?  Many thanks.
    Regards
    JoJo

    Mass not available in 4.0, could write your own LSMW routine but you still will create bdocs for updates so not sure how that will improve your performance.

  • Update of Business Partner Master Data

    Greetings. I am wondering is there any way you can configure the standard system so that the analyst responsible for the business partner will receive a notfication when the business partner master data is updated in SD. Currently its linked to the customer master so any name/address changes in SD will be automatically synched in the FSCM Credit Master Data.

    Hi,
    This is not possible in configuration. Maybe with some abap involvement you can write a query on the change table.
    That might help.
    Regards,
    Richard

  • How to switch off automatic creation of the business partner?

    Hello!
    Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.

    Hi,
    I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
    1. Set BP Role Category for Direction BP to Customer
    Roles: FLCU00 - Business Partner FI Customer (FS: BP)
    FLCU01 - Business Partner Customer (FS: BP)
    2. Defined the Number assignment for Direction BP to customer
    4. Customer account group and numbering is also defined.
    3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
    Kindly let me know if any customizing I have missed.
    Regards
    Ameya

  • Possible to change the business Partner from a created Contract in ICWEB??

    Hello experts,
    I would like to know if it is posible to change the BP from a created contract in ICWEB.
    I check the option "CONTRACT MANAGMENT" and there is an option to change the premise with the button "Move To Other Premise" but I don't find an option to change the Business Partner from a created contract.
    Can you help me, please??
    Thank in advance.
    Edited by: Javier Garcia on Aug 19, 2008 7:01 PM

    Hello S Reddy and a lot of thanks for your help.
    But I don't know where I can select this option, there isn't the  where I can associate the option in customizing or what transaction. Could you explain me with more details, please ??
    Thanks in advance.
    Regards.

  • Urgently, how to use the EEWB to ad new field in the business partner page

    Hello All
    I am working on CRM 5.0 EEWB
    I am trying to add new field in the business partner page I followed the steps for creating the project and the extension but I faced some problems
    1-I chose the package BBP_BUPA_MAIN    BBP Business Partner General
    I created two transport requests for the workbench and the customizing
    2- I created an extension with EEW Bus. Object: BUPA and extension type: ADD_NEW_FIELDS
    3- I got an error that <b>"Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"</b>
    I tried to change the package but the same problem occurs and if I choose a custom made business package I get a similar error but, before the wizard starts
    I want to know the exact steps to create new field using the EEWB
    Regards
    Jacopo Francois

    Hi,
    Error info: "Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"
    Clearly states that you need to assign some different name to the package which is not reserved by SAP as Z### is already reserved by SAP and thus you will not be able to create the enhancement in the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points</b>!

  • What is the use of the business partner cockpit ?

    Hello All
    What is the use of the business partner cockpit ?
    Regards
    Jacopo Francois

    Hi,
    BP cockpit is also called as BP factsheet. It gives the 360 degree view of the BP transations. Its a BSP application on GUI. To enable the factsheet you will have to activate the relevent BSP services in sicf.
    For more informatio refer
    http://help.sap.com/saphelp_crm50/helpdata/en/8d/b65a42a0836255e10000000a155106/content.htm
    Reward points if helpful.
    Shridhar

  • Enter at least one number for the business partner

    Hi Experts,
    SRM 5
    Classic scenario
    R/3 4.6c
    I am trying to execute users_gen transaction for integrating the user with the org. structure. However upon doing so I get an error message "Enter at least one number for the business partner"
    Please provide pointers on the cause for this and how it can be rectified.
    Thanks.
    Regards,
    Amish

    Hi Muthu,
    I am integrating a single user at a time - through users_gen.
    Infact I am getting the same error message while moving the users within the org. structure.
    Steps -
    1. Execute users_gen
    2. Select the user to be integrated
    3. Click execute check mark
    Please provide any pointers.
    Regards,
    Amish

  • How the business partner data is created in  EB

    Hi
    How the business partner data is created in EB ( SRM).
    thanks
    sankar

    Hi,
    I imagine you would like to synchronize business partner data, which are created in backend, into SRM.
    you can use Tcode BBPGETVD or BBPUPDVD or run/schedule  bbp_vendor_sync (need customizing).
    Regards,
    Bertrand

  • Regarding chossing the Business Partner Master Data

    Dear All,
                 I have one query regarding chossing the Business Partner Master Data. Let take an exapmle 
    suppose 2 sales person are making the sales Quotation and every sales Persons only making the quotaion
    for the specified leads or customers.Suppose Sales Person 'A' makes the quotaiton for 5 Leads and Sales
    Person 'B' makes the quotation for the different 5 persons.Now i want when  i Login into sales person 'A' Login
    and choose the Business Partner by pressing tab in sales quotation window , then that Sales Person 'A' can
    see only the Specified BP list which are belonging to his region.
    Thanks All.

    The access to Item Master and BP Master cannot be restricted to Users through Authorization. This is a known limitation of SBO.
    You can try this by using SDK.
    You can use Data Ownership Authorization, which means the marketing documents created by Sales Person 'A' will not be viewed by Sales Person 'B'
    Refer this thread for details
    [Customer master restriction in Marketing document.........;

  • Hiding the business partner search parameter from search criteria

    Hi,
    I have business partner search parameter whose value is hardcoded in the lead search..
    I would like to hide the business partner search parameter from displaying only..
    I need to achieve it programatically and not in configuration and all.
    Do I need to write the code in P method or which method?
    Thanks
    Madhukar

    Hi,
    The code is as below and I just need to have the functionality of BP search field intact but hide it from display in web UI..if any correction is required let me know..
    ***current date is populated into LV_DATE
      DATA lv_date TYPE string.
      lv_date = sy-datum.
    ***current user login name is populated into LV_SUNAME
      DATA lv_suname TYPE string.
      lv_suname = sy-uname.
    ***Fetching the BP ID of the current user who logged into L_PARTNER
      DATA:l_partner TYPE bu_partner.
      CALL FUNCTION 'CRM_ERMS_FIND_BP_FOR_USER'
        EXPORTING
          iv_user_id = sy-uname
        IMPORTING
          ev_bupa_no = l_partner.
    ***structure for BUT051
      TYPES : BEGIN OF ty_data,
               relnr    TYPE bu_relnr,
               partner1 TYPE bu_partner,
               partner2 TYPE bu_partner,
               date_to  TYPE bu_datto,
             END OF ty_data.
    ***work area for BUT051
      DATA wa_but051 TYPE ty_data.
    ***Fetching Dealer BP ID which is 'PARTNER1' field in BUT051
      SELECT relnr
             partner1
             partner2
             date_to
      FROM but051
      INTO wa_but051
      UP TO 1 ROWS
      WHERE partner2 = l_partner.
      ENDSELECT.
    ***Geting the dealer BP ID into LV_DEALER
      DATA lv_dealer TYPE string.
      lv_dealer = wa_but051-partner1.
      DATA: lr_qs          TYPE REF TO cl_crm_bol_dquery_service,
            lr_search_node TYPE REF TO cl_bsp_wd_context_node_asp,
            lr_col         TYPE REF TO if_bol_bo_col ,
            lr_iterator    TYPE REF TO if_bol_bo_col_iterator ,
            lr_param       TYPE REF TO if_bol_bo_property_access,
            ls_selection   TYPE genilt_selection_parameter,
            lv_low         TYPE sy-datum,
            lv_attr_name   TYPE name_komp ,
            lv_value_set   TYPE abap_bool .
      IF iv_first_time EQ abap_true.
    * to initialize the search view.
        CALL METHOD super->do_prepare_output
          EXPORTING
            iv_first_time = iv_first_time.
    * fetch the search node and its content.
        lr_qs = me->get_current_dquery( ).
        lr_col = lr_qs->get_selection_params( ).
    * check the currently visible search attributes.
        lr_iterator = lr_col->get_iterator( ).
        lr_param    = lr_iterator->get_first( ).
        WHILE lr_param IS BOUND.
    * get the parameters
          lr_param->get_properties( IMPORTING es_attributes = ls_selection ).
          IF ls_selection-attr_name = 'VALID_FROM'.
    * SET_PROPERTIES
            ls_selection-low = lv_date.
            CALL METHOD lr_param->set_properties
              EXPORTING
                is_attributes = ls_selection.
            lv_value_set = abap_true .
            EXIT.
          ENDIF.
          IF ls_selection-attr_name = 'BU_PARTNER'.
    * SET_PROPERTIES
            ls_selection-low = lv_suname.
            CALL METHOD lr_param->set_properties
              EXPORTING
                is_attributes = ls_selection.
                lv_value_set = abap_true .
            EXIT.
          ENDIF.
          lr_param = lr_iterator->get_next( ).
        ENDWHILE.
        IF lv_value_set EQ abap_false .
    * it was not part of the visible attributes, then add it at the end.
          CALL METHOD lr_qs->add_selection_param
            EXPORTING
              iv_attr_name = 'VALID_FROM'
              iv_sign      = 'I'
              iv_option    = 'EQ'
              iv_low       = lv_date.
          CALL METHOD lr_qs->add_selection_param
            EXPORTING
              iv_attr_name = 'BU_PARTNER'
              iv_sign      = 'I'
              iv_option    = 'EQ'
              iv_low       = lv_dealer.
        ENDIF.
    * for a proper display of the added / changed attribute.
        lr_search_node = get_dquery_cnode( ).
        lr_search_node->build_parameter_tab( ).
      ELSE.
    * non first time call - just delegate to superclass.
        CALL METHOD super->do_prepare_output
          EXPORTING
            iv_first_time = iv_first_time.
      ENDIF.

  • How to read the business partner activity

    Hi experts,
    How to get the business partner(role:employee) assigned activities  in crm and how to create the activity .my requirment is change the assiged from old employee(bp) to new employee(bp). i have to develop the program. i searched some BAPI's.
    Please help on this.
    thanks,
    venu.

    Pls use the FM CRM_REPORT_CALL_RF. Pass the partner function to the exporting parameter table ir_partner_fct_h and partner number to the partner number to  ir_partner_id_h . You will get all the guid and then use CRM_ORDER_MAINTAIN to change the partner.
    CALL FUNCTION 'CRM_REPORT_CALL_RF'
        EXPORTING
          iv_stat_open            = 'X'
          iv_maximum_hits         = ' '
          ir_object_type_h        = it_act_objtype
          ir_partner_fct_h        = it_partner_fct_h
          ir_partner_id_h         = it_partner_id_h
        IMPORTING
          et_guidlist             = it_guid
        EXCEPTIONS
          parameter_error_partner = 1
          parameter_error_items   = 2
          parameter_error_ref_obj = 3
          OTHERS                  = 4.

Maybe you are looking for

  • Project freezes every time at same slide position on mobile devices.

    (Using Captivate 6.1 on Mavericks running in 2014 iMac. This project contains 32 slides, some with audio (played using the advanced action for Play Audio), and some without, and it works well on desktop Mac and PC. It is published as SWF/HTML5, and t

  • How to change the message in CUCM 7.1(2) " Your Current Options"

    Hi, Can any one help me how to change the system message in CUCM 7.1(2) " Your Current Options" to another text. Thanks...

  • Install both SAP ECC 6.0 EHP 4 and Solution Manager in C drive

    Hi, SDN fellows. I just want to confirm this. I am trying to install SAP ECC 6.0 EHP 4 and Solution Manager in C drive. Are these OK, since they both will be installed under the C:\usr folder? What precaution we need to install these two SAP componen

  • Purchase Order creation using Contarct

    Hi, The refer the following scenario: We have created two company code 1000, 2000; both having diferenet Currency. We have created Plant 1000 under Company Code 1000 & Plant 2000 under Company Code 2000 We want to create only one Purchase Organizatio

  • Unable to view comments created in Acrobat

    I created a PDF in Acrobat that included sticky notes so that when someone rolled over the icon, a text box would pop up.  I uploaded this PDF to the web and now the icons are missing.  Without making the viewer download and save the file, is there a