C_SalesOrganizationVH

DDL: C_SALESORGANIZATIONVH SQL: CSDSALESORGVH Type: view CONSUMPTION

Sales Organization

C_SalesOrganizationVH is a Consumption CDS View that provides data about "Sales Organization" in SAP S/4HANA. It reads from 1 data source (I_SalesOrganization) and exposes 5 fields with key field SalesOrganization. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesOrganization SalesOrganization from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_SalesOrganizationText _Text $projection.SalesOrganization = _Text.SalesOrganization
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSDSALESORGVH view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.representativeKey SalesOrganization view
EndUserText.label Sales Organization view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization Sales Organization
SalesOrganizationCurrency SalesOrganizationCurrency Transaction Currency
CompanyCode CompanyCode Receiver Company Code
_Text _Text
_CompanyCode _CompanyCode

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_SalesOrganizationVH.
-- 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: CSDSALESORGVH

CREATE VIEW C_SalesOrganizationVH AS
SELECT
  SalesOrganization,
  SalesOrganizationCurrency,
  CompanyCode
FROM I_SalesOrganization AS SalesOrganization
LEFT OUTER JOIN I_SalesOrganizationText AS _Text ON SalesOrganization = _Text.SalesOrganization  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
;