Applying Relation Entries in Field Configuration

Objective

After completing this lesson, you will be able to configure a custom relationship between fields

Configure a Custom Relationship Between Fields

Relation Definition in Field Configuration

Once the relation types are imported to SAP Ariba, the custom filtering can be set on related filtered object in Customization ManagerField Configuration. The filtering setup is composed of 4 steps in every class where the filtering applies:

  1. In the corresponding class, find the field that will be filtered:

    • Select the Advanced tab

    • Select Use Relationship Chooser.

    This activates Relation Entry filtering on the selected field.

  2. In Relation Name, select the filtering relation type group defined in RelationType.csv.

  3. In NameTableConstraintFieldPath section, define the path to the filtering field.

    In case the filtering field is located on the same class, refer just the field technical name.

    In other cases the corresponding path must be specified together with the field name. For example, "CompanyCode" reference on requisition line item must be defined as LineItemCollection.CompanyCode.

  4. Optional: Choices are being filtered now, but not yet validated in case filtering object changes the value.

    The validation condition must be modified accordingly on the field in the Conditions tab.

    The pattern is defined as GenericRelationStatisfied.validate(filteredField, filteringField, ‘RelationType.UniqueName', true, false).

Log in to track your progress & complete quizzes