A_CustSlsAreaAddrDepdntInfo

DDL: A_CUSTSLSAREAADDRDEPDNTINFO SQL: ACUSTSLSADDRDEP Type: view BASIC

Customer Sales Area Address Dependent Information

A_CustSlsAreaAddrDepdntInfo is a Basic CDS View that provides data about "Customer Sales Area Address Dependent Information" in SAP S/4HANA. It reads from 1 data source (I_CustSlsAreaAddrDepdntInfo) and exposes 18 fields with key fields Customer, SalesOrganization, DistributionChannel, Division, AddressID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustSlsAreaAddrDepdntInfo I_CustSlsAreaAddrDepdntInfo from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_CustomerSalesArea _CustomerSalesArea $projection.Customer = _CustomerSalesArea.Customer and $projection.SalesOrganization = _CustomerSalesArea.SalesOrganization and $projection.DistributionChannel = _CustomerSalesArea.DistributionChannel and $projection.Division = _CustomerSalesArea.Division
[0..1] E_CustSlsAreaAddrDepdntInfo _CustSlsAreaAddrDepdntInfoExt $projection.Customer = _CustSlsAreaAddrDepdntInfoExt.Customer and $projection.SalesOrganization = _CustSlsAreaAddrDepdntInfoExt.SalesOrganization and $projection.DistributionChannel = _CustSlsAreaAddrDepdntInfoExt.DistributionChannel and $projection.Division = _CustSlsAreaAddrDepdntInfoExt.Division and $projection.AddressID = _CustSlsAreaAddrDepdntInfoExt.AddressID

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ACUSTSLSADDRDEP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Customer Sales Area Address Dependent Information view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Sold-to Party
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Division Division Internal Division ID
KEY AddressID AddressID Ship-to address
IncotermsClassification IncotermsClassification Incoterms
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
IncotermsSupChnLoc1AddlUUID IncotermsSupChnLoc1AddlUUID Location UUID
IncotermsSupChnLoc2AddlUUID IncotermsSupChnLoc2AddlUUID Location UUID
IncotermsSupChnDvtgLocAddlUUID IncotermsSupChnDvtgLocAddlUUID Location UUID
DeliveryIsBlocked DeliveryIsBlocked Delivery block
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
ShippingCondition ShippingCondition Shipping Conditions
SupplyingPlant SupplyingPlant Supplying Plant
IncotermsVersion IncotermsVersion Inco. Version
_CustomerSalesArea _CustomerSalesArea

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_CustSlsAreaAddrDepdntInfo.
-- 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: ACUSTSLSADDRDEP

CREATE VIEW A_CustSlsAreaAddrDepdntInfo AS
SELECT
  Customer,
  SalesOrganization,
  DistributionChannel,
  Division,
  AddressID,
  IncotermsClassification,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsSupChnLoc1AddlUUID,
  IncotermsSupChnLoc2AddlUUID,
  IncotermsSupChnDvtgLocAddlUUID,
  DeliveryIsBlocked,
  SalesOffice,
  SalesGroup,
  ShippingCondition,
  SupplyingPlant,
  IncotermsVersion
FROM I_CustSlsAreaAddrDepdntInfo
LEFT OUTER JOIN A_CustomerSalesArea AS _CustomerSalesArea ON Customer = _CustomerSalesArea.Customer AND SalesOrganization = _CustomerSalesArea.SalesOrganization AND DistributionChannel = _CustomerSalesArea.DistributionChannel AND Division = _CustomerSalesArea.Division  -- association [1..1]
LEFT OUTER JOIN E_CustSlsAreaAddrDepdntInfo AS _CustSlsAreaAddrDepdntInfoExt ON Customer = _CustSlsAreaAddrDepdntInfoExt.Customer AND SalesOrganization = _CustSlsAreaAddrDepdntInfoExt.SalesOrganization AND DistributionChannel = _CustSlsAreaAddrDepdntInfoExt.DistributionChannel AND Division = _CustSlsAreaAddrDepdntInfoExt.Division AND AddressID = _CustSlsAreaAddrDepdntInfoExt.AddressID  -- association [0..1]
;