Updating BUT000

Hi Experts,
There are customer fields created in BUT000 using EEWB for the role Internet user. I need to update these customer fields on a condition. Please suggest a BAPI which would update the standard SAP table BUT000.
Useful answers will be rewarded.
Thanks and Regards,
Shrita.

Adding New Fields Purpose
Using the Easy Enhancement Workbench (EEW) you can add new fields to the central Business Partner tables BUT000 and BUT000_TD.
If you activate time dependency for the Business Partner, the new fields are also time dependent.
The following functions are supported:
·        Integrating the new fields into the SAP GUI.
The Business Data Toolset (BDT) is used in the case of the SAP GUI.
·        Extension of the external interface of the Business Partner BUS_EI_MAIN
·        Extension of the XIF interface for Business Partner and Business Partner Relationship
·        Extension of the mBDocs BUPA_MAIN and BUPA_REL, sBDocs CAPGEN and CONGEN
·        Extension of the data exchange with R/3 and MSA using middleware.
Postprocessing involved for R/3, see Note 864222.
·        Including and updating the new fields in DataSources for the SAP Business Information Warehouse (SAP BW)
However, subsequent steps should be still be taken in SAP BW to ensure seamless integration.
The system generates all the necessary objects and table entries for this function.
Process
       1.      Use the business object Business Partner (BUPA) and create an extension of the type “add new fields” in order to add new fields to the Business Partner. A wizard helps you to define the individual extensions and provides you with the necessary information for each step.
       2.      Enter a Frame Title for your extension.
       3.      Define the field description, the data type and, if necessary, the field length and decimal length for each field.
·         For Amount and Quantity fields, field length and decimal length are predefined. The Quantity field has length 17 and decimal length 3 and the Amount field has length 17 and decimal length 2.
·         For Amount and Quantity fields, the Currency and Unit fields are automatically generated by the system.
       4.      For each field, define whether a check table should exist.
       5.      You also define for each field whether it should be passed on to SAP BW.
       6.      In the last screen of the wizard you see an overview of the fields that you defined along with the relevant attributes.
       7.      Choose Complete to start the generation.
Technical Realization
The EEW uses the Customizing include structures CI_EEW_BUT000 and CI_EEW_BUT000_X (update structure).
In the object overview, which is made available for each task in the EEW, you can find a detailed overview of all the objects created. There you can also find the technical names of the objects created, which you may need for subsequent processing.
Integration with the Business Partner Dialog
The EEW creates, among other things, the following repository objects and table entries for integration with the Business Partner dialog:
·        A data element and a domain for each field
·        The necessary dynpro structures for each extension
·        Check tables and the relevant maintenance views for the selected fields, if necessary. The maintenance views make it possible to fill the check tables with values during subsequent processing.
·        A function group for each extension
·        A function module for each field for the process events of the PBO and PAI, in which is defined what happens to the fields in the PBO or PAI
·        Function modules for the BDT events DLVE1, DSAVB, ISDST, ISSTA and XCHNG.
·        A BDT view for the SAP GUI for each field
·        One or more BDT sections for each extension
A BDT section can contain up to ten BDT views.
·        Depending on the situation, a BDT screen for the user interface SAP GUI.
When the Business Partner is extended for the first time a new BDT screen (tab page) is created. A BDT screen can contain up to ten BDT sections. If there are more than ten BDT sections per BDT screen, a new BDT screen is generated by the EEW.
Integration with SAP BW
·        The new fields in table BUT000 are automatically included in the DataSource 0BPARTNER for integration with SAP BW.
Integration with External Data Transfer
The Easy Enhancement Workbench extends the XIF interfaces, but regeneration is required. For more information, see Note 864222.
Follow-Up Activities
Depending on the extensions defined in the EEW you have to carry out the following activities later.
Integration with the Business Partner Dialog
·        If check tables for fields have been generated, then you must fill them with values out of the EEW by means of the relevant maintenance views.
·        You may create a function module manually in order to define user-defined checks for the new fields in the dialog. See the BDT manual, section 4.1 “Additional Check for Existing View” for more information.
·        You can adapt the generated BDT views and BDT sections in the SAP GUI to your specific requirements using the Visual Configuration Tool (VCT). You should carry out this adaptation only after all the extensions have been completed.
Integration with SAP BW
The following activities should be carried out subsequently for data exchange with SAP BW.
·        You must define data targets (metadata) and transfer rules for the extended DataSource 0BPARTNER manually.
Result
You have defined one or more fields for the Business Partner. The system has generated the necessary repository objects and table entries. The extension is not valid across different systems, which means that follow-up actions may be necessary. Also see Note 864222.
I hope this makes things a bit more clear.
if  helpful, please reward with points.
cheers
davy

