I_QualityMgmtCtrlKey

DDL: I_QUALITYMGMTCTRLKEY Type: view BASIC

Control Key for Quality Management

I_QualityMgmtCtrlKey is a Basic CDS View (Dimension) that provides data about "Control Key for Quality Management" in SAP S/4HANA. It reads from 1 data source (tq08) and exposes 3 fields with key field QualityMgmtCtrlKey. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tq08 tq08 from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_QualityMgmtCtrlKeyText _Text $projection.QualityMgmtCtrlKey = _Text.QualityMgmtCtrlKey

Annotations (16)

NameValueLevelField
EndUserText.label Control Key for Quality Management view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IQMCONTROLKEY view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
Search.searchable true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey QualityMgmtCtrlKey view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name QualityManagementControlKey view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY QualityMgmtCtrlKey tq08 qm_pur
SupplierReleaseIsRequired tq08 lieffrei
_Text _Text
@EndUserText.label: 'Control Key for Quality Management'
@Analytics.dataCategory: #DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog: {
    sqlViewName: 'IQMCONTROLKEY',
    preserveKey: true,
    compiler.compareFilter: true
}
@Search.searchable: true
@ObjectModel.supportedCapabilities:
    [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #SEARCHABLE_ENTITY, #ANALYTICAL_DIMENSION ]
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION    
@ObjectModel.representativeKey: 'QualityMgmtCtrlKey'
@ObjectModel.usageType: { serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING }
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.sapObjectNodeType.name: 'QualityManagementControlKey'
//@ObjectModel.alternativeKey: [{ id: 'OID', uniqueness: #UNIQUE, element: ['QualityManagementControlKeyOID'] }]

define view I_QualityMgmtCtrlKey
  as select from           tq08
    left outer to one join I_MdiOidConfiguration on I_MdiOidConfiguration.ObjectTypeCode = '5648' // OTC of SOT definition QualityManagementControlKey in GTNC

  association [1..*] to I_QualityMgmtCtrlKeyText as _Text on $projection.QualityMgmtCtrlKey = _Text.QualityMgmtCtrlKey
{
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @ObjectModel.text.association: '_Text'
  key tq08.qm_pur   as QualityMgmtCtrlKey,
      
      tq08.lieffrei as SupplierReleaseIsRequired,

      @ObjectModel.sort.enabled:false
      @ObjectModel.filter.enabled:false
      case when I_MdiOidConfiguration.Context is initial then
      // Context ID is not specified

        cast( tq08.qm_pur as qualitymanagementcontrolkeyoid )
      when I_MdiOidConfiguration.Context is not initial then
      // Context ID is specified

        cast( concat( concat( I_MdiOidConfiguration.Context, ':' ), tq08.qm_pur ) as qualitymanagementcontrolkeyoid )
      end           as QualityManagementControlKeyOID,

      //Associations

      _Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MDIOIDCONFIGURATION",
"TQ08"
],
"ASSOCIATED":
[
"I_QUALITYMGMTCTRLKEYTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/