Hierarchy
⤷ FI-LOC (Application Component) Localization
⤷ J3RFTAX (Package) Tax Accounting
Basic Data
Data Element | J_3RF_REP_ATTREXPR |
Short Description | Logical Expression for Reporting Object Attribute Value eval |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | CHAR255 | |
Data Type | CHAR | Character String |
Length | 255 | |
Decimal Places | 0 | |
Output Length | 255 | |
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 | Expression |
Medium | 20 | Value Expression |
Long | 40 | Attribute Value Expression |
Heading | 50 | Expression for Attribute Value Evaluation |
Documentation
Definition
Use
It's possible to use any mix of logical and mathematical expressions.
It's possible to insert link to other attributes. Link should be placed in "{" "}" brackets. Currently there are two ways to define link:
- {attribute_name@node_name}
- {node_name->attribute_name}
Both of this notations are equal.
Some small support for formulae: it is possible to use formula within the curly braces with next syntax.
- {function name: attribute_ref1, attribute_ref2, ..., attribute_refn}
where attribute_ref1, ...., attribute_refn are references to attribute, formed as described above
and function name is one of:
- MIN (minimum of values)
- MAX (maximum of values)
- AVG (average value)
Some child-traversing formulae support: formula which returns value of attributes pertaining to the children of
tag is always called with the next syntax
- {function name: tag_name, attribute_name, max_depth(optional), min_depth(optional) }
where
- function_name - name of function to calculate (see list of supported functions below).
- tag_name is name of tag to start processing from (could be \self for reference to tag - owner of formula),
- attribute_name - name of attribute to process by function; it is possible to limit the attributes by
adding tag name to attribute (i.e. attribute_name@child_tag_name or child_tag_name->attribute_name ).
- max_depth - maximal relative depth to go down to from the tag_name, By default, it is 1 for
unlimited attribute_name and 20 for limited attribute_name.
- min_depth - minimal relative depth, which is taken into accound. By default, 1.
Functions currently supported:
- SUM-OF (sum of attribute values)
- AVG-OF (average value)
- MIN-OF (minimum value)
- MAX-OF (maximum value)
- MID-OF (median value)
Dependencies
Example
{tag3->attr5} + {attr3@tag7} * 18 - {attr7@tag4}
{min:tag1->attr6, tag2->attr7}
{sum-of: \self, tag1->attr6, 14, 2}
{max-of: tag1, attr8, 8, 4}
History
Last changed by/on | SAP | 20130529 |
SAP Release Created in | 607 |