C_SubordinateCntrlContrTypeVH

DDL: C_SUBORDINATECNTRLCONTRTYPEVH SQL: CSUBORDCCTRTYVH Type: view CONSUMPTION Package: ODATA_MM_CCTR_MAINTAIN

Contract Type VH for Subordinate Central Contracts

C_SubordinateCntrlContrTypeVH is a Consumption CDS View that provides data about "Contract Type VH for Subordinate Central Contracts" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 4 fields with key field PurchaseContractType. It has 1 association to related views. Part of development package ODATA_MM_CCTR_MAINTAIN.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PurchasingDocumentTypeText _Text _Text.PurchasingDocumentCategory = 'C' and _Text.PurchasingDocumentType = $projection.PurchaseContractType and Language = $session.system_language

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSUBORDCCTRTYVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Contract Type VH for Subordinate Central Contracts view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
ObjectModel.representativeKey PurchaseContractType view
ObjectModel.resultSet.sizeCategory #XS view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContractType PurchasingDocumentType
PurchasingDocumentSubtype PurchasingDocumentSubtype
PurchasingDocumentTypeName _Text PurchasingDocumentTypeName
_Text _Text
@AbapCatalog.sqlViewName: 'CSUBORDCCTRTYVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Contract Type VH for Subordinate Central Contracts'
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.semanticKey: ['PurchaseContractType']
@Search.searchable: true
@ObjectModel.representativeKey: 'PurchaseContractType'
@ObjectModel.resultSet.sizeCategory: #XS

define view C_SubordinateCntrlContrTypeVH

  as select from I_PurchasingDocumentType

  association [0..1] to I_PurchasingDocumentTypeText as _Text on  _Text.PurchasingDocumentCategory = 'C'
                                                              and _Text.PurchasingDocumentType     = $projection.PurchaseContractType
                                                              and Language                         = $session.system_language

{

      @Search: { defaultSearchElement: true, ranking: #HIGH }
      @ObjectModel.text.element:  [ 'PurchasingDocumentTypeName' ]
  key PurchasingDocumentType as PurchaseContractType,
      PurchasingDocumentSubtype,
      
      @Semantics.text: true
      _Text.PurchasingDocumentTypeName,
      _Text

}
where
      PurchasingDocumentCategory = 'C'
    and PurchasingDocumentSubtype  = 'C'  // Subordinate document