Show TOC

 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.

Note Note

If you activate time dependency for the Business Partner, the new fields are also time dependent.

End of the note.

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

  • 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.

    Note Note

    • 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.

    End of the note.
  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).

Note Note

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.

End of the note.
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 creates the function modules for the BDT event DINP2. This makes the new fields available in external data transfer workbench.

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.