Show TOC

Procedure documentationAdding Reusable Fields

 

You can reuse existing enhancement fields for other enhanced business objects. These fields can be reused in business objects that are based on the same or on a different field enhancement place.

Using the Same or a Different Enhancement Place

If a reusable field is based on the same enhancement place, no new enhancement is created. The reused enhancement is activated in the business object in which this enhancement is reused.

A field can be reused on a different enhancement place if a data flow is defined between different business objects. For example, a field from the sales order header can be reused in the billing due list. In that case, the values are automatically transferred. The reused enhancement is copied from the original enhancement place to the other enhancement place. A mapping algorithm is used to map the enhancement value from the source enhancement place to the target enhancement place.

Prerequisites

You have enabled the configuration mode in the general settings on the central personalization page of the WebClient UI.

Procedure

  1. Start the WebClient UI and select the application where you have created a field you want to reuse.

  2. Start the page configuration in the application.

  3. Click Show Enhancements.

  4. Select an enhanced object, if several enhanced objects are available.

Adding a Reusable Field to the Current Enhanced Business Object
  1. Click Add Reusable Field in the Fields block, to check which reusable fields are available.

    Note Note

    In the Reuse Type column, you can see if a reused field is based on the same enhancement place or on a different enhancement place.

    End of the note.
  2. Select a field and add it to the enhanced object.

Adding a Reusable Field to Different Enhanced Business Objects
  1. Open the Field Details dialog box of the field that you want to reuse.

  2. Expand the Reuse Object Part assignment block.

  3. Select the Active checkbox of all object parts where you want to reuse the field.

  4. Close the window and choose the Save and Generate pushbutton.

Result

Reused fields are displayed in a separate block in the Details block. You can now add the reused field to the UI configuration of the new business objects.

Example

You have created a field in the sales order header. You now want to add this field to the service order header. Both business objects are based on the same enhancement place INCL_EEW_ORDERADM_H, which is included in CRMD_ODRDERADM_H. If you now reuse this field in the service order header, it is activated for the service order in this enhancement place.

You have created a field in the service contract. You now want to add this field to the billing due list. Both business objects are based on different enhancement places. If you now reuse this field in the billing due list, this field is copied and created in the billing due list enhancement place.