Methods 

Use

Methods are used in object determination and in activation. Methods are procedures for selecting objects or for defining a requirement for activation.

You can use methods to create logical conditions made up of multiple individual comparisons. You combine these by means of logical AND or logical OR statements. A comparison consists of two comparison operands and a comparison operator, such as a > b. The operands are either functions valid in the current environment or are constants. The method results in the values True or False for an activation and in the selection of an object or group of objects for an object selection.

For more information, see Object Determination, or Activation.

To define a method, you create different columns, each consisting of a header and at least one cell. The header serves as the first comparison operand and each cell as the sequential second operand. A column with three cells, therefore, represents three comparisons.

When the R/3 System valuates a method, the entries in the column cells are linked with a logical OR. The resulting quantity of a column is treated as a default value and is linked with the resulting quantities from other columns with a logical AND. You can change the default values if necessary.

For more information, see Changing Logical Conditions of Columns.

Example

You want to create the following condition:

(x > 10 OR x Î M) AND x < 100 with M = { 2 ; 20 ; 200 }. Here, x and M represent functions from the current process template environment.

To do so, you create the following columns:

1. Column

2. Column

Comparison operand 1: x

Comparison operand 1: x

1. Second row

Comparison operator: >

Comparison operand 2: 10

1. Second row

Comparison operator: <

Comparison operand 2: 100

2. Second row

Comparison operator: IN

Comparison operand 2: M

 

 

See also:

Defining Methods

Flexible Functions

Functions in Environments