P_SI_SalesVolumeActualData

DDL: P_SI_SALESVOLUMEACTUALDATA SQL: PSDSISVACTD Type: view COMPOSITE

P_SI_SalesVolumeActualData is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_BillingDocExtdItemBasic) and exposes 21 fields with key fields BillingDocument, BillingDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocExtdItemBasic I_BillingDocExtdItemBasic from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName PSDSISVACTD view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument BillingDocument SD Document
KEY BillingDocumentItem BillingDocumentItem Item
BillingDocumentDate BillingDocumentDate Billing Date
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
CustomerGroup CustomerGroup Customer Group
Customer SoldToParty Sold-to Party
MaterialGroup MaterialGroup Product Group
Material Material Vehicle Model
TransactionCurrency TransactionCurrency Transaction Currency
_BillingDocumentType _BillingDocumentType
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_CustomerGroup _CustomerGroup
_Customer _Customer
_MaterialGroup _MaterialGroup
_Material _Material
_TransactionCurrency _TransactionCurrency

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 P_SI_SalesVolumeActualData.
-- 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: PSDSISVACTD

CREATE VIEW P_SI_SalesVolumeActualData AS
SELECT
  BillingDocument,
  BillingDocumentItem,
  BillingDocumentDate,
  BillingDocumentType,
  SalesOrganization,
  DistributionChannel,
  Division,
  CustomerGroup,
  SoldToParty AS Customer,
  MaterialGroup,
  Material,
  TransactionCurrency
FROM I_BillingDocExtdItemBasic
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
;