Similar Messages

  • Update BUT000 attributes using APD

    Dear All,
    I need to update attributes of BUT000 directly using APD. Can anyone suggest how do i go about.
    I have already created the necessary query but i am not sure What Data Taget i have to use.
    Plz help.
    Regards,
    SS

    Hi,
    Please specify what is BUT000. Is it infoobject. Do you have any specific pseudo logic to update it.
    You can use joins, routine etc to update it.
    Regards,
    Pravin

  • Updating but000- Augrp when delta queue is created

    Hi All,
             my requirement is i need to fill the augrp field in but000 when a account group is changed in R/3
    i have tried using FM below in badi BUPA_FRG0040_UPDATE and in GENERAL update but it throws an error <b>NESTED_PERFORM_ON_COMMIT caller: SAPLB
    GNERAL_BADI_CALL</b> CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
                  EXPORTING
                    BUSINESSPARTNER = L_BUT000-PARTNER
                    CENTRALDATA     = GET_CENTRAL
                    CENTRALDATA_X   = CENTRAL_X.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    Can any one help me out with this .....
    Thanks.

    The reason that the delta for the changes you made to the material showed up in the delta queue for 2LIS_03_BF, instead of 2LIS_03_UM, is due to the difference sources for that data.
    The MKPF and MSEG (Material Movements) tables, along with MBEW (Material Valuations) table, are the source for the 2LIS_03_BF DataSource and not for the 2LIS_03_UM DataSource. The 2LIS_03_UM DataSource is sourced by the BKPF and BSEG (Accounting Documents) tables.
    Since you changed the material price and added new material prices, there were no accounting transactions that took place and that is why no delta went to the 2LIS_03_UM DataSource delta queue. Once you have an accouting transaction take place, with an associated material movement, then you will have a delta generated for the 2LIS_03_UM DataSource.

  • BDOC - Update a Z field in BUT000 whenever a salesorder is created in ECC

    Hi ,
    The requirment is, whenever an sales order is created in ECC for a perticular customer, I need to send one field with value 'X' in it to CRM and update BUT000-ZZODER field (I created ZZODER field in BUT000 using EEWB).
    User wants this to be done using BDOC and it is the 1st time i am working on bdoc. Could any one please help me doing it?
    It will make my life easy if you can send me a step by step process.
    Cheers,
    Kalyan

    Hi Kalyan,
    I have few questions before suggesting you an solution,
    are you replicating orders from ECC to CRM
    are you planning to replicate the entire order or is it just one field.
    If you are replicating orders then you may have use BADis to aceive this, checking on the order type you can update the Zfield for specific order type.
    If its just one field then you may have to configure a new adapter, write in some code to acheive this.
    regards,
    Sameer Ahamad

  • Update Business Partner..

    Hi Experts,
    Have a custom Field in Business Partner. I need to update this Custom Field.
    please help me with some bapi to update the custom fields in Business Partner.
    or some way to update the zfield in the table BUT000.
    thanks,
    regards,
    akshay ruia.

    Not sure, may be this thread helps you
    Business partner table update(BUT000)

  • Prpblem with 'BAPI_BUPA_CENTRAL_CHANGE'

    Dear friends
      I am updating a field using the bapi_bupa_central_change bapi. I m updating but000 tables xdele archive flag indicator to yes (x). My problem is i am failed to update the table. would you like to tell me where i am making mistakes..
    any correstion or suggetion will be great help of mine... thanking you,,,
    regards naim
    i am giving you the code.
    data: wa_bpartner type BAPIBUS1006_HEAD,
          wa_arch_flag type BAPIBUS1006_CENTRAL.
    loop at i_merge_p into wa_i_merge.
    read table i_merge_p into wa_i_merge with key idnumber = wa_i_casep-idnumber.
       if sy-subrc = 0.
          wa_bpartner-bpartner = wa_i_merge-partner.
          wa_arch_flag-CENTRALARCHIVINGFLAG = 'X'.
       endif.
    data : cdata like BAPIBUS1006_CENTRAL .
           cdata = wa_arch_flag-CENTRALARCHIVINGFLAG.
    CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
         EXPORTING
          BUSINESSPARTNER = wa_bpartner-bpartner
          CENTRALDATA     = cdata.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
           WAIT         = ''
          IMPORTING
           RETURN       = Return_L.
    endloop.

    Hi Naim,
    Refer the following piece of code and match it with yours. Here whatever fields of central data you need to update, pass the flag 'X' for those fields in centraldata_x.
    *&      Form  f4116_change_central_data
    *       Change the Central Data
      FORM f4116_change_central_data.
        DATA : wa_centraldataorg_x TYPE bapibus1006_central_organ_x,
               wa_centraldata_x    TYPE bapibus1006_central_x.
        CLEAR   : wa_return_bp.
        REFRESH : git_return_bp.
        wa_centraldataorg_x-legalorg  = gc_x.
        wa_centraldataorg_x-legalform = gc_x.
        wa_centraldataorg_x-name1     = gc_x.
        wa_centraldata_x-partnertype     = gc_x.
        wa_centraldata_x-title_key       = gc_x.
        wa_centraldata_x-partnerexternal = gc_x.
    *   Update the Central Information for the Business Partner
        CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
          EXPORTING
            businesspartner           = gv_customer
            centraldata               = wa_central_data
            centraldataorganization   = wa_centraldataorganization
            centraldata_x             = wa_centraldata_x
            centraldataorganization_x = wa_centraldataorg_x
          TABLES
            return                    = git_return_bp.
        READ TABLE git_return_bp INTO wa_return_bp
                            WITH KEY type = gc_error.
        IF sy-subrc EQ 0.
    *     Set IDOC in error(Business Partner Change Failed)
          PERFORM fill_err_log USING gc_x gc_space
                                     gc_i gc_146
          gv_flag = gc_x.
        ENDIF.
      ENDFORM.                    " f4116_change_central_data
    <b>Reward points if it helps.</b>
    Message was edited by: Amit Mishra

  • Testing problem

    Hi,
    i written the below code for Address updation SAP R/3 using BAPI's:
    Please look over it and tell if any more modifications i have to do.
    I didn't get the updation when i am testing.
    Please give me needful updation.
    DATA: BEGIN OF I_BUT000 OCCURS 0,
    PARTNER LIKE BUT000-PARTNER, " Business Partner Number
    NAME_LAST LIKE BUT000-NAME_LAST, " Last Name of Business Partner
    NAME_FIRST LIKE BUT000-NAME_FIRST. " First Name of Business Partner
    DATA : END OF I_BUT000.
    DATA : person type BAPIBUS1006_CENTRAL_PERSON.
    DATA : persondata type BAPIBUS1006_CENTRAL_PERSON_X.
    DATA : centraldataperson like ADDRESX .
    DATA : Adddata type BAPIBUS1006_ADDRESS.
    DATA : Adddatax type BAPIBUS1006_ADDRESS_X.
    DATA : contact like ADDRESX.
    DATA: BEGIN OF ADDRESS OCCURS 0.
    INCLUDE STRUCTURE BAPIBUS1006_ADDRESS.
    DATA: END OF ADDRESS.
    DATA : X type I.
    DATA: BEGIN OF ADTEL OCCURS 0.
    INCLUDE STRUCTURE BAPIADTEL.
    DATA: END OF ADTEL.
    DATA: BEGIN OF ADSMTP OCCURS 0.
    INCLUDE STRUCTURE BAPIADSMTP.
    DATA: END OF ADSMTP.
    DATA : wa_return like lt_return.
    LOOP AT RELATIONSHIPS.
    CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
    EXPORTING
    BUSINESSPARTNER = Businesspartner
    CENTRALDATAPERSON = person
    CENTRALDATAPERSON_X = persondata
    TABLES
    RETURN = lt_return.
    CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
    EXPORTING
    BUSINESSPARTNER = Businesspartner
    ADDRESSDATA = AddData
    ADDRESSDATA_X = AddDatax
    TABLES
    BAPIADTEL = ADTEL
    BAPIADSMTP = ADSMTP
    BAPIADTEL_X = ADTELX
    BAPIADSMT_X = ADSMTPX
    RETURN = lt_return.
    IF lt_return IS INITIAL .
    MOVE-CORRESPONDING ADDRESS TO ADDRESX.
    ADDRESX-CONTACT = RELATIONSHIPS .
    SELECT PARTNER NAME_LAST NAME_FIRST
    FROM BUT000 INTO TABLE I_BUT000
    WHERE PARTNER EQ Relationships.
    IF SY-SUBRC NE 0. CLEAR I_BUT000. ENDIF.
    READ TABLE I_BUT000 INDEX 1.
    ADDRESX-fname = I_BUT000-NAME_FIRST.
    ADDRESX-lname = I_BUT000-NAME_LAST.
    CONCATENATE I_BUT000-NAME_FIRST I_BUT000-NAME_LAST
    INTO ADDRESX-C_O_NAME SEPARATED BY SPACE .
    APPEND ADDRESX.
    UPDATE BUT000 from table I_BUT000.
    ENDIF.
    LOOP AT ADTEL.
    MOVE-CORRESPONDING ADTEL TO ADTELX.
    ADTELX-CONTACT = RELATIONSHIPS.
    APPEND ADTELX.
    ENDLOOP.
    LOOP AT ADSMTP.
    MOVE-CORRESPONDING ADSMTP TO ADSMTPX.
    ADSMTPX-CONTACT = RELATIONSHIPS.
    APPEND ADSMTPX.
    ENDLOOP.
    ENDLOOP.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'.
    *IMPORTING
    RETURN = lt_return.
    ENDFUNCTION.
    Early reply is highely appriciable.
    Regards,
    Chow.

    Hi Rob,
    Even though i did i haven't get the data.
    please give the detail solution.
    I am in hurry on this.
    early reply is highely appriciable.
    Regards.
    chow.

  • EEWB and EBT

    I am working on a task to add custom fields to a standard SAP BP tab. I was going to use EEWB to update BUT000 and create the custom tab in BP, then use BDT to move the fields over to the SAP standard tab. I have never done this before, so here are my questions.
    1. After I use EEWB to add the fields to the table/screen, will I need to add code to the BADI? Or, can I take care of the rest with BDT?
    2. Is a combination of BDT and EEWB the best way to accomplish my goal?
    3. If so, please clarify what part of this development do I use EEWV for, and what part do I use BDT for?
    Thanks for your help. It is greatly appreciated!
    Regards,
    Jason

    Hi Jason,
    BDT is a framework and EEWB is a tool. The thingsw hich you can manually do with BDT can be automatically generated using EEWB. So, ultimately the changes done using either is same.
    You can generated the custom field and related coding using EEWB and then use BUPT transaction to move your field to standard tab.
    Smita.

  • BDT & EEWB

    I am working on a task to add custom fields to a standard SAP BP tab.  I was going to use EEWB to update BUT000 and create the custom tab in BP, then use BDT to move the fields over to the SAP standard tab.  I have never done this before, so here are my questions.
    1. After I use EEWB to add the fields to the table/screen, will I need to add code to the BADI? Or, can I take care of the rest with BDT?
    2. Is a combination of BDT and EEWB the best way to accomplish my goal?
    3. If so, please clarify what part of this development do I use EEWV for, and what part do I use BDT for?
    Thanks for your help. It is greatly appreciated!
    Regards,
    Jason

    Hi
    You can do this using BDT. Remove the Section from the Screen of Custom Tab and Attach this section to the Tab where you want . Its very simple.
    Any problem Let me know
    Regards
    Mithlesh

  • BUT000 table augrp filed need to update before save of BP transaction Urgen

    Hi
    I am working on the BDT. I project needs the BUT000 augrp field needs to filled with the it business relation partner augrp combination.
    I am able to get the BUT000 data using FM 'BUP_MEMORY_BUT000_GET and not able to fill back into global memory when FM used here like FILL
    When I tryed to put the code in DSAVC after BUP function module I am able to see the chages in the memory but when it is coming to DASVE at that time the memory is getiing OLD values NO NEW VALUES I FOUND
    I need to know where i need to put this data i.e under which BDT event is DTAKE or DSAVC or DSAVE,
    Please let me know any one worked on this or how we can update the value of BUT000-augrp value
    Points garunted

    I think that Business Data Toolset  is in All in one and not in Business One. If is it so, send question to right forum.

  • Updating Zfields in the BUT000 table

    Hi ,
    I have created new zfields for but000 table . Is there any FM present to Update the newly created Z fields  . ( here  business partner number  is already created using the FM CRM_ISA_REGISTER_CONSUMER .Now i want to update the Zfileds for this business partner created)
    Thanks
    Sruthi

    Hi! Sruthi
    You can use the follwing FM to update the Z fields in BP u jast have to pass the partner guid along with the field that u need to update.
          CALL FUNCTION 'BUPA_CENTRAL_CI_CHANGE'
            EXPORTING
              is_bus000_eew = new Z fields
              iv_xsave      = 'X'
            IMPORTING
              et_return     = return  table.
    Regards
    Mayank

  • BAPI to Update Title of Business Partner ( Table BUT000 )

    Hi
    Which BAPI can be used to Update the TITLE field of Business Partner ( Table BUT000 ) ?
    Warm Regards
    Moderator message - this forum is not meant to replace research that can be EASILY done by the OP.  Please read the Research Resources and Rules of Engagement sticky for links.
    Edited by: William Eastman on Nov 16, 2009 2:59 PM

    BAPI_ISUPARTNER_CHANGE
    Use this bapi
    pass corresponding X in PARTNERDATAX along with PARTNERDATA
    Regards,
    Prajakta

  • BADI/BDT Event to Update Zfields into BUT000

    Hi
    I am looking for updating newly added Z fields of BUT000 table to databse.
    I got confused to two different solutions, as BADI and BUPT Events. Anyone suggest which is the right one. I have used BUPT Control- Screens to enable the Z fields under business partner BP. But got stuck in the next step which we need to update the values from screen to database.
    Can anyone throw some inputs on how to use BADI BUPA_GENERAL_UPDATE or BUPA_GENERAL_EXPORT?? or the SAVE Event. Need your valuable inputs.
    Its a bit urgent to me..pls.
    Cheers
    Manohar

    Hi Manohar,
    You had probably created another thread in the ABAP forum for this.
    BDT Events / BADI
    which has been solved.
    Please close this thread.
    Thanks, Debasish

  • To update BUSORT1 and BPKIND in BUT000 table

    I need to update the BUSORT1(search term1) and BPKIND in BUT000 table for a specific business partner, which is the best way to do it?? Do i have any BAPI or do i need to write a BDC, and i dont want to modify the record directly at table level. Can any body help me...
    Thanks,
    Naresh.

    Hello Jena,
                      The BAPI I used is BAPI_BUPA_CENTRAL_CHANGE to update the values in BUT000.
    Regards,
    Naresh.

  • Mass update of BUT000-Z field, but can't use FM BAPI_BUPA_CENTRAL_CHANGE

    After a data load we have realised that one of the Z fields has not been populated with data and so as a result of this I am attempting to write a quick program to update this Z field. The field is located in table BUT000, but of course I need to update this using the appropriate FM rather than direct table update.
    There seems to be a few' BUT000' FM's and a number of 'CRM_BUPACHANGE' FM's as well. Has anyone used an FM for such an update before?. I think I need to identify the best FM for the job.
    I have also looked at FM BAPI_BUPA_CENTRAL_CHANGE as well, but that does NOT contain the Z field to change.
    With regards
    J Sapora

    Hi Markus,
    I agree with you, but MASS is something very straight forward, plus, don't support paralelization, so if you want to change a smalll amout of data or you really don't care about performance (I mean for the process is the same if the update takes 1 or 4 hours) and the changes doesn't imply a business logic, the user has all the control of which fileds should be changed and for which value, then it's a good option.
    But when extra logic is needed, Mass can become a nightmare, I will write a blog about this if I have the time.
    Cheers!
    Luis

Maybe you are looking for

  • How to make use of autotype generated codecs?

    Hi All, I was wondering if it's possible to make use of codecs genereated by WebLogic autotype task for purposes of object marshalling and demarshalling. The generated codecs don't seem to expose meaningful methods to achieve this. Thanks in advance,

  • Please help...any ideas? scroll pad and the letter 's'

    the scroll pad isnt scrolling around the main menu nor is the letter 's' working at all...you know how many words use the letter 's'??? anyways, any ideas what i should do? i done a battery pull, resetting the phone, updating it.....so help? please?

  • How to enter BIOS edge e530

    Hello, how can I enter the bios in a recently purchased Edge e530 ?? Thanks a lot Solved! Go to Solution.

  • Adobe never working

    I use Windows 8 on my pc and the browsers I use are internet explorer, chrome, and mozilla firefox. On all of these browsers I am having trouble with the updated adobe flash player. Before the update, I had no problems AT ALL. Now, I cannot complete

  • Bluetooth iphone 5s

    Mon iphone 5s ne détecte pas le bluetooth de mon automobile (civic 2012 ex).  Avec mon iphone 4, je n'ai jamais eu de problème.  Comment puis-je régler la situation?? Merci d'avance