C_CustMatlAddrDepdntInfoTP

DDL: C_CUSTMATLADDRDEPDNTINFOTP SQL: CCSTMATADRDEPTP Type: view CONSUMPTION

Customer Material Address Dependent Info

C_CustMatlAddrDepdntInfoTP is a Consumption CDS View that provides data about "Customer Material Address Dependent Info" in SAP S/4HANA. It reads from 1 data source (I_CustMatlAddrDepdntInfoTP) and exposes 22 fields with key fields SalesOrganization, DistributionChannel, Customer, Material, AddressID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustMatlAddrDepdntInfoTP I_CustMatlAddrDepdntInfoTP from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_CustomerMaterial_F2499 _CustMatlAddrDepdntInfo $projection.SalesOrganization = _CustMatlAddrDepdntInfo.SalesOrganization and $projection.DistributionChannel = _CustMatlAddrDepdntInfo.DistributionChannel and $projection.Customer = _CustMatlAddrDepdntInfo.Customer and $projection.Material = _CustMatlAddrDepdntInfo.Material
[0..1] I_AllwdPlantsPerSlsOrgVH _PlantValueHelp $projection.Plant = _PlantValueHelp.Plant and $projection.SalesOrganizationForEdit = _PlantValueHelp.SalesOrganization and $projection.DistributionChannelForEdit = _PlantValueHelp.DistributionChannel
[0..1] C_CustomerBPAddressVH _BPAddressValueHelp $projection.CustomerForEdit = _BPAddressValueHelp.Customer and $projection.AddressIDForEdit = _BPAddressValueHelp.AddressID

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName CCSTMATADRDEPTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
Search.searchable false view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
ObjectModel.type #CONSUMPTION view
ObjectModel.writeEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
UI.headerInfo.typeName Address-Dependent Shipping Data view
UI.headerInfo.typeNamePlural Address-Dependent Shipping Data view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value FormattedPostalAddressDesc view
EndUserText.label Customer Material Address Dependent Info view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Customer Customer Sold-to Party
KEY Material Material Vehicle Model
KEY AddressID AddressID Ship-to address
Plant Plant Valuation Area
AddressIDForEdit AddressIDForEdit Address Number
SalesOrganizationForEdit SalesOrganizationForEdit Sales Org.
DistributionChannelForEdit DistributionChannelForEdit RefDistCh-Cust/Mat.
CustomerForEdit CustomerForEdit Customer
MaterialForEdit Product
BusinessPartner BusinessPartner Issuing Authority
PlantName _Plant PlantName Plant Name
FormattedPostalAddressDesc Address Description
_CustMatlAddrDepdntInfo _CustMatlAddrDepdntInfo
_BPAddressValueHelp _BPAddressValueHelp
_Customer _Customer
_DistributionChannel _DistributionChannel
_Material _Material
_Plant _Plant
_PlantValueHelp _PlantValueHelp
_SalesOrganization _SalesOrganization

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_CustMatlAddrDepdntInfoTP.
-- 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: CCSTMATADRDEPTP

CREATE VIEW C_CustMatlAddrDepdntInfoTP AS
SELECT
  SalesOrganization,
  DistributionChannel,
  Customer,
  Material,
  AddressID,
  Plant,
  AddressIDForEdit,
  SalesOrganizationForEdit,
  DistributionChannelForEdit,
  CustomerForEdit,
  cast(MaterialForEdit as productnumber preserving type ) AS MaterialForEdit,
  BusinessPartner,
  _Plant.PlantName AS PlantName,
  cast( '' as ad_line_s ) AS FormattedPostalAddressDesc
FROM I_CustMatlAddrDepdntInfoTP
LEFT OUTER JOIN C_CustomerMaterial_F2499 AS _CustMatlAddrDepdntInfo ON SalesOrganization = _CustMatlAddrDepdntInfo.SalesOrganization AND DistributionChannel = _CustMatlAddrDepdntInfo.DistributionChannel AND Customer = _CustMatlAddrDepdntInfo.Customer AND Material = _CustMatlAddrDepdntInfo.Material  -- association [1..1]
LEFT OUTER JOIN I_AllwdPlantsPerSlsOrgVH AS _PlantValueHelp ON Plant = _PlantValueHelp.Plant AND SalesOrganizationForEdit = _PlantValueHelp.SalesOrganization AND DistributionChannelForEdit = _PlantValueHelp.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN C_CustomerBPAddressVH AS _BPAddressValueHelp ON CustomerForEdit = _BPAddressValueHelp.Customer AND AddressIDForEdit = _BPAddressValueHelp.AddressID  -- association [0..1]
;