Adding Associations

This option allows you to create an association.

Context

To define a direct and unidirectional relationship between node instances of a business object, add the Associations entity. You can define associations between node instances of the same business object or between node instances of different business objects.

Prerequisite
  • You have already created a business object.

Procedure

  1. In the Project Explorer view, choose a business object.
  2. In the context menu, choose Open.

    The Overview page appears.

  3. Choose the Nodes page.
  4. Select a node.
  5. Press Ctrl + click to open the node Overview page.
  6. Choose the Associations page.
  7. Choose New.
  8. In the New Association wizard, enter the following details:
    1. Name: Enter a name for the association.
    2. Description: This is an optional field. Enter a short description of the purpose of the association.
    3. Target BO: Enter the name of the target business object.
    4. Target Node: Enter the name of the target node.
    5. Multiplicity: Choose cardinality for the association. Cardinality defines the number of node instances connected to a single source instance.
    6. Filter Structure: This is an optional field. You can use this field to provide an additional importing filter for implementing the association. You can either choose an existing structure or create a new one.
  9. Choose Finish.
  10. To check for correctness of business object, choose (Check ABAP Development Object) from the toolbar.
  11. To activate the business object, choose Edit > Activate ABAP Development Object.

    TIP

    You can also use (Activate ABAP Development Object) in the toolbar.