C_AdditionalCustomerMaterialTP

DDL: C_ADDITIONALCUSTOMERMATERIALTP SQL: CSDCUSTMATACM Type: view CONSUMPTION

Additional Customer Materials

C_AdditionalCustomerMaterialTP is a Consumption CDS View that provides data about "Additional Customer Materials" in SAP S/4HANA. It reads from 1 data source (I_AdditionalCustomerMaterialTP) and exposes 8 fields with key fields SalesOrganization, DistributionChannel, Customer, Material, MaterialByCustomer. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_AdditionalCustomerMaterialTP I_AdditionalCustomerMaterialTP from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_CustomerMaterial_F2499 _AdditionalCustomerMaterial $projection.SalesOrganization = _AdditionalCustomerMaterial.SalesOrganization and $projection.DistributionChannel = _AdditionalCustomerMaterial.DistributionChannel and $projection.Customer = _AdditionalCustomerMaterial.Customer and $projection.Material = _AdditionalCustomerMaterial.Material

Annotations (23)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CSDCUSTMATACM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Additional Customer Materials view
Search.searchable true view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #TEXT view
Metadata.allowExtensions true view
UI.headerInfo.typeName Additional Customer Material view
UI.headerInfo.typeNamePlural Additional Customer Materials view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value MaterialDescriptionByCustomer view
UI.headerInfo.description.value MaterialByCustomerForEdit view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Customer Customer Sold-to Party
KEY Material Vehicle Model
KEY MaterialByCustomer MaterialByCustomer Customer Mat.
MaterialByCustomerForEdit MaterialByCustomerForEdit Cust. Material
MaterialDescriptionByCustomer MaterialDescriptionByCustomer Customer Descr.
_AdditionalCustomerMaterial _AdditionalCustomerMaterial

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_AdditionalCustomerMaterialTP.
-- 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: CSDCUSTMATACM

CREATE VIEW C_AdditionalCustomerMaterialTP AS
SELECT
  SalesOrganization,
  DistributionChannel,
  Customer,
  cast(Material as productnumber preserving type ) AS Material,
  MaterialByCustomer,
  MaterialByCustomerForEdit,
  MaterialDescriptionByCustomer
FROM I_AdditionalCustomerMaterialTP
LEFT OUTER JOIN C_CustomerMaterial_F2499 AS _AdditionalCustomerMaterial ON SalesOrganization = _AdditionalCustomerMaterial.SalesOrganization AND DistributionChannel = _AdditionalCustomerMaterial.DistributionChannel AND Customer = _AdditionalCustomerMaterial.Customer AND Material = _AdditionalCustomerMaterial.Material  -- association [1..1]
;