Hierarchy
⤷ IS-U-BI (Application Component) Contract Billing
⤷ EE20 (Package) IS-U: Billing
Basic Data
Data Element | STGRQNT |
Short Description | Quantity statistics group |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | STGRQNT | |
Data Type | CHAR | Character String |
Length | 6 | |
Decimal Places | 0 | |
Output Length | 6 | |
Value Table | TE540 |
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 | Qty st.grp |
Medium | 15 | Qty stat. group |
Long | 20 | Quantity stat. group |
Heading | 7 | Qty SG |
Documentation
Definition
You must enter the quantity statistics group and the amount statistics group in the billing schema for all steps whose variant programs generate billing line items relevant to posting. The values of these fields are transferred during billing to the billing line items generated by the particular step. The statistics groups control how the billing line items are processed in the following ways:
- Via the statistics groups you define to which key figures of the Utilities Information System (UIS) communication structure MCVU_ESTA the quantity and the amount of a billing line item are copied. You can suppress the update of a quantity or an amount to UIS by entering the statistics group 000000. You can also copy the quantity or the amount of the billing line item to several key figures.
- Via the statistics groups you also define to which value fields of the operating concern the quantity and the amount of a billing line item are copied. This only affects the statistical posting in Profitability Analysis (CO-PA).
- To carry out an actual posting of value flows in CO-PA, you do not allocate any update rules to a statistics group. You can control this update by means of the PA transfer structures. For the actual posting in CO-PA, all billing line items of a billing document are processed for which the field Billing line item is relevant to posting is selected. The amounts of these billing line items are always transferred for the actual posting. You can, however, suppress the transfer of these billing line items by not selecting the Relevant to actual posting in CO-PA field for the quantity statistics group.
Example
The following example illustrates the techncial principles of how the statistics groups function.
- You create the following value fields in operating concern 1000:
- VV100
- VV105
- VV070
- You extend the MCVU_ESTA communication structure to include the following key figures:
- Q_100
- Q_105
- A_070
- You create the quantity statistics group QNT100 and the amount statistics group AMT100.
- You maintain the following update rules:
- Update of quantity to CO-PA:
QtyStGrp OpCon. D Qty value field Arithmet.
QNT100 1000 VV100 +
QNT100 1000 X VV105 -
- Update of quantity to UIS:
AmtStGrp D Qty key figure Arithmet.
QNT100 Q_100 +
QNT100 X Q_105 -
- Update of amount to CO-PA:
AmtStGrp OpCon. D Amt value field Arithmet.
AMT100 1000 VV070 +
- Update of amount to UIS:
AmtStGrp D Amt key figure Arithmet.
AMT100 A_070 +
- You create a billing schema. You use both statistics groups - QNT100 and AMT100 - in one of the schema steps.
- You use the billing schema to bill a contract that is assigned to operating concern 1000. This generates a billing document that contains both of the following billing line items:
No. Diff.line Net amount Bill.qty QtyStGrp AmtStGrp
001 ' ' 200.00 2000 QNT100 AMT100
002 'X' -10.00 -100 QNT100 AMT100
When this document is transferred to sales statistics (UIS), the values of the two billing line items are tranferred to the communication structure. The fields of the billing line item (ERCHZ) are allocated to the fields of the communication structure (MCVU_ESTA) by means of same field names - based on the fields of the communication structure (MCVU_ESTA). However, the billing quantity (ERCHZ-I_ABRMENGE) and the net amount of the billing line item (ERCHZ-NETTOBTR) are transferred to the communication structure field that is specified in the update rules for the statistics groups. This means the following for our example:
- The billing quantity for the first billing line item (numeric value: 2000) is added to the MCVU_ESTA-Q_100 field. The net amount (200.00) is added to the MCVU_ESTA-A_070 field.
- The billing quantity for the second billing line item (numeric value: -100) is subtracted from the MCVU_ESTA-Q_105 field. The net amount is ignored since no update rule was defined for difference lines.
If this document is posted statistically to CO-PA, the billing line items are processed in a similar way. The CO-PA update rules establish to which value fields the billing quantity and the net amount are copied. For the first billing line item, this is the quantity value field VV100 and the amount value field VV070. For the second billing line item, the quantity is subtracted from the quantity value field VV105.
History
Last changed by/on | SAP | 20050224 |
SAP Release Created in |