I_ACMTrdgContrSalesDivisionVH

DDL: I_ACMTRDGCONTRSALESDIVISIONVH SQL: ISALWSDIVNVH Type: view BASIC

Sales Division Value Help

I_ACMTrdgContrSalesDivisionVH is a Basic CDS View that provides data about "Sales Division Value Help" in SAP S/4HANA. It reads from 1 data source (P_Sales_Division) and exposes 4 fields with key fields SalesOrganization, DistributionChannel, SalesDocumentDivision. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_Sales_Division P_Sales_Division from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_Sales_Division_Text _SalesDivisionText $projection.SalesDocumentDivision = _SalesDivisionText.spart

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISALWSDIVNVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Sales Division Value Help view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization vkorg SD Sales Org.
KEY DistributionChannel vtweg RefDistCh-Cust/Mat.
KEY SalesDocumentDivision spart Source supplier
DivisionName

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_ACMTrdgContrSalesDivisionVH.
-- 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: ISALWSDIVNVH

CREATE VIEW I_ACMTrdgContrSalesDivisionVH AS
SELECT
  vkorg AS SalesOrganization,
  vtweg AS DistributionChannel,
  spart AS SalesDocumentDivision,
  _SalesDivisionText[1: spras = $session.system_language ].vtext AS DivisionName
FROM P_Sales_Division
LEFT OUTER JOIN P_Sales_Division_Text AS _SalesDivisionText ON SalesDocumentDivision = _SalesDivisionText.spart  -- association [0..*]
;