C_BillingDocReqItemObjPg

DDL: C_BILLINGDOCREQITEMOBJPG SQL: CSDBDRITEMFS Type: view CONSUMPTION

Billing Doc. Request Item Object Page

C_BillingDocReqItemObjPg is a Consumption CDS View that provides data about "Billing Doc. Request Item Object Page" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentRequestItem) and exposes 55 fields with key fields BillingDocumentRequest, BillingDocumentRequestItem. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocumentRequestItem I_BillingDocumentRequestItem from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_BillingDocRequestObjPg _BillingDocumentRequest $projection.BillingDocumentRequest = _BillingDocumentRequest.BillingDocumentRequest
[0..*] C_PricingElement _PricingElement $projection.salesdocumentcondition = _PricingElement.PricingDocument and $projection.BillingDocumentRequestItem = _PricingElement.PricingDocumentItem
[0..*] C_SDDocumentPartnerCard _SDDocumentPartnerCard $projection.BillingDocumentRequest = _SDDocumentPartnerCard.SDDocument and $projection.BillgDocRequestItemInPartSgmt = _SDDocumentPartnerCard.SDDocumentItem
[0..1] I_BillgDocReqBillgSts _OrderRelatedBillingStatus $projection.OrderRelatedBillingStatus = _OrderRelatedBillingStatus.BillgDocReqBillgSts
[1] E_BillingDocumentItem _Extension $projection.BillingDocumentRequest = _Extension.BillingDocument and I_BillingDocumentRequestItem.BillingDocumentRequestItem = _Extension.BillingDocumentItem

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSDBDRITEMFS 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 Doc. Request Item Object Page view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot false view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentRequest
KEY BillingDocumentRequestItem
BillingQuantity BillingQuantity Invoiced Qty
BillingQuantityUnit BillingQuantityUnit Sales Unit
Material Vehicle Model
SalesDocumentItemCategory SalesDocumentItemCategory Item Category
NetAmount NetAmount Stated Amount
TaxAmount I_BillingDocumentRequestItem TaxAmount Tax Amt in Rptg Crcy
GrossAmount GrossAmount Gross value
TransactionCurrency I_BillingDocumentRequestItem TransactionCurrency Transaction Currency
SenderLogicalSystem
ReferenceSDDocument
ReferenceSDDocumentItem
ReferenceDocSDDocCategory
Plant I_BillingDocumentRequestItem Plant Valuation Area
OrganizationDivision I_BillingDocumentRequestItem OrganizationDivision Org. Division
StorageLocation I_BillingDocumentRequestItem StorageLocation StorageLocation
PricingDate I_BillingDocumentRequestItem PricingDate Pricing Date
StatisticalValueControl I_BillingDocumentRequestItem StatisticalValueControl
MaterialGroup
ServicesRenderedDate I_BillingDocumentRequestItem ServicesRenderedDate Services Rendered Date
DepartureCountry I_BillingDocumentRequestItem DepartureCountry Departure Country / Region
TaxJurisdiction I_BillingDocumentRequestItem TaxJurisdiction Tax Jurisdiction
ProductTaxClassification1 I_BillingDocumentRequestItem ProductTaxClassification1
BusinessArea I_BillingDocumentRequestItem BusinessArea Business Area
OrderRelatedBillingStatus
BillgDocRequestItemInPartSgmt I_BillingDocumentRequestItem BillgDocRequestItemInPartSgmt
BillingDocumentRequestItemText I_BillingDocumentRequestItem BillingDocumentRequestItemText
ServiceDocumentType I_BillingDocumentRequestItem ServiceDocumentType Transaction Type
ServiceDocument I_BillingDocumentRequestItem ServiceDocument Transaction ID
ServiceDocumentItem I_BillingDocumentRequestItem ServiceDocumentItem Service Document
BusinessSolutionOrder I_BillingDocumentRequestItem BusinessSolutionOrder Solution Order
BusinessSolutionOrderItem I_BillingDocumentRequestItem BusinessSolutionOrderItem Solution Order Item
ProviderContract I_BillingDocumentRequestItem ProviderContract Contract
ProviderContractItem I_BillingDocumentRequestItem ProviderContractItem Contract Item
_OrderRelatedBillingStatus _OrderRelatedBillingStatus
_BillingQuantityUnit I_BillingDocumentRequestItem _BillingQuantityUnit
_SalesDocumentItemCategory I_BillingDocumentRequestItem _SalesDocumentItemCategory
_TransactionCurrency I_BillingDocumentRequestItem _TransactionCurrency
_ReferenceDocSDDocCategory I_BillingDocumentRequestItem _ReferenceDocSDDocCategory
_Plant I_BillingDocumentRequestItem _Plant
_OrganizationDivision I_BillingDocumentRequestItem _OrganizationDivision
_StorageLocation I_BillingDocumentRequestItem _StorageLocation
_StatisticalValueControl I_BillingDocumentRequestItem _StatisticalValueControl
_DepartureCountry I_BillingDocumentRequestItem _DepartureCountry
_ServiceDocumentType I_BillingDocumentRequestItem _ServiceDocumentType
_MaterialGroup I_BillingDocumentRequestItem _MaterialGroup
_ProviderContract I_BillingDocumentRequestItem _ProviderContract
_ProviderContractItem I_BillingDocumentRequestItem _ProviderContractItem
SalesDocumentCondition _BillingDocumentRequest SalesDocumentCondition
_BillingDocumentRequest _BillingDocumentRequest
_PricingElement _PricingElement
_SDDocumentPartnerCard _SDDocumentPartnerCard
_BusinessAreaText _BusinessAreaText
_MaterialText _MaterialText

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_BillingDocReqItemObjPg.
-- 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: CSDBDRITEMFS

