Show TOC Start of Content Area

Procedure documentation Adding Branch Validations  Locate the document in its SAP Library structure

Use

You can add a branch validation as described in this section.

Procedure

To add a branch validation:

       1.      If necessary, click on the Validations tab to make it the active tab.

       2.      In the Validations pane, select the parent validation for which you want to add a branch.

       3.      Right-click on the parent validation and choose Add Branch from the context menu, or choose Records ® Validations ® Add Branch from the main menu.

MDM adds a new validation named parent validation [NULL] to the list of validations, and highlights it for editing.

       4.      In the Branch property, select the category value for the branch from the drop-down list of categories.

       5.      Define the Validation expression for the branch validation. All the other properties are disabled and read-only.

       6.      To save the branch validation, right-click on the Properties pane and choose Save Validation from the context menu, or press Shift + Enter.

MDM names the new branch parent validation [category] and if it is not already part of it, adds the function Branch(Category) to the parent.

Note

To run all of the branches of a parent validation, simply run the parent validation.

Validation branches eliminate complicated expressions that test the category value and then branch accordingly, since the branch automatically runs the applicable category-specific validation based on the value of the category for each record.

 

End of Content Area