I_QualityManagementSystem

DDL: I_QUALITYMANAGEMENTSYSTEM Type: view BASIC

Quality Management System

I_QualityManagementSystem is a Basic CDS View that provides data about "Quality Management System" in SAP S/4HANA. It reads from 1 data source (tq02b) and exposes 4 fields with key field QualityManagementSystem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tq02b tq02b from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_QltyMgmtSystemText _QltyMgmtSystemText $projection.QualityManagementSystem = _QltyMgmtSystemText.QualityManagementSystem

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IQLTYMGMTSYST view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Quality Management System view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey QualityManagementSystem view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name QualityManagementSystem view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY QualityManagementSystem tq02b qssysfam
QltyMgmtSystIsCertified tq02b qssyszert
QltyMgmtSystValuation tq02b qssysbew
_QltyMgmtSystemText _QltyMgmtSystemText
@AbapCatalog: {
    sqlViewName: 'IQLTYMGMTSYST',
    preserveKey: true,
    compiler.compareFilter: true
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Quality Management System'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: {
    viewType: #BASIC,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel.supportedCapabilities:
    [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.modelingPattern: #NONE
@ObjectModel.representativeKey: 'QualityManagementSystem'
@ObjectModel.usageType: {
    dataClass: #CUSTOMIZING,
    sizeCategory: #M,
    serviceQuality: #A
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.sapObjectNodeType.name: 'QualityManagementSystem'
//@ObjectModel.alternativeKey: [{ id: 'OID', uniqueness: #UNIQUE, element: ['QualityManagementSystemOID'] }]

define view I_QualityManagementSystem
  as select from           tq02b
    left outer to one join I_MdiOidConfiguration on I_MdiOidConfiguration.ObjectTypeCode = '5651' // OTC of SOT definition QualityManagementSystem in GTNC


  association [1..*] to I_QltyMgmtSystemText as _QltyMgmtSystemText on $projection.QualityManagementSystem = _QltyMgmtSystemText.QualityManagementSystem
{
  key tq02b.qssysfam  as QualityManagementSystem,
      tq02b.qssyszert as QltyMgmtSystIsCertified,
      tq02b.qssysbew  as QltyMgmtSystValuation,

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

          cast( tq02b.qssysfam as qualitymanagementsystemoid )
        when I_MdiOidConfiguration.Context is not initial then
      // Context ID is specified

          cast( concat( concat( I_MdiOidConfiguration.Context, ':' ), tq02b.qssysfam ) as qualitymanagementsystemoid )
      end             as QualityManagementSystemOID,

      /* Associations */
      _QltyMgmtSystemText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MDIOIDCONFIGURATION",
"TQ02B"
],
"ASSOCIATED":
[
"I_QLTYMGMTSYSTEMTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/