C_BillingDocumentItemFs
Billing Document Item Fact Sheet
C_BillingDocumentItemFs is a Consumption CDS View that provides data about "Billing Document Item Fact Sheet" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentItem) and exposes 24 fields with key fields BillingDocument, BillingDocumentItem. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentItem | I_BillingDocumentItem | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | C_BillingDocumentFs | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
| [0..1] | I_ProductStdVH | _Product | $projection.Material = _Product.Product |
| [1] | E_BillingDocumentItem | _Extension | $projection.BillingDocument = _Extension.BillingDocument and I_BillingDocumentItem.BillingDocumentItem = _Extension.BillingDocumentItem |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CBILLDOCITFS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Billing Document Item Fact Sheet | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.compositionRoot | false | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | BillingDocument | SD Document | |
| KEY | BillingDocumentItem | BillingDocumentItem | Item | |
| Material | Vehicle Model | |||
| BillingQuantity | BillingQuantity | Invoiced Qty | ||
| BillingQuantityUnit | BillingQuantityUnit | Sales Unit | ||
| NetAmount | NetAmount | Stated Amount | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| GrossAmount | GrossAmount | Gross value | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| BillingDocumentItemText | BillingDocumentItemText | Item Descr. | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document | ||
| BusinessSolutionOrder | BusinessSolutionOrder | Solution Order | ||
| BusinessSolutionOrderItem | BusinessSolutionOrderItem | Solution Order Item | ||
| ProviderContract | ProviderContract | Contract | ||
| ProviderContractItem | ProviderContractItem | Contract Item | ||
| _Product | _Product | |||
| _ServiceDocumentType | I_BillingDocumentItem | _ServiceDocumentType | ||
| _BillingDocument | _BillingDocument | |||
| _BillingQuantityUnit | _BillingQuantityUnit | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _ProviderContract | _ProviderContract | |||
| _ProviderContractItem | _ProviderContractItem |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_BillingDocumentItemFs.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CBILLDOCITFS
CREATE VIEW C_BillingDocumentItemFs AS
SELECT
BillingDocument,
BillingDocumentItem,
cast (Material as productnumber preserving type) AS Material,
BillingQuantity,
BillingQuantityUnit,
NetAmount,
TaxAmount,
GrossAmount,
TransactionCurrency,
BillingDocumentItemText,
ServiceDocumentType,
ServiceDocument,
ServiceDocumentItem,
BusinessSolutionOrder,
BusinessSolutionOrderItem,
ProviderContract,
ProviderContractItem,
I_BillingDocumentItem._ServiceDocumentType AS _ServiceDocumentType
FROM I_BillingDocumentItem
LEFT OUTER JOIN C_BillingDocumentFs AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument -- association [1]
LEFT OUTER JOIN I_ProductStdVH AS _Product ON Material = _Product.Product -- association [0..1]
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocument = _Extension.BillingDocument AND I_BillingDocumentItem.BillingDocumentItem = _Extension.BillingDocumentItem -- association [1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA