C_SlsDocFlfmtBillgDocItem

DDL: C_SLSDOCFLFMTBILLGDOCITEM SQL: CSOBILLDOCITEM Type: view CONSUMPTION

Sales Doc Fulfillment: Billing Doc Item

C_SlsDocFlfmtBillgDocItem is a Consumption CDS View that provides data about "Sales Doc Fulfillment: Billing Doc Item" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentItem) and exposes 18 fields with key fields BillingDocument, BillingDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocumentItem Item from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_BillingDocumentItem _Extension $projection.BillingDocument = _Extension.BillingDocument and $projection.BillingDocumentItem = _Extension.BillingDocumentItem

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey BillingDocumentItem view
EndUserText.label Sales Doc Fulfillment: Billing Doc Item view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
Search.searchable false view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName CSOBILLDOCITEM view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocumentItem BillingDocument SD Document
KEY BillingDocumentItem I_BillingDocumentItem BillingDocumentItem Item
SalesDocumentItemType I_BillingDocumentItem SalesDocumentItemType
SalesDocumentItemCategory I_BillingDocumentItem SalesDocumentItemCategory Item Category
BillingDocumentItemText I_BillingDocumentItem BillingDocumentItemText Item Descr.
Material
MaterialName
BillingQuantity I_BillingDocumentItem BillingQuantity Invoiced Qty
BillingQuantityUnit I_BillingDocumentItem BillingQuantityUnit Sales Unit
ItemNetAmountOfBillingDoc I_BillingDocumentItem NetAmount Stated Amount
ItemGrossAmountOfBillingDoc I_BillingDocumentItem GrossAmount Gross value
TaxAmount I_BillingDocumentItem TaxAmount Tax Amt in Rptg Crcy
TransactionCurrency I_BillingDocumentItem TransactionCurrency Transaction Currency
_BillingDocument _BillingDocument
_SalesDocumentItemCategory _SalesDocumentItemCategory
_SalesDocumentItemType _SalesDocumentItemType
_TransactionCurrency _TransactionCurrency
_BillingQuantityUnit _BillingQuantityUnit

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_SlsDocFlfmtBillgDocItem.
-- 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: CSOBILLDOCITEM

CREATE VIEW C_SlsDocFlfmtBillgDocItem AS
SELECT
  Item.BillingDocument AS BillingDocument,
  Item.BillingDocumentItem AS BillingDocumentItem,
  Item.SalesDocumentItemType AS SalesDocumentItemType,
  Item.SalesDocumentItemCategory AS SalesDocumentItemCategory,
  Item.BillingDocumentItemText AS BillingDocumentItemText,
  cast(Item.Material as productnumber preserving type ) AS Material,
  Item._MaterialText[1:Language=$session.system_language].MaterialName AS MaterialName,
  Item.BillingQuantity AS BillingQuantity,
  Item.BillingQuantityUnit AS BillingQuantityUnit,
  Item.NetAmount AS ItemNetAmountOfBillingDoc,
  Item.GrossAmount AS ItemGrossAmountOfBillingDoc,
  Item.TaxAmount AS TaxAmount,
  Item.TransactionCurrency AS TransactionCurrency
FROM I_BillingDocumentItem AS Item
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocument = _Extension.BillingDocument AND BillingDocumentItem = _Extension.BillingDocumentItem  -- association [0..1]
;