P_MfgQualificationGroupList

DDL: P_MFGQUALIFICATIONGROUPLIST SQL: PMFGQUALGRPLIST Type: view BASIC

P_MfgQualificationGroupList is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (hrp1000, hrp1001, t77s0) and exposes 3 fields with key field MfgHumanResourceQualification.

Data Sources (3)

SourceAliasJoin Type
hrp1000 GroupDetail inner
hrp1001 QualificationGroupList from
t77s0 SystemTable inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMFGQUALGRPLIST view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MfgHumanResourceQualification hrp1001 objid
MfgHumRsceQualificationIsGroup
MfgHumRsceQualificationGrpDesc hrp1000 stext
@AbapCatalog.sqlViewName: 'PMFGQUALGRPLIST'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE

define view P_MfgQualificationGroupList
  as select from hrp1001 as QualificationGroupList
    inner join   t77s0   as SystemTable on  SystemTable.grpid = 'PLOGI'
                                        and SystemTable.semid = 'PLOGI'
                                        and SystemTable.gsval = QualificationGroupList.plvar
    inner join   hrp1000 as GroupDetail on  GroupDetail.plvar = QualificationGroupList.plvar
                                        and GroupDetail.otype = QualificationGroupList.otype
                                        and GroupDetail.objid = QualificationGroupList.objid
                                        and GroupDetail.langu = $session.system_language
{
  key QualificationGroupList.objid                                        as MfgHumanResourceQualification,
      sum(case when QualificationGroupList.rsign = 'A' then 1 else 0 end) as MfgHumRsceQualificationIsGroup,
      GroupDetail.stext                                                   as MfgHumRsceQualificationGrpDesc
}
where
      QualificationGroupList.otype = 'QK'
  and QualificationGroupList.relat = '030'
group by
  QualificationGroupList.objid,
  GroupDetail.stext