Ansicht
Dokumentation

ABENLOGEXP_BRACKET - LOGEXP BRACKET

ABENLOGEXP_BRACKET - LOGEXP BRACKET

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- ( )

... ( log_exp ) ...

Effect

A complete logical expression log_exp can be placed in parentheses in order to define the priority of processing. log_exp can be a combination of multiple expressions using AND, OR, or EQUIV or a logical expression negated using NOT. A logical expression in parentheses is itself a logical expression.

Note

The smallest unit of a logical expression that can be placed in parentheses is a relational expression.

Example

A combination of the following logical expressions

NOT log_exp1 OR log_exp2 AND NOT log_exp3 AND log_exp4 EQUIV log_exp5

can be parenthesized explicitly as follows to stress the implicit parentheses:

  1. Parentheses around the expressions with NOT
( NOT log_exp1 ) OR
log_exp2 AND ( NOT log_exp3 ) AND log_exp4 EQUIV log_exp5

  1. Parentheses around the expressions with AND
( NOT log_exp1 ) OR
( log_exp2 AND ( NOT log_exp3 ) AND log_exp4 ) EQUIV log_exp5

  1. Parentheses around the expressions with OR
( ( NOT log_exp1 ) OR
  ( log_exp2 AND ( NOT log_exp3 ) AND log_exp4 ) ) EQUIV log_exp5

  1. Parentheses around the expressions with EQUIV
( ( ( NOT log_exp1 ) OR
  ( log_exp2 AND ( NOT log_exp3 ) AND log_exp4 ) ) EQUIV log_exp5 )

Changing the parentheses explicitly changes the meaning of the expression. For example, if explicit parentheses are set as follows in the expression above

( NOT log_exp1 OR log_exp2 ) AND
NOT ( log_exp3 AND log_exp4 EQUIV log_exp5 )

the expression looks as follows after implicit parentheses are set:

( ( ( NOT log_exp1 ) OR log_exp2 ) AND
( NOT ( ( log_exp3 AND log_exp4 ) EQUIV log_exp5 ) ) )






General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2723 Date: 20240420 Time: 063232     sap01-206 ( 41 ms )