C_CustomerMaterial_F2499

DDL: C_CUSTOMERMATERIAL_F2499 SQL: CSDCUSTMATF2499 Type: view CONSUMPTION Package: ODATA_SD_CUSTOMER_MATERIAL

Customer Material

C_CustomerMaterial_F2499 is a Consumption CDS View that provides data about "Customer Material" in SAP S/4HANA. It reads from 1 data source (I_CustomerMaterialTP) and exposes 54 fields with key fields SalesOrganization, DistributionChannel, Material. It has 10 associations to related views. It is used in 1 Fiori application: Manage Customer Materials. Part of development package ODATA_SD_CUSTOMER_MATERIAL.

Data Sources (1)

SourceAliasJoin Type
I_CustomerMaterialTP I_CustomerMaterialTP from

Associations (10)

CardinalityTargetAliasCondition
[0..1] C_Dischannelvaluehelp _DistributionChannel $projection.SalesOrganizationForEdit = _DistributionChannel.SalesOrganization and $projection.DistributionChannelForEdit = _DistributionChannel.DistributionChannel
[0..1] C_Q2CCustomerQuickView _SoldToParty $projection.CustomerForEdit = _SoldToParty.Customer
[0..*] C_CustomerMaterialValueHelp _MaterialByCustomer $projection.MaterialByCustomer = _MaterialByCustomer.MaterialByCustomer
[0..1] I_Material _Material $projection.MaterialForEdit = _Material.Material and $projection.BaseUnit = _Material.MaterialBaseUnit
[0..1] I_AllwdPlantsPerSlsOrgVH _PlantValueHelp $projection.Plant = _PlantValueHelp.Plant and $projection.SalesOrganizationForEdit = _PlantValueHelp.SalesOrganization and $projection.DistributionChannelForEdit = _PlantValueHelp.DistributionChannel
[0..1] I_SalesOrganization _SalesOrganizationForEdit $projection.SalesOrganizationForEdit = _SalesOrganizationForEdit.SalesOrganization
[0..*] C_CustomerMaterialLongTextTP _CustomerMaterialText $projection.SalesOrganization = _CustomerMaterialText.SalesOrganization and $projection.DistributionChannel = _CustomerMaterialText.DistributionChannel and $projection.Customer = _CustomerMaterialText.Customer and $projection.Material = _CustomerMaterialText.Material
[0..*] C_AdditionalCustomerMaterialTP _AdditionalCustomerMaterial $projection.SalesOrganization = _AdditionalCustomerMaterial.SalesOrganization and $projection.DistributionChannel = _AdditionalCustomerMaterial.DistributionChannel and $projection.Customer = _AdditionalCustomerMaterial.Customer and $projection.Material = _AdditionalCustomerMaterial.Material
[0..*] C_CustMatlAddrDepdntInfoTP _CustMatlAddrDepdntInfo $projection.SalesOrganization = _CustMatlAddrDepdntInfo.SalesOrganization and $projection.DistributionChannel = _CustMatlAddrDepdntInfo.DistributionChannel and $projection.Customer = _CustMatlAddrDepdntInfo.Customer and $projection.Material = _CustMatlAddrDepdntInfo.Material
[0..1] C_ProductUnitsOfMeasureVH _SalesUnit $projection.MaterialForEdit = _SalesUnit.Product and $projection.SalesUnit = _SalesUnit.AlternativeUnit

Annotations (24)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CSDCUSTMATF2499 view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Customer Material view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.draftEnabled true view
UI.headerInfo.typeName Customer Material view
UI.headerInfo.typeNamePlural Customer Materials view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value MaterialDescriptionByCustomer view
UI.headerInfo.description.value MaterialByCustomerForEdit view
Consumption.semanticObject CustomerMaterialInformation view

Fiori Apps (1)

