C_CndnContrTypeSuplrDisplay

DDL: C_CNDNCONTRTYPESUPLRDISPLAY Type: view_entity CONSUMPTION Package: WCB_UI_CC_FIO_COM

Supplier Contract Types for Display

C_CndnContrTypeSuplrDisplay is a Consumption CDS View that provides data about "Supplier Contract Types for Display" in SAP S/4HANA. It reads from 1 data source (I_CndnContrType) and exposes 5 fields with key field CndnContrType. It has 1 association to related views. Part of development package WCB_UI_CC_FIO_COM.

Data Sources (1)

SourceAliasJoin Type
I_CndnContrType CCType_Suplr from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CndnContrProcessCategory _CndnContrProcessCategory $projection.CndnContrProcessCategory = _CndnContrProcessCategory.CndnContrProcessCategory

Annotations (12)

NameValueLevelField
VDM.viewType #CONSUMPTION view
Search.searchable true view
Consumption.ranked true view
ObjectModel.representativeKey CndnContrType view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
Analytics.technicalName CWCBCCTYPESUPLRD view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Supplier Contract Types for Display view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CndnContrType I_CndnContrType CndnContrType
CndnContrTypeDesc
CndnContrProcessCategory
CndnContrProcessCategoryDesc
_CndnContrProcessCategory _CndnContrProcessCategory
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@Consumption.ranked: true
@ObjectModel.semanticKey: [ 'CndnContrType' ]
@ObjectModel.representativeKey: 'CndnContrType'
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.dataCategory: #VALUE_HELP
@Analytics.technicalName: 'CWCBCCTYPESUPLRD'
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Supplier Contract Types for Display'
@Metadata.ignorePropagatedAnnotations: true

// Supplier Condition Contract Types with authority 03 (display)

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view entity C_CndnContrTypeSuplrDisplay
  as select from I_CndnContrType as CCType_Suplr

  association [0..1] to I_CndnContrProcessCategory as _CndnContrProcessCategory on $projection.CndnContrProcessCategory = _CndnContrProcessCategory.CndnContrProcessCategory

{
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 1.0  }
      @ObjectModel.text.element: [ 'CndnContrTypeDesc' ]
      @UI: {
          selectionField: [{position: 10}],
          textArrangement: #TEXT_LAST
        }
  key CCType_Suplr.CndnContrType                                                                                                     as CndnContrType,

      @Semantics.text:true
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8  }
      @UI: {
          selectionField: [{position: 20}]
        }
      _Text[1: Language = $session.system_language ].CndnContrTypeDesc                                                               as CndnContrTypeDesc,

      @ObjectModel.text.element: ['CndnContrProcessCategoryDesc']
      @Consumption.valueHelpDefinition: [{
          entity: { name: 'I_CndnContrProcessCategory', element: 'CndnContrProcessCategory' }
      }]
      @UI: {
      //      hidden: true,

          selectionField: [{ position: 30, exclude: false }],
          textArrangement: #TEXT_ONLY,
          lineItem: [{hidden: true}]
        }
      cast ( coalesce( CCType_Suplr._CndnContrClassfctnType.CndnContrProcessCategory, '' ) as wcb_process_category preserving type ) as CndnContrProcessCategory,

      @Semantics.text: true
      @Consumption.filter.hidden: true
      @UI: {
          hidden: true
        }
      _CndnContrClassfctnType._CndnContrProcessCategory._Text[1: Language = $session.system_language ].CndnContrProcessCategoryDesc  as CndnContrProcessCategoryDesc,

      //Associations

      @Consumption.filter.hidden: true
      _CndnContrProcessCategory

}
where
    ( CCType_Suplr.CndnContrPartnerCat     = 'V'
   or CCType_Suplr.CndnContrSettlmtType    = '1' )
  and CCType_Suplr.CndnContrChangeability  = ''
  and CCType_Suplr.CndnContrTypeBlockUsage = ''