I_ExciseDueDocBase
Excise Duelist Base
I_ExciseDueDocBase is a Composite CDS View that provides data about "Excise Duelist Base" in SAP S/4HANA. It reads from 3 data sources (I_BillingDocument, I_ExciseRevDoc, P_SdPricingPrcd) and exposes 40 fields with key fields BillingDocument, BillingDocumentItem, SalesOrganization, DistributionChannel, Division. It has 5 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocument | I_BillingDocument | from |
| I_ExciseRevDoc | I_ExciseRevDoc | left_outer |
| P_SdPricingPrcd | P_SdPricingPrcd | left_outer |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ExciseSeriesGrpDetrmn | _ExciseSeriesGrpDtmn | ( $projection.SalesOrganization = _ExciseSeriesGrpDtmn.SalesOrganization and $projection.DistributionChannel = _ExciseSeriesGrpDtmn.DistributionChannel and $projection.Division = _ExciseSeriesGrpDtmn.Division and $projection.ShippingPoint = _ExciseSeriesGrpDtmn.ShippingPoint ) |
| [1..1] | I_SDDocumentCompletePartners | _Partner | $projection.BillingDocument = _Partner.SDDocument and $projection.BillingDocumentItem = _Partner.SDDocumentItem and _Partner.PartnerFunction = 'WE' |
| [0..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_Division | _Division | $projection.Division = _Division.Division |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Excise Duelist Base | view | |
| AbapCatalog.sqlViewName | ISDEXDUEDOCBS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | BillingDocument | SD Document | |
| KEY | BillingDocumentItem | _Item | BillingDocumentItem | Item |
| KEY | SalesOrganization | SalesOrganization | Sales Organization | |
| KEY | DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | |
| KEY | Division | Division | Internal Division ID | |
| KEY | BillingDocumentCategory | BillingDocumentCategory | BillingCategory | |
| KEY | SoldToParty | SoldToParty | Sold-to Party | |
| KEY | BillingDocumentDate | BillingDocumentDate | Billing Date | |
| KEY | BillingDocumentType | BillingDocumentType | Billing Type | |
| KEY | PricingDocument | PricingDocument | Document Condition | |
| KEY | TransactionCurrency | TransactionCurrency | Transaction Currency | |
| KEY | ExciseDocStatus | _ExciseHeader | ExciseDocStatus | |
| KEY | ReferenceSDDocument | _Item | ReferenceSDDocument | Reference Doc. |
| KEY | DeliveryDocument | DeliveryDocument | Outbound Delivery | |
| KEY | ShippingPoint | _Item | ShippingPoint | Shipping Point |
| KEY | Material | _Item | Material | Vehicle Model |
| KEY | MaterialName | |||
| KEY | Language | |||
| KEY | BaseUnit | _Item | BaseUnit | Unit of Measure |
| KEY | BillingQuantity | _Item | BillingQuantity | Invoiced Qty |
| KEY | BillingQuantityUnit | _Item | BillingQuantityUnit | Sales Unit |
| KEY | PricingDate | _Item | PricingDate | Pricing Date |
| KEY | StorageLocation | _Item | StorageLocation | StorageLocation |
| KEY | Batch | _Item | Batch | Lot No. |
| KEY | BusinessArea | _Item | BusinessArea | Business Area |
| KEY | ProfitCenter | _Item | ProfitCenter | Profit Center |
| KEY | ProfitabilitySegment | _Item | ProfitabilitySegment_2 | Profit. segment |
| KEY | CostCenter | _Item | CostCenter | Cost Center |
| KEY | Plant | _Item | Plant | Valuation Area |
| KEY | PlantName | |||
| KEY | TaxCalculationProcedure | _Country | TaxCalculationProcedure | Tax Procedure |
| KEY | CompanyCode | I_BillingDocument | CompanyCode | Receiver Company Code |
| KEY | Currency | |||
| _Item | _Item | |||
| _ExciseSeriesGrpDtmn | _ExciseSeriesGrpDtmn | |||
| _BillingDocumentCategory | _BillingDocumentCategory | |||
| _Partner | _Partner | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _SalesOrganization | _SalesOrganization |
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_ExciseDueDocBase.
-- 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: ISDEXDUEDOCBS
CREATE VIEW I_ExciseDueDocBase AS
SELECT
BillingDocument,
_Item.BillingDocumentItem AS BillingDocumentItem,
SalesOrganization,
DistributionChannel,
Division,
BillingDocumentCategory,
SoldToParty,
BillingDocumentDate,
BillingDocumentType,
PricingDocument,
TransactionCurrency,
_ExciseHeader.ExciseDocStatus AS ExciseDocStatus,
_Item.ReferenceSDDocument AS ReferenceSDDocument,
DeliveryDocument,
_Item.ShippingPoint AS ShippingPoint,
_Item.Material AS Material,
_Item._Material._Text.MaterialName AS MaterialName,
_Item._Material._Text.Language AS Language,
_Item.BaseUnit AS BaseUnit,
_Item.BillingQuantity AS BillingQuantity,
_Item.BillingQuantityUnit AS BillingQuantityUnit,
_Item.PricingDate AS PricingDate,
_Item.StorageLocation AS StorageLocation,
_Item.Batch AS Batch,
_Item.BusinessArea AS BusinessArea,
_Item.ProfitCenter AS ProfitCenter,
_Item.ProfitabilitySegment_2 AS ProfitabilitySegment,
_Item.CostCenter AS CostCenter,
_Item.Plant AS Plant,
_Item._Plant.PlantName AS PlantName,
_Country.TaxCalculationProcedure AS TaxCalculationProcedure,
I_BillingDocument.CompanyCode AS CompanyCode,
_CompanyCode._Currency.Currency AS Currency
FROM I_BillingDocument
LEFT OUTER JOIN I_ExciseRevDoc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SdPricingPrcd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ExciseSeriesGrpDetrmn AS _ExciseSeriesGrpDtmn ON ( SalesOrganization = _ExciseSeriesGrpDtmn.SalesOrganization AND DistributionChannel = _ExciseSeriesGrpDtmn.DistributionChannel AND Division = _ExciseSeriesGrpDtmn.Division AND ShippingPoint = _ExciseSeriesGrpDtmn.ShippingPoint ) -- association [1..1]
LEFT OUTER JOIN I_SDDocumentCompletePartners AS _Partner ON BillingDocument = _Partner.SDDocument AND BillingDocumentItem = _Partner.SDDocumentItem AND _Partner.PartnerFunction = 'WE' -- association [1..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization -- association [0..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