C_BillingDocumentItem_F0797

DDL: C_BILLINGDOCUMENTITEM_F0797 SQL: CBDOCITEMF0797 Type: view CONSUMPTION

Billing Document Item

C_BillingDocumentItem_F0797 is a Consumption CDS View that provides data about "Billing Document Item" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentItem) and exposes 162 fields with key fields BillingDocument, BillingDocumentItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocumentItem Item from

Associations (4)

CardinalityTargetAliasCondition
[0..*] C_PricingElement _PricingElement $projection.pricingdocument = _PricingElement.PricingDocument and $projection.BillingDocumentItem = _PricingElement.PricingDocumentItem
[1] C_BillingDocument_F0797 _BillingDocument $projection.BillingDocument = _BillingDocument.BillingDocument
[0..1] I_WBSElementByExternalID _WBSElementExternalID $projection.wbselementexternalid = _WBSElementExternalID.WBSElementExternalID
[1] E_BillingDocumentItem _Extension $projection.BillingDocument = _Extension.BillingDocument and $projection.BillingDocumentItem = _Extension.BillingDocumentItem

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CBDOCITEMF0797 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Billing Document Item view
Search.searchable true view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.compositionRoot false view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (162)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocumentItem BillingDocument SD Document
KEY BillingDocumentItem I_BillingDocumentItem BillingDocumentItem Item
Material
BillingDocumentItemText I_BillingDocumentItem BillingDocumentItemText Item Descr.
BillingQuantity I_BillingDocumentItem BillingQuantity Invoiced Qty
BillingQuantityUnit I_BillingDocumentItem BillingQuantityUnit Sales Unit
ItemNetAmountOfBillingDoc I_BillingDocumentItem NetAmount Stated Amount
TaxAmount I_BillingDocumentItem TaxAmount Tax Amt in Rptg Crcy
ItemGrossAmountOfBillingDoc I_BillingDocumentItem GrossAmount Gross value
TransactionCurrency I_BillingDocumentItem TransactionCurrency Transaction Currency
ReferenceSDDocumentCategory I_BillingDocumentItem ReferenceSDDocumentCategory Prec.Doc.Categ.
ReferenceSDDocument I_BillingDocumentItem ReferenceSDDocument Reference Doc.
ReferenceSDDocumentItem I_BillingDocumentItem ReferenceSDDocumentItem Reference Item
SalesDocumentItemCategory I_BillingDocumentItem SalesDocumentItemCategory Item Category
SalesDocument I_BillingDocumentItem SalesDocument SD Document
SalesDocumentItem I_BillingDocumentItem SalesDocumentItem Sales Document Item
Plant I_BillingDocumentItem Plant Valuation Area
Division I_BillingDocumentItem Division Internal Division ID
StorageLocation I_BillingDocumentItem StorageLocation StorageLocation
ProductConfiguration I_BillingDocumentItem ProductConfiguration
TransitPlant I_BillingDocumentItem TransitPlant
PricingDate I_BillingDocumentItem PricingDate Pricing Date
StatisticalValueControl I_BillingDocumentItem StatisticalValueControl
ReturnItemProcessingType I_BillingDocumentItem ReturnItemProcessingType Returns
MaterialGroup
ServicesRenderedDate I_BillingDocumentItem ServicesRenderedDate Services Rendered Date
PricingDocument _BillingDocument PricingDocument Document Condition
BusinessArea I_BillingDocumentItem BusinessArea Business Area
WBSElementExternalID _WBSElementBasicData WBSElementExternalID WBS Element External ID
MatlAccountAssignmentGroup I_BillingDocumentItem MatlAccountAssignmentGroup
DepartureCountry I_BillingDocumentItem DepartureCountry Departure Country / Region
TaxJurisdiction I_BillingDocumentItem TaxJurisdiction Tax Jurisdiction
ProductTaxClassification1 I_BillingDocumentItem ProductTaxClassification1
ProductTaxClassification2 I_BillingDocumentItem ProductTaxClassification2
ProductTaxClassification3 I_BillingDocumentItem ProductTaxClassification3
ProductTaxClassification4 I_BillingDocumentItem ProductTaxClassification4
ProductTaxClassification5 I_BillingDocumentItem ProductTaxClassification5
ProductTaxClassification6 I_BillingDocumentItem ProductTaxClassification6
ProductTaxClassification7 I_BillingDocumentItem ProductTaxClassification7
ProductTaxClassification8 I_BillingDocumentItem ProductTaxClassification8
ProductTaxClassification9 I_BillingDocumentItem ProductTaxClassification9
BillToPartyCountry I_BillingDocumentItem BillToPartyCountry Dst.CtryRg.Ord.
BillToPartyRegion I_BillingDocumentItem BillToPartyRegion Region Order
OrganizationDivision I_BillingDocumentItem OrganizationDivision Org. Division
ServiceDocumentType I_BillingDocumentItem ServiceDocumentType Transaction Type
ServiceDocument I_BillingDocumentItem ServiceDocument Transaction ID
ServiceDocumentItem I_BillingDocumentItem ServiceDocumentItem Service Document
BusinessSolutionOrder I_BillingDocumentItem BusinessSolutionOrder Solution Order
BusinessSolutionOrderItem I_BillingDocumentItem BusinessSolutionOrderItem Solution Order Item
SalesGroup I_BillingDocumentItem SalesGroup Sales Group
SalesOffice I_BillingDocumentItem SalesOffice Sales Office
RetailPromotion I_BillingDocumentItem RetailPromotion Promotion
SDDocumentReason I_BillingDocumentItem SDDocumentReason Order Reason
SalesSDDocumentCategory I_BillingDocumentItem SalesSDDocumentCategory Document Cat.
VolumeRebateGroup I_BillingDocumentItem VolumeRebateGroup Vol. Rebate Grp
SalesOrderSalesDistrict I_BillingDocumentItem SalesOrderSalesDistrict
Batch I_BillingDocumentItem Batch Lot No.
InternationalArticleNumber I_BillingDocumentItem InternationalArticleNumber EAN/UPC
BillingPlanRule I_BillingDocumentItem BillingPlanRule
BillingQuantityInBaseUnit I_BillingDocumentItem BillingQuantityInBaseUnit Bill.Qty in SKU
ItemWeightUnit I_BillingDocumentItem ItemWeightUnit Unit of Weight
ItemNetWeight I_BillingDocumentItem ItemNetWeight Net Weight
ItemGrossWeight I_BillingDocumentItem ItemGrossWeight Gross Weight
ItemVolumeUnit I_BillingDocumentItem ItemVolumeUnit Volume Unit
ItemVolume I_BillingDocumentItem ItemVolume Volume
ZeroVATRsn I_BillingDocumentItem ZeroVATRsn Reason for Zero VAT
SalesOrderCustomerGroup I_BillingDocumentItem SalesOrderCustomerGroup
SalesDeal I_BillingDocumentItem SalesDeal
SalesPromotion I_BillingDocumentItem SalesPromotion
SalesOrderCustomerPriceGroup I_BillingDocumentItem SalesOrderCustomerPriceGroup
MaterialPricingGroup I_BillingDocumentItem MaterialPricingGroup
AdditionalCustomerGroup1 I_BillingDocumentItem AdditionalCustomerGroup1 Customer Grp 1
AdditionalCustomerGroup2 I_BillingDocumentItem AdditionalCustomerGroup2 Customer Grp 2
AdditionalCustomerGroup3 I_BillingDocumentItem AdditionalCustomerGroup3 Customer Grp 3
AdditionalCustomerGroup4 I_BillingDocumentItem AdditionalCustomerGroup4 Customer Grp 4
AdditionalCustomerGroup5 I_BillingDocumentItem AdditionalCustomerGroup5 Customer Grp 5
OriginallyRequestedMaterial I_BillingDocumentItem OriginallyRequestedMaterial
BaseUnit I_BillingDocumentItem BaseUnit Unit of Measure
ManualPriceChangeType I_BillingDocumentItem ManualPriceChangeType
AdditionalMaterialGroup1 I_BillingDocumentItem AdditionalMaterialGroup1 MaterialGroup 1
AdditionalMaterialGroup2 I_BillingDocumentItem AdditionalMaterialGroup2 MaterialGroup 2
AdditionalMaterialGroup3 I_BillingDocumentItem AdditionalMaterialGroup3 MaterialGroup 3
AdditionalMaterialGroup4 I_BillingDocumentItem AdditionalMaterialGroup4 MaterialGroup 4
AdditionalMaterialGroup5 I_BillingDocumentItem AdditionalMaterialGroup5 MaterialGroup 5
SalesOrderPriceListType I_BillingDocumentItem SalesOrderPriceListType
PricingReferenceMaterial I_BillingDocumentItem PricingReferenceMaterial Pr. Ref. Matl
ProductHierarchyNode I_BillingDocumentItem ProductHierarchyNode Prod. Hierarchy
MaterialCommissionGroup I_BillingDocumentItem MaterialCommissionGroup
EligibleAmountForCashDiscount I_BillingDocumentItem EligibleAmountForCashDiscount
BillingToBaseQuantityDnmntr I_BillingDocumentItem BillingToBaseQuantityDnmntr
BillingToBaseQuantityNmrtr I_BillingDocumentItem BillingToBaseQuantityNmrtr
SalesOrderSalesOrganization I_BillingDocumentItem SalesOrderSalesOrganization
SalesOrderDistributionChannel I_BillingDocumentItem SalesOrderDistributionChannel
PlantCounty I_BillingDocumentItem PlantCounty County-Dlv.Plnt
PlantCity I_BillingDocumentItem PlantCity City-Dlv.Plant
PlantRegion I_BillingDocumentItem PlantRegion Region-Dlv.Plnt
CostCenter I_BillingDocumentItem CostCenter Cost Center
ProfitCenter I_BillingDocumentItem ProfitCenter Profit Center
OrderID I_BillingDocumentItem OrderID Order ID
ControllingArea I_BillingDocumentItem ControllingArea Controlling Area
CreationDate I_BillingDocumentItem CreationDate Time Stamp
HigherLevelItem I_BillingDocumentItem HigherLevelItem Higher-Lev.Item
ProviderContract I_BillingDocumentItem ProviderContract Contract
SubscrpnBillgSubscription
ProviderContractItem I_BillingDocumentItem ProviderContractItem Contract Item
BillingPerformancePeriodStrDte I_BillingDocumentItem BillingPerformancePeriodStrDte
BillingPerformancePeriodEndDte I_BillingDocumentItem BillingPerformancePeriodEndDte
_HigherLevelItem I_BillingDocumentItem _HigherLevelItem
_SalesSDDocumentCategory I_BillingDocumentItem _SalesSDDocumentCategory
_BillingPlanRule I_BillingDocumentItem _BillingPlanRule
_MaterialPricingGroup I_BillingDocumentItem _MaterialPricingGroup
_ProductHierarchyNode I_BillingDocumentItem _ProductHierarchyNode
_MatlAccountAssignmentGroup I_BillingDocumentItem _MatlAccountAssignmentGroup
_SalesOrderSalesOrganization I_BillingDocumentItem _SalesOrderSalesOrganization
_SalesOrderDistributionChannel I_BillingDocumentItem _SalesOrderDistributionChannel
_SalesOrderSalesDistrict I_BillingDocumentItem _SalesOrderSalesDistrict
_SalesOrderCustomerGroup I_BillingDocumentItem _SalesOrderCustomerGroup
_SalesOrderCustomerPriceGroup I_BillingDocumentItem _SalesOrderCustomerPriceGroup
_SalesOrderPriceListType I_BillingDocumentItem _SalesOrderPriceListType
_OriginallyRequestedMaterial I_BillingDocumentItem _OriginallyRequestedMaterial
_SDDocumentReason I_BillingDocumentItem _SDDocumentReason
_PlantRegion I_BillingDocumentItem _PlantRegion
_RetailPromotion I_BillingDocumentItem _RetailPromotion
_SalesDeal I_BillingDocumentItem _SalesDeal
_MaterialCommissionGroup I_BillingDocumentItem _MaterialCommissionGroup
_AdditionalCustomerGroup1 I_BillingDocumentItem _AdditionalCustomerGroup1
_AdditionalCustomerGroup2 I_BillingDocumentItem _AdditionalCustomerGroup2
_AdditionalCustomerGroup3 I_BillingDocumentItem _AdditionalCustomerGroup3
_AdditionalCustomerGroup4 I_BillingDocumentItem _AdditionalCustomerGroup4
_AdditionalCustomerGroup5 I_BillingDocumentItem _AdditionalCustomerGroup5
_AdditionalMaterialGroup1 I_BillingDocumentItem _AdditionalMaterialGroup1
_AdditionalMaterialGroup2 I_BillingDocumentItem _AdditionalMaterialGroup2
_AdditionalMaterialGroup3 I_BillingDocumentItem _AdditionalMaterialGroup3
_AdditionalMaterialGroup4 I_BillingDocumentItem _AdditionalMaterialGroup4
_AdditionalMaterialGroup5 I_BillingDocumentItem _AdditionalMaterialGroup5
_PricingReferenceMaterial I_BillingDocumentItem _PricingReferenceMaterial
_Material I_BillingDocumentItem _Material
_ReferenceSDDocumentCategory I_BillingDocumentItem _ReferenceSDDocumentCategory
_SalesDocumentItemCategory I_BillingDocumentItem _SalesDocumentItemCategory
_Plant I_BillingDocumentItem _Plant
_TransitPlant I_BillingDocumentItem _TransitPlant
_Division I_BillingDocumentItem _Division
_StorageLocation I_BillingDocumentItem _StorageLocation
_StatisticalValueControl I_BillingDocumentItem _StatisticalValueControl
_DepartureCountry I_BillingDocumentItem _DepartureCountry
_ProfitCenter I_BillingDocumentItem _ProfitCenter
_BillToPartyCountry I_BillingDocumentItem _BillToPartyCountry
_BillToPartyRegion I_BillingDocumentItem _BillToPartyRegion
_OrganizationDivision I_BillingDocumentItem _OrganizationDivision
_ServiceDocumentType I_BillingDocumentItem _ServiceDocumentType
_SalesGroup I_BillingDocumentItem _SalesGroup
_SalesOffice I_BillingDocumentItem _SalesOffice
_CostCenter I_BillingDocumentItem _CostCenter
_CostCenter_2 I_BillingDocumentItem _CostCenter_2
_ControllingArea I_BillingDocumentItem _ControllingArea
_BillingDocument _BillingDocument
_PricingElement _PricingElement
_WBSElementExternalID _WBSElementExternalID
_ProviderContract I_BillingDocumentItem _ProviderContract
_ProviderContractItem I_BillingDocumentItem _ProviderContractItem
_MaterialGroupText _MaterialGroupText
_BusinessAreaText _BusinessAreaText

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_BillingDocumentItem_F0797.
-- 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: CBDOCITEMF0797

