I_AdditionalCustomerMaterialTP

DDL: I_ADDITIONALCUSTOMERMATERIALTP SQL: ICUSTMATACMTP Type: view TRANSACTIONAL

Additional Customer Material BO Node

I_AdditionalCustomerMaterialTP is a Transactional CDS View that provides data about "Additional Customer Material BO Node" in SAP S/4HANA. It reads from 1 data source (I_AdditionalCustomerMaterial) 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_AdditionalCustomerMaterial I_AdditionalCustomerMaterial from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CustomerMaterialTP _CustomerMaterial $projection.SalesOrganization = _CustomerMaterial.SalesOrganization and $projection.DistributionChannel = _CustomerMaterial.DistributionChannel and $projection.Customer = _CustomerMaterial.Customer and $projection.Material = _CustomerMaterial.Material

Annotations (18)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ICUSTMATACMTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Search.searchable false view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Additional Customer Material BO Node view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence ICUSMATACMDRAFT view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SalesOrganization SalesOrganization
KEY DistributionChannel DistributionChannel
KEY Customer Customer
KEY Material
KEY MaterialByCustomer MaterialByCustomer
MaterialByCustomerForEdit MaterialByCustomer
MaterialDescriptionByCustomer MaterialDescriptionByCustomer
_CustomerMaterial _CustomerMaterial
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'ICUSTMATACMTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@Search.searchable: false
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Additional Customer Material BO Node'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel: {
  draftEnabled: true,
  writeDraftPersistence: 'ICUSMATACMDRAFT',
  semanticKey:           ['SalesOrganization', 'DistributionChannel', 'Customer', 'Material'],
  representativeKey:     ['SalesOrganization', 'DistributionChannel', 'Customer', 'Material'],
  createEnabled:         true,
  deleteEnabled:         true,
  updateEnabled:         true,
  usageType.serviceQuality: #C,
  usageType.sizeCategory : #L,
  usageType.dataClass: #TRANSACTIONAL
}

define view I_AdditionalCustomerMaterialTP as 

select from I_AdditionalCustomerMaterial
  association [1..1] to I_CustomerMaterialTP as _CustomerMaterial
    on  $projection.SalesOrganization = _CustomerMaterial.SalesOrganization 
    and $projection.DistributionChannel = _CustomerMaterial.DistributionChannel
    and $projection.Customer = _CustomerMaterial.Customer
    and $projection.Material = _CustomerMaterial.Material

{

        @ObjectModel.readOnly: true
    key SalesOrganization,
        @ObjectModel.readOnly: true
    key DistributionChannel,
        @ObjectModel.readOnly: true
    key Customer,
        @ObjectModel.readOnly: true
    key cast (Material as productnumber preserving type) as Material,
        @ObjectModel.readOnly: true
    key MaterialByCustomer,
        @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
        @ObjectModel.mandatory: true
        MaterialByCustomer as MaterialByCustomerForEdit,

        @Semantics.text
        MaterialDescriptionByCustomer,
      
        @ObjectModel.association.type: [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
        _CustomerMaterial
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDITIONALCUSTOMERMATERIAL"
],
"ASSOCIATED":
[
"I_CUSTOMERMATERIALTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/