C_BillingDocumentItemFs

DDL: C_BILLINGDOCUMENTITEMFS SQL: CBILLDOCITFS Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_BillingDocumentItem I_BillingDocumentItem from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;