App IDApp NameTypeDescription
F2499 Manage Customer Materials Transactional The Fiori application "Manage Customer Materials" enables a company to maintain customer-specific names for its own products. The application allows an internal sales representative to do the following: • filter the displayed list of customer materials • display customer materials • navigate from one customer material to another without going back to the list report • create a customer material • change a customer material • delete a customer material • delete several customer materials The "Internal Sales Representative" business role is a prerequisite for using this application.

Manage Customer Materials

Business Role: Internal Sales Representative

The Fiori application "Manage Customer Materials" enables a company to maintain customer-specific names for its own products. The application allows an internal sales representative to do the following: Display customer material Search for customer material using the smart filter bar Create customer material Copy customer material Modify customer material Delete one customer material Delete one or several customer materials Navigate to a customer material The "Internal Sales Representative" business role is a prerequisite for using this application.

Fields (54)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
keyCustomer
KEY Material Vehicle Model
SalesOrganizationName SalesOrganizationName Sales Organization Description
SalesOrganizationForEdit SalesOrganizationForEdit Sales Org.
DistributionChannelForEdit DistributionChannelForEdit RefDistCh-Cust/Mat.
MaterialByCustomer MaterialByCustomer Customer Mat.
CustomerForEdit
MaterialForEdit MaterialForEdit Product
MaterialName MaterialName Material Description
MaterialByCustomerForEdit Cust. Material
MaterialDescriptionByCustomer MaterialDescriptionByCustomer Customer Descr.
CustomerName _SoldToParty CustomerName Name of Customer
CustomerMaterialSearchTerm CustomerMaterialSearchTerm Search term
RoundingProfile RoundingProfile Rnding Profile
LogisticalRoundingProfileName
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
UICT_LastChangeDateTime
CustMatlAddrDepdntInfoIsHidden
Plant Plant Valuation Area
DeliveryPriority DeliveryPriority Delivery Prior.
MinDeliveryQtyInBaseUnit MinDeliveryQtyInBaseUnit Min. Dely Qty
BaseUnit BaseUnit Unit of Measure
OrganizationBPName1 _Customer OrganizationBPName1 Name 1
OrganizationBPName2 _Customer OrganizationBPName2 Name 2
PartialDeliveryIsAllowed PartialDeliveryIsAllowed Partial Deliv.
MaxNmbrOfPartialDelivery MaxNmbrOfPartialDelivery Max.Part.Deliv.
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct Underdel. Tol.
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed Unlimited Tol.
CustomerMaterialItemUsage CustomerMaterialItemUsage Item Usage
CustomerMaterialItemUsageDesc
SalesUnit SalesUnit Unit
SalesQtyToBaseQtyDnmntr SalesQtyToBaseQtyDnmntr Denominat.
SalesQtyToBaseQtyNmrtr SalesQtyToBaseQtyNmrtr Numerator
_DistributionChannel _DistributionChannel
_Customer _Customer
_Material _Material
_Plant _Plant
_PlantValueHelp _PlantValueHelp
_DeliveryPriority _DeliveryPriority
_BaseUnit _BaseUnit
_SalesUnit _SalesUnit
_PartialDeliveryIsAllowed _PartialDeliveryIsAllowed
_SoldToParty _SoldToParty
_SalesOrganization _SalesOrganization
_MaterialByCustomer _MaterialByCustomer
_SalesOrganizationForEdit _SalesOrganizationForEdit
_CustMatlAddrDepdntInfo _CustMatlAddrDepdntInfo
_CustomerMaterialText _CustomerMaterialText
_AdditionalCustomerMaterial _AdditionalCustomerMaterial
_LastChangedByUser _LastChangedByUser

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_CustomerMaterial_F2499.
-- 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: CSDCUSTMATF2499

