C_CndnContrTypeSuplrDisplay

DDL: C_CNDNCONTRTYPESUPLRDISPLAY SQL: CWCBCCTYPESUPLRD Type: view CONSUMPTION

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.

Data Sources (1)

SourceAliasJoin Type
I_CndnContrType CCType_Suplr from

Associations (1)

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

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CWCBCCTYPESUPLRD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
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
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE 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
@AbapCatalog.sqlViewName: 'CWCBCCTYPESUPLRD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@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
@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #SESSION_VARIABLE
@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 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'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNDNCONTRCLASSFCTNTYPE",
"I_CNDNCONTRPROCESSCATEGORY",
"I_CNDNCONTRPROCESSCATEGORYTEXT",
"I_CNDNCONTRTYPE",
"I_CNDNCONTRTYPETEXT"
],
"ASSOCIATED":
[
"I_CNDNCONTRPROCESSCATEGORY"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/