A_CnsldtnCustomer

DDL: A_CNSLDTNCUSTOMER SQL: ACSCUSTOMER Type: view COMPOSITE

Combined Customer

A_CnsldtnCustomer is a Composite CDS View that provides data about "Combined Customer" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnCustomer) and exposes 6 fields with key field Customer. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnCustomer I_CnsldtnCustomer from

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_CnsldtnCustomerT _CnsldtnCustomerT $projection.Customer = _CnsldtnCustomerT.Customer
[0..*] A_CnsldtnCustomerHier _CnsldtnCustomerHier $projection.MDHierType = _CnsldtnCustomerHier.MDHierType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ACSCUSTOMER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
OData.entitySet.name Customer view
EndUserText.label Combined Customer view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Sold-to Party
AdditionalMasterDataSource AdditionalMasterDataSource
MDHierType
HierarchyType
_CnsldtnCustomerT _CnsldtnCustomerT
_CnsldtnCustomerHier _CnsldtnCustomerHier

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 A_CnsldtnCustomer.
-- 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: ACSCUSTOMER

CREATE VIEW A_CnsldtnCustomer AS
SELECT
  Customer,
  AdditionalMasterDataSource,
  cast ( 'CS08' as hrytype ) AS MDHierType,
  cast ( 'CS08' as hrytype ) AS HierarchyType
FROM I_CnsldtnCustomer
LEFT OUTER JOIN A_CnsldtnCustomerT AS _CnsldtnCustomerT ON Customer = _CnsldtnCustomerT.Customer  -- association [0..*]
LEFT OUTER JOIN A_CnsldtnCustomerHier AS _CnsldtnCustomerHier ON MDHierType = _CnsldtnCustomerHier.MDHierType  -- association [0..*]
;