C_SoldToSalesAreaVH

DDL: C_SOLDTOSALESAREAVH Type: view CONSUMPTION

Sold-to Party

C_SoldToSalesAreaVH is a Consumption CDS View that provides data about "Sold-to Party" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 25 fields with key field Customer. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Customer Customer from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CountryText _CountryText $projection.country = _CountryText.Country

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CSDSPBYSLSAREAVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Customer view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Sold-to Party view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY Customer I_Customer Customer Customer
CustomerName I_Customer CustomerName Name
OrganizationBPName1 I_Customer OrganizationBPName1 Name 1
OrganizationBPName2 I_Customer OrganizationBPName2 Name 2
AddressSearchTerm1
AddressSearchTerm2
PostalCode
CityName
Country
StreetName
_CountryText _CountryText
CustomerAccountGroup I_Customer CustomerAccountGroup Account group
AuthorizationGroup I_Customer AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted I_Customer IsBusinessPurposeCompleted Purpose Completed
DataControllerSet I_Customer DataControllerSet Data Ctrlr. Set
DataController1 I_Customer DataController1 Data Controller
DataController2 I_Customer DataController2 Data Controller
DataController3 I_Customer DataController3 Data Controller
DataController4 I_Customer DataController4 Data Controller
DataController5 I_Customer DataController5 Data Controller
DataController6 I_Customer DataController6 Data Controller
DataController7 I_Customer DataController7 Data Controller
DataController8 I_Customer DataController8 Data Controller
DataController9 I_Customer DataController9 Data Controller
DataController10 I_Customer DataController10 Data Controller

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_SoldToSalesAreaVH.
-- 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_SoldToSalesAreaVH AS
SELECT
  Customer.Customer AS Customer,
  Customer.CustomerName AS CustomerName,
  Customer.OrganizationBPName1 AS OrganizationBPName1,
  Customer.OrganizationBPName2 AS OrganizationBPName2,
  Customer._AddressDefaultRepresentation.AddressSearchTerm1 AS AddressSearchTerm1,
  Customer._AddressDefaultRepresentation.AddressSearchTerm2 AS AddressSearchTerm2,
  Customer._AddressDefaultRepresentation.PostalCode AS PostalCode,
  Customer._AddressDefaultRepresentation.CityName AS CityName,
  Customer._AddressDefaultRepresentation.Country AS Country,
  Customer._AddressDefaultRepresentation.StreetName AS StreetName,
  Customer.CustomerAccountGroup AS CustomerAccountGroup,
  Customer.AuthorizationGroup AS AuthorizationGroup,
  Customer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  Customer.DataControllerSet AS DataControllerSet,
  Customer.DataController1 AS DataController1,
  Customer.DataController2 AS DataController2,
  Customer.DataController3 AS DataController3,
  Customer.DataController4 AS DataController4,
  Customer.DataController5 AS DataController5,
  Customer.DataController6 AS DataController6,
  Customer.DataController7 AS DataController7,
  Customer.DataController8 AS DataController8,
  Customer.DataController9 AS DataController9,
  Customer.DataController10 AS DataController10
FROM I_Customer AS Customer
LEFT OUTER JOIN I_CountryText AS _CountryText ON country = _CountryText.Country  -- association [0..*]
;