I_BillingDocumentItem
Billing Document Item
I_BillingDocumentItem is a Basic CDS View (Dimension) that provides data about "Billing Document Item" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentItemBasic) and exposes 307 fields with key fields BillingDocument, BillingDocumentItem. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentItemBasic | I_BillingDocumentItemBasic | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BillingDocument | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
| [0..*] | I_BillingDocItemPartner | _Partner | $projection.BillingDocument = _Partner.BillingDocument and $projection.BillingDocumentItem = _Partner.BillingDocumentItem |
| [0..*] | I_BillingDocumentItemPrcgElmnt | _PricingElement | $projection.BillingDocument = _PricingElement.BillingDocument and $projection.BillingDocumentItem = _PricingElement.BillingDocumentItem |
| [0..1] | I_BillingDocumentItem | _HigherLevelItem | $projection.BillingDocument = _HigherLevelItem.BillingDocument and $projection.HigherLevelItem = _HigherLevelItem.BillingDocumentItem |
| [0..1] | I_BillingDocumentItem | _HigherLvlItmOfBatSpltItm | $projection.BillingDocument = _HigherLvlItmOfBatSpltItm.BillingDocument and $projection.HigherLvlItmOfBatSpltItm = _HigherLvlItmOfBatSpltItm.BillingDocumentItem |
| [0..1] | I_BillingDocument | _CancelledBillingDocument | $projection.CancelledBillingDocument = _CancelledBillingDocument.BillingDocument |
| [1] | E_BillingDocumentItem | _Extension | $projection.BillingDocument = _Extension.BillingDocument and $projection.BillingDocumentItem = _Extension.BillingDocumentItem |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.representativeKey | BillingDocumentItem | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.sapObjectNodeType.name | BillingDocumentItem | view | |
| EndUserText.label | Billing Document Item | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDBILLGDOCITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (307)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | BillingDocument | SD Document | |
| KEY | BillingDocumentItem | BillingDocumentItem | Item | |
| SalesDocumentItemCategory | SalesDocumentItemCategory | Item Category | ||
| SalesDocumentItemType | SalesDocumentItemType | |||
| ReturnItemProcessingType | ReturnItemProcessingType | Returns | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| ReferenceLogicalSystem | ReferenceLogicalSystem | |||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| Division | Division | Internal Division ID | ||
| SalesOffice | SalesOffice | Sales Office | ||
| Material | Material | Vehicle Model | ||
| Product | Product | Product Sold | ||
| OriginallyRequestedMaterial | OriginallyRequestedMaterial | |||
| InternationalArticleNumber | InternationalArticleNumber | EAN/UPC | ||
| PricingReferenceMaterial | PricingReferenceMaterial | Pr. Ref. Matl | ||
| Batch | Batch | Lot No. | ||
| ProductHierarchyNode | ProductHierarchyNode | Prod. Hierarchy | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| ProductGroup | ProductGroup | Product Sold Group | ||
| AdditionalMaterialGroup1 | AdditionalMaterialGroup1 | MaterialGroup 1 | ||
| AdditionalMaterialGroup2 | AdditionalMaterialGroup2 | MaterialGroup 2 | ||
| AdditionalMaterialGroup3 | AdditionalMaterialGroup3 | MaterialGroup 3 | ||
| AdditionalMaterialGroup4 | AdditionalMaterialGroup4 | MaterialGroup 4 | ||
| AdditionalMaterialGroup5 | AdditionalMaterialGroup5 | MaterialGroup 5 | ||
| ProductConfiguration | ProductConfiguration | |||
| MaterialCommissionGroup | MaterialCommissionGroup | |||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| ReplacementPartType | ReplacementPartType | |||
| MaterialGroupHierarchy1 | MaterialGroupHierarchy1 | |||
| MaterialGroupHierarchy2 | MaterialGroupHierarchy2 | |||
| PlantRegion | PlantRegion | Region-Dlv.Plnt | ||
| PlantCounty | PlantCounty | County-Dlv.Plnt | ||
| PlantCity | PlantCity | City-Dlv.Plant | ||
| TransitPlant | TransitPlant | |||
| ValueChainCategory | ValueChainCategory | |||
| BOMExplosion | BOMExplosion | |||
| MaterialDeterminationType | MaterialDeterminationType | |||
| BillingDocumentItemText | BillingDocumentItemText | Item Descr. | ||
| ServicesRenderedDate | ServicesRenderedDate | Services Rendered Date | ||
| BillingQuantity | BillingQuantity | Invoiced Qty | ||
| BillingQuantityUnit | BillingQuantityUnit | Sales Unit | ||
| BillingQuantityInBaseUnit | BillingQuantityInBaseUnit | Bill.Qty in SKU | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| MRPRequiredQuantityInBaseUnit | MRPRequiredQuantityInBaseUnit | Open Quantity | ||
| BillingToBaseQuantityDnmntr | BillingToBaseQuantityDnmntr | |||
| BillingToBaseQuantityNmrtr | BillingToBaseQuantityNmrtr | |||
| ItemGrossWeight | ItemGrossWeight | Gross Weight | ||
| ItemNetWeight | ItemNetWeight | Net Weight | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| ItemVolume | ItemVolume | Volume | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| BillToPartyCountry | BillToPartyCountry | Dst.CtryRg.Ord. | ||
| BillToPartyRegion | BillToPartyRegion | Region Order | ||
| BillingPlanRule | BillingPlanRule | |||
| BillingPlan | BillingPlan | Bill. Plan No. | ||
| BillingPlanItem | BillingPlanItem | Item | ||
| NetAmount | NetAmount | Stated Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| GrossAmount | GrossAmount | Gross value | ||
| PricingDate | PricingDate | Pricing Date | ||
| PriceDetnExchangeRate | PriceDetnExchangeRate | Exchange Rate | ||
| PricingScaleQuantityInBaseUnit | PricingScaleQuantityInBaseUnit | |||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| CostAmount | CostAmount | |||
| Subtotal1Amount | Subtotal1Amount | Subtotal 1 Amount | ||
| Subtotal2Amount | Subtotal2Amount | Subtotal 2 Amount | ||
| Subtotal3Amount | Subtotal3Amount | Subtotal 3 Amount | ||
| Subtotal4Amount | Subtotal4Amount | Subtotal 4 Amount | ||
| Subtotal5Amount | Subtotal5Amount | Subtotal 5 Amount | ||
| Subtotal6Amount | Subtotal6Amount | Subtotal 6 Amount | ||
| StatisticalValueControl | StatisticalValueControl | |||
| CashDiscountIsDeductible | CashDiscountIsDeductible | Cash Discount | ||
| CustomerConditionGroup1 | CustomerConditionGroup1 | Condition grp 1 | ||
| CustomerConditionGroup2 | CustomerConditionGroup2 | Condition grp 2 | ||
| CustomerConditionGroup3 | CustomerConditionGroup3 | Condition grp 3 | ||
| CustomerConditionGroup4 | CustomerConditionGroup4 | Condition grp 4 | ||
| CustomerConditionGroup5 | CustomerConditionGroup5 | Condition grp 5 | ||
| ManualPriceChangeType | ManualPriceChangeType | |||
| MaterialPricingGroup | MaterialPricingGroup | |||
| StatisticsExchangeRate | StatisticsExchangeRate | |||
| MainItemPricingRefMaterial | MainItemPricingRefMaterial | |||
| MainItemMaterialPricingGroup | MainItemMaterialPricingGroup | |||
| TimeSheetOvertimeCategory | TimeSheetOvertimeCategory | |||
| PricingRelevance | PricingRelevance | |||
| DepartureCountry | DepartureCountry | Departure Country / Region | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| ProductTaxClassification1 | ProductTaxClassification1 | |||
| ProductTaxClassification2 | ProductTaxClassification2 | |||
| ProductTaxClassification3 | ProductTaxClassification3 | |||
| ProductTaxClassification4 | ProductTaxClassification4 | |||
| ProductTaxClassification5 | ProductTaxClassification5 | |||
| ProductTaxClassification6 | ProductTaxClassification6 | |||
| ProductTaxClassification7 | ProductTaxClassification7 | |||
| ProductTaxClassification8 | ProductTaxClassification8 | |||
| ProductTaxClassification9 | ProductTaxClassification9 | |||
| ZeroVATRsn | ZeroVATRsn | Reason for Zero VAT | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxRateValidityStartDate | TaxRateValidityStartDate | Tax Rate Validity Start Date | ||
| CountryOfOrigin | CountryOfOrigin | Country/Region of Origin | ||
| RegionOfOrigin | RegionOfOrigin | Reg. of Origin | ||
| CommodityCode | CommodityCode | Commodity Code | ||
| EligibleAmountForCashDiscount | EligibleAmountForCashDiscount | |||
| BusinessArea | BusinessArea | Business Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| OrderID | OrderID | Order ID | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| ProviderContract | ProviderContract | Contract | ||
| ProviderContractItem | ProviderContractItem | Contract Item | ||
| BillingPerformancePeriodStrDte | BillingPerformancePeriodStrDte | |||
| BillingPerformancePeriodEndDte | BillingPerformancePeriodEndDte | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitabilitySegment | ||||
| ProfitabilitySegment_2 | ProfitabilitySegment_2 | Profit. segment | ||
| CostCenter | CostCenter | Cost Center | ||
| OriginSDDocument | OriginSDDocument | Originating Doc | ||
| OriginSDDocumentItem | OriginSDDocumentItem | Origin. Item | ||
| PriceDetnExchangeRateDate | PriceDetnExchangeRateDate | |||
| MatlAccountAssignmentGroup | MatlAccountAssignmentGroup | |||
| ReferenceSDDocument | ReferenceSDDocument | Reference Doc. | ||
| ReferenceSDDocumentItem | ReferenceSDDocumentItem | Reference Item | ||
| ReferenceSDDocumentCategory | ReferenceSDDocumentCategory | Prec.Doc.Categ. | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| SalesSDDocumentCategory | SalesSDDocumentCategory | Document Cat. | ||
| HigherLevelItem | HigherLevelItem | Higher-Lev.Item | ||
| HigherLvlItmOfBatSpltItm | HigherLvlItmOfBatSpltItm | |||
| BillingDocumentItemInPartSgmt | BillingDocumentItemInPartSgmt | |||
| ExternalReferenceDocument | ExternalReferenceDocument | Ext. Ref. Document | ||
| ExternalReferenceDocumentItem | ExternalReferenceDocumentItem | Ext. Ref. Doc. Item | ||
| BillingDocExtReferenceDocItem | BillingDocExtReferenceDocItem | |||
| PrelimBillingDocument | PrelimBillingDocument | |||
| PrelimBillingDocumentItem | PrelimBillingDocumentItem | |||
| SalesGroup | SalesGroup | Sales Group | ||
| AdditionalCustomerGroup1 | AdditionalCustomerGroup1 | Customer Grp 1 | ||
| AdditionalCustomerGroup2 | AdditionalCustomerGroup2 | Customer Grp 2 | ||
| AdditionalCustomerGroup3 | AdditionalCustomerGroup3 | Customer Grp 3 | ||
| AdditionalCustomerGroup4 | AdditionalCustomerGroup4 | Customer Grp 4 | ||
| AdditionalCustomerGroup5 | AdditionalCustomerGroup5 | Customer Grp 5 | ||
| SDDocumentReason | SDDocumentReason | Order Reason | ||
| RetailPromotion | RetailPromotion | Promotion | ||
| RebateBasisAmount | RebateBasisAmount | Rebate Basis Amount | ||
| VolumeRebateGroup | VolumeRebateGroup | Vol. Rebate Grp | ||
| ItemIsRelevantForCredit | ItemIsRelevantForCredit | |||
| CreditRelatedPrice | CreditRelatedPrice | |||
| SalesDeal | SalesDeal | |||
| SalesPromotion | SalesPromotion | |||
| SalesOrderSalesDistrict | SalesOrderSalesDistrict | |||
| SalesOrderCustomerGroup | SalesOrderCustomerGroup | |||
| SalesOrderCustomerPriceGroup | SalesOrderCustomerPriceGroup | |||
| SalesOrderPriceListType | SalesOrderPriceListType | |||
| SalesOrderSalesOrganization | SalesOrderSalesOrganization | |||
| SalesOrderDistributionChannel | SalesOrderDistributionChannel | |||
| SalesDocIsCreatedFromReference | SalesDocIsCreatedFromReference | |||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document | ||
| BusinessSolutionOrder | BusinessSolutionOrder | Solution Order | ||
| BusinessSolutionOrderItem | BusinessSolutionOrderItem | Solution Order Item | ||
| HigherLevelItemUsage | HigherLevelItemUsage | |||
| BillingDocumentIsTemporary | BillingDocumentIsTemporary | |||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| BillingDocumentType | BillingDocumentType | Billing Type | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| CustomerPriceGroup | CustomerPriceGroup | CustPrice Group | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| CityCode | CityCode | IATA: City | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallBillingStatus | OverallBillingStatus | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| PayerParty | PayerParty | Payer | ||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| County | County | Wyoming County | ||
| CustomerRebateAgreement | CustomerRebateAgreement | |||
| BillingDocumentCategory | BillingDocumentCategory | BillingCategory | ||
| PricingDocument | PricingDocument | Document Condition | ||
| CancelledBillingDocument | CancelledBillingDocument | Canceld Bill.Dc | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| SalesEmployee | SalesEmployee | Sales Employee | ||
| ResponsibleEmployee | ResponsibleEmployee | Employee Resp. | ||
| _BillingDocument | _BillingDocument | |||
| _Partner | _Partner | |||
| _PricingElement | _PricingElement | |||
| _SalesDocumentItemCategory | _SalesDocumentItemCategory | |||
| _SalesDocumentItemType | _SalesDocumentItemType | |||
| _CreatedByUser | _CreatedByUser | |||
| _ReferenceLogicalSystem | _ReferenceLogicalSystem | |||
| _OrganizationDivision | _OrganizationDivision | |||
| _Division | _Division | |||
| _SalesOffice | _SalesOffice | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _OriginallyRequestedMaterial | _OriginallyRequestedMaterial | |||
| _PricingReferenceMaterial | _PricingReferenceMaterial | |||
| _Batch | _Batch | |||
| _ProductHierarchyNode | _ProductHierarchyNode | |||
| _MaterialGroup | _MaterialGroup | |||
| _ProductGroup | _ProductGroup | |||
| _AdditionalMaterialGroup1 | _AdditionalMaterialGroup1 | |||
| _AdditionalMaterialGroup2 | _AdditionalMaterialGroup2 | |||
| _AdditionalMaterialGroup3 | _AdditionalMaterialGroup3 | |||
| _AdditionalMaterialGroup4 | _AdditionalMaterialGroup4 | |||
| _AdditionalMaterialGroup5 | _AdditionalMaterialGroup5 | |||
| _MaterialCommissionGroup | _MaterialCommissionGroup | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _PlantRegion | _PlantRegion | |||
| _TransitPlant | _TransitPlant | |||
| _ValueChainCategory | _ValueChainCategory | |||
| _BillingQuantityUnit | _BillingQuantityUnit | |||
| _BaseUnit | _BaseUnit | |||
| _ItemWeightUnit | _ItemWeightUnit | |||
| _ItemVolumeUnit | _ItemVolumeUnit | |||
| _BillToPartyCountry | _BillToPartyCountry | |||
| _BillToPartyRegion | _BillToPartyRegion | |||
| _BillingPlanRule | _BillingPlanRule | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _StatisticalValueControl | _StatisticalValueControl | |||
| _MaterialPricingGroup | _MaterialPricingGroup | |||
| _MainItemPricingRefMaterial | _MainItemPricingRefMaterial | |||
| _MainItemMaterialPricingGroup | _MainItemMaterialPricingGroup | |||
| _TimeSheetOvertimeCat | _TimeSheetOvertimeCat | |||
| _PricingRelevance | _PricingRelevance | |||
| _DepartureCountry | _DepartureCountry | |||
| _CountryOfOrigin | _CountryOfOrigin | |||
| _RegionOfOrigin | _RegionOfOrigin | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _WBSElement | _WBSElement | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _ControllingArea | _ControllingArea | |||
| _MatlAccountAssignmentGroup | _MatlAccountAssignmentGroup | |||
| _CostCenter | _CostCenter | |||
| _CostCenter_2 | _CostCenter_2 | |||
| _ReferenceSalesDocumentItem | _ReferenceSalesDocumentItem | |||
| _ReferenceDeliveryDocumentItem | _ReferenceDeliveryDocumentItem | |||
| _ReferenceBillingDocItemBasic | _ReferenceBillingDocItemBasic | |||
| _ReferenceSDDocumentCategory | _ReferenceSDDocumentCategory | |||
| _SalesDocument | _SalesDocument | |||
| _SalesDocumentItem | _SalesDocumentItem | |||
| _SalesSDDocumentCategory | _SalesSDDocumentCategory | |||
| _HigherLevelItem | _HigherLevelItem | |||
| _HigherLvlItmOfBatSpltItm | _HigherLvlItmOfBatSpltItm | |||
| _PrelimBillingDocument | _PrelimBillingDocument | |||
| _PrelimBillingDocumentItem | _PrelimBillingDocumentItem | |||
| _SalesGroup | _SalesGroup | |||
| _AdditionalCustomerGroup1 | _AdditionalCustomerGroup1 | |||
| _AdditionalCustomerGroup2 | _AdditionalCustomerGroup2 | |||
| _AdditionalCustomerGroup3 | _AdditionalCustomerGroup3 | |||
| _AdditionalCustomerGroup4 | _AdditionalCustomerGroup4 | |||
| _AdditionalCustomerGroup5 | _AdditionalCustomerGroup5 | |||
| _SDDocumentReason | _SDDocumentReason | |||
| _RetailPromotion | _RetailPromotion | |||
| _SalesDeal | _SalesDeal | |||
| _SalesOrderSalesDistrict | _SalesOrderSalesDistrict | |||
| _SalesOrderCustomerGroup | _SalesOrderCustomerGroup | |||
| _SalesOrderCustomerPriceGroup | _SalesOrderCustomerPriceGroup | |||
| _SalesOrderPriceListType | _SalesOrderPriceListType | |||
| _SalesOrderSalesOrganization | _SalesOrderSalesOrganization | |||
| _SalesOrderDistributionChannel | _SalesOrderDistributionChannel | |||
| _ShippingPoint | _ShippingPoint | |||
| _ServiceDocumentType | _ServiceDocumentType | |||
| _ProviderContract | _ProviderContract | |||
| _ProviderContractItem | _ProviderContractItem | |||
| _SolutionOrder | _SolutionOrder | |||
| _SolutionOrderItem | _SolutionOrderItem | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _WBSElementText | _WBSElementText | |||
| _MaterialGroupText | _MaterialGroupText | |||
| _ShippingPointText | _ShippingPointText | |||
| _MaterialText | _MaterialText | |||
| _ProductText | _ProductText | |||
| _PricingReferenceMaterialText | _PricingReferenceMaterialText | |||
| _MainItemPricingRefMatlText | _MainItemPricingRefMatlText | |||
| _OriginallyRequestedMatlText | _OriginallyRequestedMatlText | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _BillingDocumentCategory | _BillingDocumentCategory | |||
| _BillingDocumentType | _BillingDocumentType | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _CustomerGroup | _CustomerGroup | |||
| _Country | _Country | |||
| _Region | _Region | |||
| _CityCode | _CityCode | |||
| _SalesDistrict | _SalesDistrict | |||
| _OverallSDProcessStatus | _OverallSDProcessStatus | |||
| _OverallBillingStatus | _OverallBillingStatus | |||
| _SoldToParty | _SoldToParty | |||
| _PayerParty | _PayerParty | |||
| _CompanyCode | _CompanyCode | |||
| _County | _County | |||
| _CancelledBillingDocument | _CancelledBillingDocument | |||
| _ShipToParty | _ShipToParty | |||
| _BillToParty | _BillToParty | |||
| _SalesEmployee | _SalesEmployee | |||
| _ResponsibleEmployee | _ResponsibleEmployee |
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 I_BillingDocumentItem.
-- 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.
CREATE VIEW I_BillingDocumentItem AS
SELECT
BillingDocument,
BillingDocumentItem,
SalesDocumentItemCategory,
SalesDocumentItemType,
ReturnItemProcessingType,
CreatedByUser,
CreationDate,
CreationTime,
ReferenceLogicalSystem,
OrganizationDivision,
Division,
SalesOffice,
Material,
Product,
OriginallyRequestedMaterial,
InternationalArticleNumber,
PricingReferenceMaterial,
Batch,
ProductHierarchyNode,
MaterialGroup,
ProductGroup,
AdditionalMaterialGroup1,
AdditionalMaterialGroup2,
AdditionalMaterialGroup3,
AdditionalMaterialGroup4,
AdditionalMaterialGroup5,
ProductConfiguration,
MaterialCommissionGroup,
Plant,
StorageLocation,
ReplacementPartType,
MaterialGroupHierarchy1,
MaterialGroupHierarchy2,
PlantRegion,
PlantCounty,
PlantCity,
TransitPlant,
ValueChainCategory,
BOMExplosion,
MaterialDeterminationType,
BillingDocumentItemText,
ServicesRenderedDate,
BillingQuantity,
BillingQuantityUnit,
BillingQuantityInBaseUnit,
BaseUnit,
MRPRequiredQuantityInBaseUnit,
BillingToBaseQuantityDnmntr,
BillingToBaseQuantityNmrtr,
ItemGrossWeight,
ItemNetWeight,
ItemWeightUnit,
ItemVolume,
ItemVolumeUnit,
BillToPartyCountry,
BillToPartyRegion,
BillingPlanRule,
BillingPlan,
BillingPlanItem,
NetAmount,
TransactionCurrency,
GrossAmount,
PricingDate,
PriceDetnExchangeRate,
PricingScaleQuantityInBaseUnit,
TaxAmount,
CostAmount,
Subtotal1Amount,
Subtotal2Amount,
Subtotal3Amount,
Subtotal4Amount,
Subtotal5Amount,
Subtotal6Amount,
StatisticalValueControl,
CashDiscountIsDeductible,
CustomerConditionGroup1,
CustomerConditionGroup2,
CustomerConditionGroup3,
CustomerConditionGroup4,
CustomerConditionGroup5,
ManualPriceChangeType,
MaterialPricingGroup,
StatisticsExchangeRate,
MainItemPricingRefMaterial,
MainItemMaterialPricingGroup,
TimeSheetOvertimeCategory,
PricingRelevance,
DepartureCountry,
TaxJurisdiction,
ProductTaxClassification1,
ProductTaxClassification2,
ProductTaxClassification3,
ProductTaxClassification4,
ProductTaxClassification5,
ProductTaxClassification6,
ProductTaxClassification7,
ProductTaxClassification8,
ProductTaxClassification9,
ZeroVATRsn,
TaxCode,
TaxRateValidityStartDate,
CountryOfOrigin,
RegionOfOrigin,
CommodityCode,
EligibleAmountForCashDiscount,
BusinessArea,
ProfitCenter,
OrderID,
WBSElement,
WBSElementInternalID,
ProviderContract,
ProviderContractItem,
BillingPerformancePeriodStrDte,
BillingPerformancePeriodEndDte,
ControllingArea,
cast ( case when ProfitabilitySegment_2 > '9999999999' then '9999999999' else lpad( ProfitabilitySegment_2, 10, '0' ) end as rkeobjnr_numc ) AS ProfitabilitySegment,
ProfitabilitySegment_2,
CostCenter,
OriginSDDocument,
OriginSDDocumentItem,
PriceDetnExchangeRateDate,
MatlAccountAssignmentGroup,
ReferenceSDDocument,
ReferenceSDDocumentItem,
ReferenceSDDocumentCategory,
SalesDocument,
SalesDocumentItem,
SalesSDDocumentCategory,
HigherLevelItem,
HigherLvlItmOfBatSpltItm,
BillingDocumentItemInPartSgmt,
ExternalReferenceDocument,
ExternalReferenceDocumentItem,
BillingDocExtReferenceDocItem,
PrelimBillingDocument,
PrelimBillingDocumentItem,
SalesGroup,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
SDDocumentReason,
RetailPromotion,
RebateBasisAmount,
VolumeRebateGroup,
ItemIsRelevantForCredit,
CreditRelatedPrice,
SalesDeal,
SalesPromotion,
SalesOrderSalesDistrict,
SalesOrderCustomerGroup,
SalesOrderCustomerPriceGroup,
SalesOrderPriceListType,
SalesOrderSalesOrganization,
SalesOrderDistributionChannel,
SalesDocIsCreatedFromReference,
ShippingPoint,
ServiceDocumentType,
ServiceDocument,
ServiceDocumentItem,
BusinessSolutionOrder,
BusinessSolutionOrderItem,
HigherLevelItemUsage,
BillingDocumentIsTemporary,
SDDocumentCategory,
BillingDocumentType,
SalesOrganization,
DistributionChannel,
CustomerPriceGroup,
CustomerGroup,
Country,
Region,
CityCode,
SalesDistrict,
OverallSDProcessStatus,
OverallBillingStatus,
SoldToParty,
PayerParty,
BillingDocumentDate,
CompanyCode,
County,
CustomerRebateAgreement,
BillingDocumentCategory,
PricingDocument,
CancelledBillingDocument,
ShipToParty,
BillToParty,
SalesEmployee,
ResponsibleEmployee
FROM I_BillingDocumentItemBasic
LEFT OUTER JOIN I_BillingDocument AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument -- association [1..1]
LEFT OUTER JOIN I_BillingDocItemPartner AS _Partner ON BillingDocument = _Partner.BillingDocument AND BillingDocumentItem = _Partner.BillingDocumentItem -- association [0..*]
LEFT OUTER JOIN I_BillingDocumentItemPrcgElmnt AS _PricingElement ON BillingDocument = _PricingElement.BillingDocument AND BillingDocumentItem = _PricingElement.BillingDocumentItem -- association [0..*]
LEFT OUTER JOIN I_BillingDocumentItem AS _HigherLevelItem ON BillingDocument = _HigherLevelItem.BillingDocument AND HigherLevelItem = _HigherLevelItem.BillingDocumentItem -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentItem AS _HigherLvlItmOfBatSpltItm ON BillingDocument = _HigherLvlItmOfBatSpltItm.BillingDocument AND HigherLvlItmOfBatSpltItm = _HigherLvlItmOfBatSpltItm.BillingDocumentItem -- association [0..1]
LEFT OUTER JOIN I_BillingDocument AS _CancelledBillingDocument ON CancelledBillingDocument = _CancelledBillingDocument.BillingDocument -- association [0..1]
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocument = _Extension.BillingDocument AND 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