CREATE VIEW C_BillingDocumentItem_F0797 AS
SELECT
  Item.BillingDocument AS BillingDocument,
  Item.BillingDocumentItem AS BillingDocumentItem,
  cast (Item.Material as productnumber preserving type) AS Material,
  Item.BillingDocumentItemText AS BillingDocumentItemText,
  Item.BillingQuantity AS BillingQuantity,
  Item.BillingQuantityUnit AS BillingQuantityUnit,
  Item.NetAmount AS ItemNetAmountOfBillingDoc,
  Item.TaxAmount AS TaxAmount,
  Item.GrossAmount AS ItemGrossAmountOfBillingDoc,
  Item.TransactionCurrency AS TransactionCurrency,
  Item.ReferenceSDDocumentCategory AS ReferenceSDDocumentCategory,
  Item.ReferenceSDDocument AS ReferenceSDDocument,
  Item.ReferenceSDDocumentItem AS ReferenceSDDocumentItem,
  Item.SalesDocumentItemCategory AS SalesDocumentItemCategory,
  Item.SalesDocument AS SalesDocument,
  Item.SalesDocumentItem AS SalesDocumentItem,
  Item.Plant AS Plant,
  Item.Division AS Division,
  Item.StorageLocation AS StorageLocation,
  Item.ProductConfiguration AS ProductConfiguration,
  Item.TransitPlant AS TransitPlant,
  Item.PricingDate AS PricingDate,
  Item.StatisticalValueControl AS StatisticalValueControl,
  Item.ReturnItemProcessingType AS ReturnItemProcessingType,
  cast (Item.MaterialGroup as productgroup preserving type) AS MaterialGroup,
  Item.ServicesRenderedDate AS ServicesRenderedDate,
  _BillingDocument.PricingDocument AS PricingDocument,
  Item.BusinessArea AS BusinessArea,
  _WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID,
  Item.MatlAccountAssignmentGroup AS MatlAccountAssignmentGroup,
  Item.DepartureCountry AS DepartureCountry,
  Item.TaxJurisdiction AS TaxJurisdiction,
  Item.ProductTaxClassification1 AS ProductTaxClassification1,
  Item.ProductTaxClassification2 AS ProductTaxClassification2,
  Item.ProductTaxClassification3 AS ProductTaxClassification3,
  Item.ProductTaxClassification4 AS ProductTaxClassification4,
  Item.ProductTaxClassification5 AS ProductTaxClassification5,
  Item.ProductTaxClassification6 AS ProductTaxClassification6,
  Item.ProductTaxClassification7 AS ProductTaxClassification7,
  Item.ProductTaxClassification8 AS ProductTaxClassification8,
  Item.ProductTaxClassification9 AS ProductTaxClassification9,
  Item.BillToPartyCountry AS BillToPartyCountry,
  Item.BillToPartyRegion AS BillToPartyRegion,
  Item.OrganizationDivision AS OrganizationDivision,
  Item.ServiceDocumentType AS ServiceDocumentType,
  Item.ServiceDocument AS ServiceDocument,
  Item.ServiceDocumentItem AS ServiceDocumentItem,
  Item.BusinessSolutionOrder AS BusinessSolutionOrder,
  Item.BusinessSolutionOrderItem AS BusinessSolutionOrderItem,
  Item.SalesGroup AS SalesGroup,
  Item.SalesOffice AS SalesOffice,
  Item.RetailPromotion AS RetailPromotion,
  Item.SDDocumentReason AS SDDocumentReason,
  Item.SalesSDDocumentCategory AS SalesSDDocumentCategory,
  Item.VolumeRebateGroup AS VolumeRebateGroup,
  Item.SalesOrderSalesDistrict AS SalesOrderSalesDistrict,
  Item.Batch AS Batch,
  Item.InternationalArticleNumber AS InternationalArticleNumber,
  Item.BillingPlanRule AS BillingPlanRule,
  Item.BillingQuantityInBaseUnit AS BillingQuantityInBaseUnit,
  Item.ItemWeightUnit AS ItemWeightUnit,
  Item.ItemNetWeight AS ItemNetWeight,
  Item.ItemGrossWeight AS ItemGrossWeight,
  Item.ItemVolumeUnit AS ItemVolumeUnit,
  Item.ItemVolume AS ItemVolume,
  Item.ZeroVATRsn AS ZeroVATRsn,
  Item.SalesOrderCustomerGroup AS SalesOrderCustomerGroup,
  Item.SalesDeal AS SalesDeal,
  Item.SalesPromotion AS SalesPromotion,
  Item.SalesOrderCustomerPriceGroup AS SalesOrderCustomerPriceGroup,
  Item.MaterialPricingGroup AS MaterialPricingGroup,
  Item.AdditionalCustomerGroup1 AS AdditionalCustomerGroup1,
  Item.AdditionalCustomerGroup2 AS AdditionalCustomerGroup2,
  Item.AdditionalCustomerGroup3 AS AdditionalCustomerGroup3,
  Item.AdditionalCustomerGroup4 AS AdditionalCustomerGroup4,
  Item.AdditionalCustomerGroup5 AS AdditionalCustomerGroup5,
  Item.OriginallyRequestedMaterial AS OriginallyRequestedMaterial,
  Item.BaseUnit AS BaseUnit,
  Item.ManualPriceChangeType AS ManualPriceChangeType,
  Item.AdditionalMaterialGroup1 AS AdditionalMaterialGroup1,
  Item.AdditionalMaterialGroup2 AS AdditionalMaterialGroup2,
  Item.AdditionalMaterialGroup3 AS AdditionalMaterialGroup3,
  Item.AdditionalMaterialGroup4 AS AdditionalMaterialGroup4,
  Item.AdditionalMaterialGroup5 AS AdditionalMaterialGroup5,
  Item.SalesOrderPriceListType AS SalesOrderPriceListType,
  Item.PricingReferenceMaterial AS PricingReferenceMaterial,
  Item.ProductHierarchyNode AS ProductHierarchyNode,
  Item.MaterialCommissionGroup AS MaterialCommissionGroup,
  Item.EligibleAmountForCashDiscount AS EligibleAmountForCashDiscount,
  Item.BillingToBaseQuantityDnmntr AS BillingToBaseQuantityDnmntr,
  Item.BillingToBaseQuantityNmrtr AS BillingToBaseQuantityNmrtr,
  Item.SalesOrderSalesOrganization AS SalesOrderSalesOrganization,
  Item.SalesOrderDistributionChannel AS SalesOrderDistributionChannel,
  Item.PlantCounty AS PlantCounty,
  Item.PlantCity AS PlantCity,
  Item.PlantRegion AS PlantRegion,
  Item.CostCenter AS CostCenter,
  Item.ProfitCenter AS ProfitCenter,
  Item.OrderID AS OrderID,
  Item.ControllingArea AS ControllingArea,
  Item.CreationDate AS CreationDate,
  Item.HigherLevelItem AS HigherLevelItem,
  Item.ProviderContract AS ProviderContract,
  cast(Item.ProviderContract as subscription_billing_doc preserving type) AS SubscrpnBillgSubscription,
  Item.ProviderContractItem AS ProviderContractItem,
  Item.BillingPerformancePeriodStrDte AS BillingPerformancePeriodStrDte,
  Item.BillingPerformancePeriodEndDte AS BillingPerformancePeriodEndDte,
  Item._HigherLevelItem AS _HigherLevelItem,
  Item._SalesSDDocumentCategory AS _SalesSDDocumentCategory,
  Item._BillingPlanRule AS _BillingPlanRule,
  Item._MaterialPricingGroup AS _MaterialPricingGroup,
  Item._ProductHierarchyNode AS _ProductHierarchyNode,
  Item._MatlAccountAssignmentGroup AS _MatlAccountAssignmentGroup,
  Item._SalesOrderSalesOrganization AS _SalesOrderSalesOrganization,
  Item._SalesOrderDistributionChannel AS _SalesOrderDistributionChannel,
  Item._SalesOrderSalesDistrict AS _SalesOrderSalesDistrict,
  Item._SalesOrderCustomerGroup AS _SalesOrderCustomerGroup,
  Item._SalesOrderCustomerPriceGroup AS _SalesOrderCustomerPriceGroup,
  Item._SalesOrderPriceListType AS _SalesOrderPriceListType,
  Item._OriginallyRequestedMaterial AS _OriginallyRequestedMaterial,
  Item._SDDocumentReason AS _SDDocumentReason,
  Item._PlantRegion AS _PlantRegion,
  Item._RetailPromotion AS _RetailPromotion,
  Item._SalesDeal AS _SalesDeal,
  Item._MaterialCommissionGroup AS _MaterialCommissionGroup,
  Item._AdditionalCustomerGroup1 AS _AdditionalCustomerGroup1,
  Item._AdditionalCustomerGroup2 AS _AdditionalCustomerGroup2,
  Item._AdditionalCustomerGroup3 AS _AdditionalCustomerGroup3,
  Item._AdditionalCustomerGroup4 AS _AdditionalCustomerGroup4,
  Item._AdditionalCustomerGroup5 AS _AdditionalCustomerGroup5,
  Item._AdditionalMaterialGroup1 AS _AdditionalMaterialGroup1,
  Item._AdditionalMaterialGroup2 AS _AdditionalMaterialGroup2,
  Item._AdditionalMaterialGroup3 AS _AdditionalMaterialGroup3,
  Item._AdditionalMaterialGroup4 AS _AdditionalMaterialGroup4,
  Item._AdditionalMaterialGroup5 AS _AdditionalMaterialGroup5,
  Item._PricingReferenceMaterial AS _PricingReferenceMaterial,
  Item._Material AS _Material,
  Item._ReferenceSDDocumentCategory AS _ReferenceSDDocumentCategory,
  Item._SalesDocumentItemCategory AS _SalesDocumentItemCategory,
  Item._Plant AS _Plant,
  Item._TransitPlant AS _TransitPlant,
  Item._Division AS _Division,
  Item._StorageLocation AS _StorageLocation,
  Item._StatisticalValueControl AS _StatisticalValueControl,
  Item._DepartureCountry AS _DepartureCountry,
  Item._ProfitCenter AS _ProfitCenter,
  Item._BillToPartyCountry AS _BillToPartyCountry,
  Item._BillToPartyRegion AS _BillToPartyRegion,
  Item._OrganizationDivision AS _OrganizationDivision,
  Item._ServiceDocumentType AS _ServiceDocumentType,
  Item._SalesGroup AS _SalesGroup,
  Item._SalesOffice AS _SalesOffice,
  Item._CostCenter AS _CostCenter,
  Item._CostCenter_2 AS _CostCenter_2,
  Item._ControllingArea AS _ControllingArea,
  Item._ProviderContract AS _ProviderContract,
  Item._ProviderContractItem AS _ProviderContractItem
FROM I_BillingDocumentItem AS Item
LEFT OUTER JOIN C_PricingElement AS _PricingElement ON pricingdocument = _PricingElement.PricingDocument AND BillingDocumentItem = _PricingElement.PricingDocumentItem  -- association [0..*]
LEFT OUTER JOIN C_BillingDocument_F0797 AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument  -- association [1]
LEFT OUTER JOIN I_WBSElementByExternalID AS _WBSElementExternalID ON wbselementexternalid = _WBSElementExternalID.WBSElementExternalID  -- association [0..1]
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocument = _Extension.BillingDocument AND BillingDocumentItem = _Extension.BillingDocumentItem  -- association [1]
;