CREATE VIEW C_BillingDocReqItemObjPg AS
SELECT
  cast ( I_BillingDocumentRequestItem.BillingDocumentRequest as sdbil_odata_bdr preserving type ) AS BillingDocumentRequest,
  cast(ltrim(I_BillingDocumentRequestItem.BillingDocumentRequestItem, '0') as odata_item_number ) AS BillingDocumentRequestItem,
  BillingQuantity,
  BillingQuantityUnit,
  cast (Material as productnumber preserving type) AS Material,
  SalesDocumentItemCategory,
  NetAmount,
  I_BillingDocumentRequestItem.TaxAmount AS TaxAmount,
  GrossAmount,
  I_BillingDocumentRequestItem.TransactionCurrency AS TransactionCurrency,
  cast( I_BillingDocumentRequestItem.ReferenceLogicalSystem as sdbil_odata_source_system preserving type ) AS SenderLogicalSystem,
  cast( I_BillingDocumentRequestItem.ReferenceDocument as sdbil_odata_source_document preserving type ) AS ReferenceSDDocument,
  cast( I_BillingDocumentRequestItem.ReferenceDocumentItem as sdbil_odata_src_doc_item preserving type ) AS ReferenceSDDocumentItem,
  cast( I_BillingDocumentRequestItem.ReferenceDocSDDocCategory as sdbil_odata_src_doc_cat preserving type ) AS ReferenceDocSDDocCategory,
  I_BillingDocumentRequestItem.Plant AS Plant,
  I_BillingDocumentRequestItem.OrganizationDivision AS OrganizationDivision,
  I_BillingDocumentRequestItem.StorageLocation AS StorageLocation,
  I_BillingDocumentRequestItem.PricingDate AS PricingDate,
  I_BillingDocumentRequestItem.StatisticalValueControl AS StatisticalValueControl,
  cast (I_BillingDocumentRequestItem.MaterialGroup as productgroup preserving type) AS MaterialGroup,
  I_BillingDocumentRequestItem.ServicesRenderedDate AS ServicesRenderedDate,
  I_BillingDocumentRequestItem.DepartureCountry AS DepartureCountry,
  I_BillingDocumentRequestItem.TaxJurisdiction AS TaxJurisdiction,
  I_BillingDocumentRequestItem.ProductTaxClassification1 AS ProductTaxClassification1,
  I_BillingDocumentRequestItem.BusinessArea AS BusinessArea,
  cast( I_BillingDocumentRequestItem.BillgDocReqBillgSts as bdr_status preserving type ) AS OrderRelatedBillingStatus,
  I_BillingDocumentRequestItem.BillgDocRequestItemInPartSgmt AS BillgDocRequestItemInPartSgmt,
  I_BillingDocumentRequestItem.BillingDocumentRequestItemText AS BillingDocumentRequestItemText,
  I_BillingDocumentRequestItem.ServiceDocumentType AS ServiceDocumentType,
  I_BillingDocumentRequestItem.ServiceDocument AS ServiceDocument,
  I_BillingDocumentRequestItem.ServiceDocumentItem AS ServiceDocumentItem,
  I_BillingDocumentRequestItem.BusinessSolutionOrder AS BusinessSolutionOrder,
  I_BillingDocumentRequestItem.BusinessSolutionOrderItem AS BusinessSolutionOrderItem,
  I_BillingDocumentRequestItem.ProviderContract AS ProviderContract,
  I_BillingDocumentRequestItem.ProviderContractItem AS ProviderContractItem,
  I_BillingDocumentRequestItem._BillingQuantityUnit AS _BillingQuantityUnit,
  I_BillingDocumentRequestItem._SalesDocumentItemCategory AS _SalesDocumentItemCategory,
  I_BillingDocumentRequestItem._TransactionCurrency AS _TransactionCurrency,
  I_BillingDocumentRequestItem._ReferenceDocSDDocCategory AS _ReferenceDocSDDocCategory,
  I_BillingDocumentRequestItem._Plant AS _Plant,
  I_BillingDocumentRequestItem._OrganizationDivision AS _OrganizationDivision,
  I_BillingDocumentRequestItem._StorageLocation AS _StorageLocation,
  I_BillingDocumentRequestItem._StatisticalValueControl AS _StatisticalValueControl,
  I_BillingDocumentRequestItem._DepartureCountry AS _DepartureCountry,
  I_BillingDocumentRequestItem._ServiceDocumentType AS _ServiceDocumentType,
  I_BillingDocumentRequestItem._MaterialGroup AS _MaterialGroup,
  I_BillingDocumentRequestItem._ProviderContract AS _ProviderContract,
  I_BillingDocumentRequestItem._ProviderContractItem AS _ProviderContractItem,
  _BillingDocumentRequest.SalesDocumentCondition AS SalesDocumentCondition
FROM I_BillingDocumentRequestItem
LEFT OUTER JOIN C_BillingDocRequestObjPg AS _BillingDocumentRequest ON BillingDocumentRequest = _BillingDocumentRequest.BillingDocumentRequest  -- association [1..1]
LEFT OUTER JOIN C_PricingElement AS _PricingElement ON salesdocumentcondition = _PricingElement.PricingDocument AND BillingDocumentRequestItem = _PricingElement.PricingDocumentItem  -- association [0..*]
LEFT OUTER JOIN C_SDDocumentPartnerCard AS _SDDocumentPartnerCard ON BillingDocumentRequest = _SDDocumentPartnerCard.SDDocument AND BillgDocRequestItemInPartSgmt = _SDDocumentPartnerCard.SDDocumentItem  -- association [0..*]
LEFT OUTER JOIN I_BillgDocReqBillgSts AS _OrderRelatedBillingStatus ON OrderRelatedBillingStatus = _OrderRelatedBillingStatus.BillgDocReqBillgSts  -- association [0..1]
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocumentRequest = _Extension.BillingDocument AND I_BillingDocumentRequestItem.BillingDocumentRequestItem = _Extension.BillingDocumentItem  -- association [1]
;