SAP ABAP Data Element INV_GRANK_KK (Rank of Grouping Characteristic)
Hierarchy
FI-CA (Software Component) FI-CA
   FI-CA-INV (Application Component) Invoicing to Contract Accounts Receivable and Payable
     FKKINV (Package) Invoicing in Contract Accounts Receivable and Payable
Basic Data
Data Element INV_GRANK_KK
Short Description Rank of Grouping Characteristic  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type NUMC3    
Data Type NUMC   Character string with only digits 
Length 3    
Decimal Places 0    
Output Length 3    
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 Rank 
Medium 15 Rank 
Long 20 Rank 
Heading Rank 
Documentation

Definition

In the definition of a grouping variant, you can assign a rank to the individual grouping characteristics. The rank of the grouping characteristic is considered during the determination of the invoicing units in the following case:

  • In the grouping variant, an alternative grouping value is defined for a grouping characteristic.
  • For an alternative grouping value, the value in the alternative use field is 1 as 0, if all characteristics with higher rank agree .

Note:

  • A grouping characteristic with rank 0 has the highest rank.
  • A grouping characteristic with rank 1 has a higher rank than a grouping characteristic with rank 2.

Use

When creating invoicing units, the system checks which documents have the same grouping characteristics. Different grouping characteristics normally lead to two documents not being included in the same invoicing unit. If a document receives a grouping value for which the alternative use 1 as 0, if all characteristics with higher rank agree has been maintained, the grouping characteristics with a lower rank are ignored.

Example

  • A grouping variant uses a grouping characteristic with rank 0, two characteristics with rank 1, and one characteristic with rank 2.
  • During the creation of invoicing units, the system discovers a document where a grouping characteristic with rank 1 has a value for which the alternative use 1 as 0, if all characteristic with higher rank agree has been maintained.
  • The document can be included in an invoicing unit with other documents if the grouping characteristic with rank 0 is the same. Differences in other grouping characteristics with rank 1 or 2 are not considered.

Dependencies

If you do not use the alternative use 1 as 0, if all characteristics with higher rank agree in a grouping variant, you do not have to maintain the rank of the grouping characteristics.

Example

For examples for the definition of grouping variants with a rank, see below.

-> Grouping variants and invoicing units

History
Last changed by/on SAP  20070914 
SAP Release Created in 600