C_BillgDocItemRedacted
Redacted Billing Document Item
C_BillgDocItemRedacted is a Consumption CDS View that provides data about "Redacted Billing Document Item" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentItem) and exposes 41 fields with key fields BillingDocument, BillingDocumentItem. It has 3 associations to related views. It is exposed through 2 OData services (ASQL_F4942, C_BILLGDOCREDACTED_SD). Part of development package ODATA_SD_BIL_BD_UI_V2.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentItem | Item | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_BillgDocRedacted | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
| [0..1] | I_ProductStdVH | _Product | $projection.Product = _Product.Product |
| [0..1] | I_TaxCode | _TaxCode | $projection.taxcalculationprocedure = _TaxCode.TaxCalculationProcedure and $projection.TaxCode = _TaxCode.TaxCode |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CBDIREDACTED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.compositionRoot | false | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F4942 | ASQL_F4942 | C2 | NOT_RELEASED | |
| C_BILLGDOCREDACTED_SD | C_BILLGDOCREDACTED | V2 | C1 | NOT_RELEASED |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | I_BillingDocumentItem | BillingDocument | SD Document |
| KEY | BillingDocumentItem | I_BillingDocumentItem | BillingDocumentItem | Item |
| Product | I_BillingDocumentItem | Product | Product Sold | |
| BillingDocumentItemText | I_BillingDocumentItem | BillingDocumentItemText | Item Descr. | |
| BillingQuantity | I_BillingDocumentItem | BillingQuantity | Invoiced Qty | |
| BillingQuantityUnit | I_BillingDocumentItem | BillingQuantityUnit | Sales Unit | |
| NetAmount | I_BillingDocumentItem | NetAmount | Stated Amount | |
| TaxAmount | I_BillingDocumentItem | TaxAmount | Tax Amt in Rptg Crcy | |
| GrossAmount | I_BillingDocumentItem | GrossAmount | Gross value | |
| TransactionCurrency | I_BillingDocumentItem | TransactionCurrency | Transaction Currency | |
| SalesDocumentItemCategory | ||||
| PricingDate | I_BillingDocumentItem | PricingDate | Pricing Date | |
| StatisticalValueControl | I_BillingDocumentItem | StatisticalValueControl | ||
| ServicesRenderedDate | I_BillingDocumentItem | ServicesRenderedDate | Services Rendered Date | |
| 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 | ||
| TaxCode | I_BillingDocumentItem | TaxCode | Tax Code | |
| TaxDepartureCountry | _BillingDocument | TaxDepartureCountry | Tx Dep Ctry/Reg | |
| TaxCalculationProcedure | ||||
| TaxRateValidityStartDate | I_BillingDocumentItem | TaxRateValidityStartDate | Tax Rate Validity Start Date | |
| ZeroVATRsn | I_BillingDocumentItem | ZeroVATRsn | Reason for Zero VAT | |
| HigherLevelItem | I_BillingDocumentItem | HigherLevelItem | Higher-Lev.Item | |
| _BillingQuantityUnit | I_BillingDocumentItem | _BillingQuantityUnit | ||
| _TransactionCurrency | I_BillingDocumentItem | _TransactionCurrency | ||
| _HigherLevelItem | I_BillingDocumentItem | _HigherLevelItem | ||
| _Product | _Product | |||
| _SalesDocumentItemCategory | I_BillingDocumentItem | _SalesDocumentItemCategory | ||
| _StatisticalValueControl | I_BillingDocumentItem | _StatisticalValueControl | ||
| _DepartureCountry | I_BillingDocumentItem | _DepartureCountry | ||
| _TaxDepartureCountry | _BillingDocument | _TaxDepartureCountry | ||
| _TaxCode | _TaxCode | |||
| _BillingDocument | _BillingDocument |
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_BillgDocItemRedacted.
-- 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 C_BillgDocItemRedacted AS
SELECT
Item.BillingDocument AS BillingDocument,
Item.BillingDocumentItem AS BillingDocumentItem,
Item.Product AS Product,
Item.BillingDocumentItemText AS BillingDocumentItemText,
Item.BillingQuantity AS BillingQuantity,
Item.BillingQuantityUnit AS BillingQuantityUnit,
Item.NetAmount AS NetAmount,
Item.TaxAmount AS TaxAmount,
Item.GrossAmount AS GrossAmount,
Item.TransactionCurrency AS TransactionCurrency,
cast (Item.SalesDocumentItemCategory as pstyv preserving type ) AS SalesDocumentItemCategory,
Item.PricingDate AS PricingDate,
Item.StatisticalValueControl AS StatisticalValueControl,
Item.ServicesRenderedDate AS ServicesRenderedDate,
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.TaxCode AS TaxCode,
_BillingDocument.TaxDepartureCountry AS TaxDepartureCountry,
_BillingDocument._TaxDepartureCountry.TaxCalculationProcedure AS TaxCalculationProcedure,
Item.TaxRateValidityStartDate AS TaxRateValidityStartDate,
Item.ZeroVATRsn AS ZeroVATRsn,
Item.HigherLevelItem AS HigherLevelItem,
Item._BillingQuantityUnit AS _BillingQuantityUnit,
Item._TransactionCurrency AS _TransactionCurrency,
Item._HigherLevelItem AS _HigherLevelItem,
Item._SalesDocumentItemCategory AS _SalesDocumentItemCategory,
Item._StatisticalValueControl AS _StatisticalValueControl,
Item._DepartureCountry AS _DepartureCountry,
_BillingDocument._TaxDepartureCountry AS _TaxDepartureCountry
FROM I_BillingDocumentItem AS Item
LEFT OUTER JOIN C_BillgDocRedacted AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument -- association [1..1]
LEFT OUTER JOIN I_ProductStdVH AS _Product ON Product = _Product.Product -- association [0..1]
LEFT OUTER JOIN I_TaxCode AS _TaxCode ON taxcalculationprocedure = _TaxCode.TaxCalculationProcedure AND TaxCode = _TaxCode.TaxCode -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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