CREATE VIEW C_CustomerMaterial_F2499 AS
SELECT
  SalesOrganization,
  DistributionChannel,
  cast(Material as productnumber preserving type ) AS Material,
  SalesOrganizationName,
  SalesOrganizationForEdit,
  DistributionChannelForEdit,
  MaterialByCustomer,
  MaterialForEdit,
  MaterialName,
  cast( MaterialByCustomerForEdit as matnr_ku_deprecation preserving type ) AS MaterialByCustomerForEdit,
  MaterialDescriptionByCustomer,
  _SoldToParty.CustomerName AS CustomerName,
  CustomerMaterialSearchTerm,
  RoundingProfile,
  _LogisticalRoundingProfile._Text[1:Language=$session.system_language].LogisticalRoundingProfileName AS LogisticalRoundingProfileName,
  LastChangedByUser,
  LastChangeDateTime,
  cast(' ' as abap_boolean preserving type) AS UICT_LastChangeDateTime,
  cast(' ' as abap_boolean preserving type) AS CustMatlAddrDepdntInfoIsHidden,
  Plant,
  DeliveryPriority,
  MinDeliveryQtyInBaseUnit,
  BaseUnit,
  _Customer.OrganizationBPName1 AS OrganizationBPName1,
  _Customer.OrganizationBPName2 AS OrganizationBPName2,
  PartialDeliveryIsAllowed,
  MaxNmbrOfPartialDelivery,
  UnderdelivTolrtdLmtRatioInPct,
  OverdelivTolrtdLmtRatioInPct,
  UnlimitedOverdeliveryIsAllowed,
  CustomerMaterialItemUsage,
  _CustomerMaterialItemUsage._Text[1:Language=$session.system_language].CustomerMaterialItemUsageDesc AS CustomerMaterialItemUsageDesc,
  SalesUnit,
  SalesQtyToBaseQtyDnmntr,
  SalesQtyToBaseQtyNmrtr
FROM I_CustomerMaterialTP
LEFT OUTER JOIN C_Dischannelvaluehelp AS _DistributionChannel ON SalesOrganizationForEdit = _DistributionChannel.SalesOrganization AND DistributionChannelForEdit = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN C_Q2CCustomerQuickView AS _SoldToParty ON CustomerForEdit = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN C_CustomerMaterialValueHelp AS _MaterialByCustomer ON MaterialByCustomer = _MaterialByCustomer.MaterialByCustomer  -- association [0..*]
LEFT OUTER JOIN I_Material AS _Material ON MaterialForEdit = _Material.Material AND BaseUnit = _Material.MaterialBaseUnit  -- association [0..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 I_SalesOrganization AS _SalesOrganizationForEdit ON SalesOrganizationForEdit = _SalesOrganizationForEdit.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN C_CustomerMaterialLongTextTP AS _CustomerMaterialText ON SalesOrganization = _CustomerMaterialText.SalesOrganization AND DistributionChannel = _CustomerMaterialText.DistributionChannel AND Customer = _CustomerMaterialText.Customer AND Material = _CustomerMaterialText.Material  -- association [0..*]
LEFT OUTER JOIN C_AdditionalCustomerMaterialTP AS _AdditionalCustomerMaterial ON SalesOrganization = _AdditionalCustomerMaterial.SalesOrganization AND DistributionChannel = _AdditionalCustomerMaterial.DistributionChannel AND Customer = _AdditionalCustomerMaterial.Customer AND Material = _AdditionalCustomerMaterial.Material  -- association [0..*]
LEFT OUTER JOIN C_CustMatlAddrDepdntInfoTP AS _CustMatlAddrDepdntInfo ON SalesOrganization = _CustMatlAddrDepdntInfo.SalesOrganization AND DistributionChannel = _CustMatlAddrDepdntInfo.DistributionChannel AND Customer = _CustMatlAddrDepdntInfo.Customer AND Material = _CustMatlAddrDepdntInfo.Material  -- association [0..*]
LEFT OUTER JOIN C_ProductUnitsOfMeasureVH AS _SalesUnit ON MaterialForEdit = _SalesUnit.Product AND SalesUnit = _SalesUnit.AlternativeUnit  -- association [0..1]
;