SAP ABAP Data Element CNV_10020_RELATION (Logical link)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-GTF-BS (Application Component) Business Application Support
     CNV_10020 (Package) CNV package 10020
Basic Data
Data Element CNV_10020_RELATION
Short Description Logical link  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CNV_10020_RELATION    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 LLk 
Medium 20 Logical link 
Long 20 Logical link 
Heading LLk 
Documentation

Definition

You can define different alternatives for determination for a field to be converted. The system then processes these alternatives sequentially during determination. Depending on how the logical operators are defined, this processing may be stopped early. In this case, the system displays the results of all determination paths that have been processed up to this point unless they have been reset by an alternative without logical operator (see notes).

" " (no logical operator)

The system stops the processing as soon as an alternative returns a result (no matter if it is relevant or not). The next alternative is processed only if determination for the current alternative has failed.

The relevance of the block is determined in the following way:

  • If an alternative returns a result, the system returns the corresponding relevance.
  • If none of the alternatives returns a result, the returned overall result will be 'not relevant' if delimitation takes place and 'relevant' if determination takes place.

Example: You want to get the company code information for a table. The table does contain a field for the company code. However this field is not always filled. If the field is not filled, the company code should be determined based on the plant.

"A" (AND)

Processing is stopped as soon as the determination fails or the result 'not relevant' is returned for an alternative. The next alternative is processed only if all previous alternatives for the AND block were rated as relevant or partly relevant.

The relevance of the AND block is determined in the following way:

  • If all alternatives of the AND block return the result 'relevant' or 'partially relevant', the overall result is returned as 'relevant' or 'partly relevant', respectively.
  • If one alternative returns the result 'not relevant', the overall result is returned as 'not relevant'.
  • If an alternative fails, the overall result is returned as 'not relevant' if delimitation takes place and 'relevant' if determination takes place.

Example: You want to do a currency conversion in two out of the three existing controlling areas. However the conversion is relevant only for certain currency types.

"O" (OR)

Processing is stopped as soon as one alternative returns the result 'relevant' or 'partly relevant'. The next alternative is processed only if determination failed or if the result was 'not relevant' for all previous alternatives for the OR block.

The relevance of the OR block is determined in the following way:

  • If one alternative returns the result 'relevant' or 'partially relevant', the overall result is returned as 'relevant' or 'partially relevant', respectively.
  • If all alternatives return the result 'not relevant', the overall result is returned as 'not relevant'.
  • If all alternatives fail, the overall result is returned as 'not relevant' if delimitation takes place and 'relevant' if determination takes place.

Example: You want to do a currency conversion in two out of the three existing controlling areas. However the conversion is relevant only for certain currency types.

"C" (collective OR)

Processing is not stopped under any circumstances, each existing alternative is always processed.

The relevance of the collective OR block is determined in the following way:

  • If all alternatives return the result 'relevant', the overall result is returned as ' relevant'.
  • If all alternatives return the result 'not relevant', the overall result is returned as 'not relevant'.
  • In all other cases, the overall result is returned as 'partially relevant'.
  • If determination fails for an alternative, this fact is considered in the overall result only if all other alternatives failed as well. If the latter applies, the overall result is returned as 'not relevant' if delimitation takes place and 'relevant' if determination takes place.

Example: A line item in a document has more than one field that contains an object number. For each of these object numbers, you want to determine the company code and get the collected results of the determination so that you can analyze them.

Notes

  • A logical operator Li of the alternative Ai always refers to the complete block B of the alternatives A1 to Ai and the alternative Ai+1 after the operator, for example
    ((A1 AND A2) OR A3) AND A4
    This means that, for example, the following cannot be implemented:
    (A1 AND A2) OR (A3 AND A4)

History
Last changed by/on SAP  20141030 
SAP Release Created in