I_MfgActionReasonCodeGroup
Reason Code Group
I_MfgActionReasonCodeGroup is a Basic CDS View that provides data about "Reason Code Group" in SAP S/4HANA. It reads from 1 data source (qpgr) and exposes 13 fields with key fields MfgActionReasonCodeGroupCtlg, MfgActionReasonCodeGroup. It has 4 associations to related views. Part of development package MPE_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpgr | grp | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Inspectioncatalog | _Catalog | $projection.MfgActionReasonCodeGroupCtlg = _Catalog.InspectionCatalog |
| [0..*] | I_MfgActionReasonCodeGroupText | _Text | $projection.MfgActionReasonCodeGroupCtlg = _Text.MfgActionReasonCodeGroupCtlg and $projection.MfgActionReasonCodeGroup = _Text.MfgActionReasonCodeGroup |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPERSNCGRP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | MfgActionReasonCodeGroup | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view | |
| EndUserText.label | Reason Code Group | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MfgActionReasonCodeGroupCtlg | katalogart | ||
| KEY | MfgActionReasonCodeGroup | codegruppe | ||
| CodeGroupIsInactive | inaktiv | |||
| CodeGroupStatus | status | |||
| MfgActionReasonCodeGroupIsUsed | verwendung | |||
| LastChangeDateTime | a_datum | |||
| LastChangedByUser | aenderer | |||
| CreationDateTime | e_datum | |||
| CreatedByUser | ersteller | |||
| _Text | _Text | |||
| _Catalog | _Catalog | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser |
@AbapCatalog.sqlViewName: 'IMPERSNCGRP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'MfgActionReasonCodeGroup'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel.usageType:
{
serviceQuality: #B,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
@Search.searchable: true
@EndUserText.label: 'Reason Code Group'
define view I_MfgActionReasonCodeGroup
as select from qpgr as grp
association [0..1] to I_Inspectioncatalog as _Catalog on $projection.MfgActionReasonCodeGroupCtlg = _Catalog.InspectionCatalog
association [0..*] to I_MfgActionReasonCodeGroupText as _Text on $projection.MfgActionReasonCodeGroupCtlg = _Text.MfgActionReasonCodeGroupCtlg
and $projection.MfgActionReasonCodeGroup = _Text.MfgActionReasonCodeGroup
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
{
// key fields
@ObjectModel.foreignKey.association: '_Catalog'
key katalogart as MfgActionReasonCodeGroupCtlg,
@ObjectModel.text.association: '_Text'
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
key codegruppe as MfgActionReasonCodeGroup,
// codegroup
inaktiv as CodeGroupIsInactive,
status as CodeGroupStatus,
verwendung as MfgActionReasonCodeGroupIsUsed,
// admin
a_datum as LastChangeDateTime,
@ObjectModel.foreignKey.association: '_LastChangedByUser'
aenderer as LastChangedByUser,
e_datum as CreationDateTime,
@ObjectModel.foreignKey.association: '_CreatedByUser'
ersteller as CreatedByUser,
// text association
_Text,
// others
_Catalog,
_CreatedByUser,
_LastChangedByUser
}
where
grp.katalogart = '7'
or grp.katalogart = '0'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA