Entering content frameFunction documentation Methods Locate the document in its SAP Library structure

Use

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

You can use methods to create logical conditions comprising 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 that are valid in the current environment, or they are constants. The method results in the values True or False for an activation and for one or more objects during the selection.

Valid Comparison Operators

Editor Call from an Object Column (Selection):

The following are allowed:

Possible comparison operators: = <> <= >= <>

You can link these terms with each other using AND, and for the business process row type (but only there), also using OR. These can, in turn, be separated from each other by parentheses.

Example

Row type Business Process:

Row type Cost Center/Activity Type:

The following terms/operators are not allowed:

Editor Call from an Activation Column (Selection):

The following are allowed:

Possible comparison operators: = <> <= >= <>

You can use the Boolean operator AND and OR to link terms.

The following terms/operators are not allowed:

Note

Function Types

There are two types of function:

The following explains what type each function is:

  1. Call up Maintain Environments and Function Trees (transaction CTU6).
  2. Choose the function.
  3. Choose the Realization tab page:
  4. If the Table Name/Field Name fields contain entries, then this is a function that is defined for a table/field.

If the ABAP Function Reference field has an entry, then this function was defined for an ABAP function module.

Note

IN Operator

The editor was improved and thus the quantity operator IN had to be introduced. Values that you entered in the old editor in a column in one of the editors are now defined using IN and a bracketed literal value sequence separated by a comma.

Example

Old

Column 1

Column 2

Sender Process

 

'1'

 

'2'

 

'3'

 

New

Sender process IN ( '1', '2', '3' )

See also:

Structure linkObject Determination

Structure linkActivation.

Defining Methods

Structure linkFlexible Functions

Functions in Environments

 

 

Leaving content frame