I_FailureModeEffectAnalysis
Failure Mode and Effects Analysis
I_FailureModeEffectAnalysis is a Basic CDS View that provides data about "Failure Mode and Effects Analysis" in SAP S/4HANA. It reads from 2 data sources (I_FMEAType, plmm_audit) and exposes 29 fields with key field FMEAHeaderUUID. It has 15 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_FMEAType | I_FMEAType | inner |
| plmm_audit | plmm_audit | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FMEAHeader | _FMEAHeader | $projection.FMEAHeaderUUID = _FMEAHeader.FMEAHeaderUUID |
| [0..1] | I_FMEAType | _FMEAType | $projection.FMEAType = _FMEAType.FMEAType |
| [0..*] | I_FMEAText | _FMEAText | $projection.FMEAHeaderUUID = _FMEAText.FMEAHeaderUUID |
| [1..*] | I_FMEANode | _FMEANode | $projection.FMEAHeaderUUID = _FMEANode.FMEAHeaderUUID |
| [0..*] | I_FMEAPartner | _FMEAPartner | $projection.FMEAHeaderUUID = _FMEAPartner.FMEAHeaderUUID |
| [0..*] | I_FMEAObject | _FMEAObject | $projection.FMEAHeaderUUID = _FMEAObject.FMEAHeaderUUID |
| [0..1] | I_FMEAAuthorizationGroup | _FMEAAuthorizationGroup | $projection.FMEAAuthorizationGroup = _FMEAAuthorizationGroup.FMEAAuthorizationGroup |
| [0..1] | I_FMEAStatus | _FMEAStatus | $projection.FMEAStatus = _FMEAStatus.FMEAStatus |
| [0..1] | I_FMEACalculationStatus | _FMEACalculationStatus | $projection.FMEACalculationStatus = _FMEACalculationStatus.FMEACalculationStatus |
| [0..1] | I_FMEAValnProcedureCombined | _FMEAValuationProcedure | $projection.FMEAValuationProcedure = _FMEAValuationProcedure.FMEAValuationProcedure |
| [0..1] | I_FMEARatingProfile | _FMEARatingProfile | $projection.FMEARatingProfile = _FMEARatingProfile.FMEARatingProfile |
| [0..1] | I_FMEARating | _FMEARating | $projection.FMEARatingProfile = _FMEARating.FMEARatingProfile and $projection.FMEARating = _FMEARating.FMEARating |
| [0..1] | I_FMEAConfidentialityLevel | _FMEAConfidentialityLevel | $projection.FMEAConfidentialityLevel = _FMEAConfidentialityLevel.FMEAConfidentialityLevel |
| [0..*] | I_FMEALongText | _FMEAHeaderLongText | $projection.FMEAHeaderUUID = _FMEAHeaderLongText.FMEANodeUUID |
| [1..1] | E_FailureModeEffectAnalysis | _Extension | $projection.FMEAHeaderUUID = _Extension.FMEAHeaderUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFMEA1 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Failure Mode and Effects Analysis | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | FMEAHeaderUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FMEAHeaderUUID | |||
| OriginalLanguage | plmm_audit | original_langu | ||
| FMEAType | ||||
| FMEAAuthorizationGroup | plmm_audit | auth_group | ||
| FMEAStatus | ||||
| FMEACalculationStatus | plmm_audit | calc_status | ||
| changeddatetimeendasChangedDateTime | ||||
| FMEAValuationResultValue | plmm_audit | score_res | ||
| FMEAValuationProcedure | plmm_audit | audit_calculate | ||
| FMEARatingProfile | plmm_audit | classification | ||
| FMEARating | plmm_audit | classifi_code | ||
| FMEAGroup | plmm_audit | grouping | ||
| FMEASearchTermValue | plmm_audit | search_field | ||
| FMEAIsHeaderFMEA | plmm_audit | header_fmea | ||
| FMEAConfidentialityLevel | ||||
| _FMEAHeader | _FMEAHeader | |||
| _FMEAType | _FMEAType | |||
| _FMEAText | _FMEAText | |||
| _FMEANode | _FMEANode | |||
| _FMEAPartner | _FMEAPartner | |||
| _FMEAObject | _FMEAObject | |||
| _FMEAAuthorizationGroup | _FMEAAuthorizationGroup | |||
| _FMEAStatus | _FMEAStatus | |||
| _FMEACalculationStatus | _FMEACalculationStatus | |||
| _FMEAValuationProcedure | _FMEAValuationProcedure | |||
| _FMEARatingProfile | _FMEARatingProfile | |||
| _FMEARating | _FMEARating | |||
| _FMEAConfidentialityLevel | _FMEAConfidentialityLevel | |||
| _FMEAHeaderLongText | _FMEAHeaderLongText |
@AbapCatalog.sqlViewName: 'IFMEA1' // SQL View Nanme 'IFMEA' was already in use by other CDS View and must not be used
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Failure Mode and Effects Analysis'
@ObjectModel.compositionRoot: true
@ObjectModel.representativeKey: 'FMEAHeaderUUID'
@AccessControl.privilegedAssociations: [ '_FMEAHeaderLongText' ]
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #TRANSACTIONAL } // as function substring is used but #A and #B must not contain functions
define view I_FailureModeEffectAnalysis
as select from plmm_audit
inner join I_FMEAType on plmm_audit.audit_type = I_FMEAType.FMEAType
association [0..1] to I_FMEAHeader as _FMEAHeader on $projection.FMEAHeaderUUID = _FMEAHeader.FMEAHeaderUUID
association [0..1] to I_FMEAType as _FMEAType on $projection.FMEAType = _FMEAType.FMEAType
association [0..*] to I_FMEAText as _FMEAText on $projection.FMEAHeaderUUID = _FMEAText.FMEAHeaderUUID
association [1..*] to I_FMEANode as _FMEANode on $projection.FMEAHeaderUUID = _FMEANode.FMEAHeaderUUID
association [0..*] to I_FMEAPartner as _FMEAPartner on $projection.FMEAHeaderUUID = _FMEAPartner.FMEAHeaderUUID
association [0..*] to I_FMEAObject as _FMEAObject on $projection.FMEAHeaderUUID = _FMEAObject.FMEAHeaderUUID
association [0..1] to I_FMEAAuthorizationGroup as _FMEAAuthorizationGroup on $projection.FMEAAuthorizationGroup = _FMEAAuthorizationGroup.FMEAAuthorizationGroup
association [0..1] to I_FMEAStatus as _FMEAStatus on $projection.FMEAStatus = _FMEAStatus.FMEAStatus
association [0..1] to I_FMEACalculationStatus as _FMEACalculationStatus on $projection.FMEACalculationStatus = _FMEACalculationStatus.FMEACalculationStatus
association [0..1] to I_FMEAValnProcedureCombined as _FMEAValuationProcedure on $projection.FMEAValuationProcedure = _FMEAValuationProcedure.FMEAValuationProcedure
association [0..1] to I_FMEARatingProfile as _FMEARatingProfile on $projection.FMEARatingProfile = _FMEARatingProfile.FMEARatingProfile
association [0..1] to I_FMEARating as _FMEARating on $projection.FMEARatingProfile = _FMEARating.FMEARatingProfile
and $projection.FMEARating = _FMEARating.FMEARating
association [0..1] to I_FMEAConfidentialityLevel as _FMEAConfidentialityLevel on $projection.FMEAConfidentialityLevel = _FMEAConfidentialityLevel.FMEAConfidentialityLevel
association [0..*] to I_FMEALongText as _FMEAHeaderLongText on $projection.FMEAHeaderUUID = _FMEAHeaderLongText.FMEANodeUUID
//Extension
association [1..1] to E_FailureModeEffectAnalysis as _Extension on $projection.FMEAHeaderUUID = _Extension.FMEAHeaderUUID
{
key cast( plmm_audit.guid as plmt_fmea_node_guid preserving type ) as FMEAHeaderUUID,
plmm_audit.original_langu as OriginalLanguage,
@ObjectModel.foreignKey.association: '_FMEAType'
cast( plmm_audit.audit_type as plmt_tv_fmea_type preserving type ) as FMEAType,
plmm_audit.auth_group as FMEAAuthorizationGroup,
cast( plmm_audit.proc_status as plmt_tv_fmea_status preserving type ) as FMEAStatus,
plmm_audit.calc_status as FMEACalculationStatus,
case plmm_audit.changeddatetime
when 0 then cast( '19000101010101' as tzntstmps )
else plmm_audit.changeddatetime end as ChangedDateTime,
plmm_audit.score_res as FMEAValuationResultValue,
@ObjectModel.foreignKey.association: '_FMEAValuationProcedure'
plmm_audit.audit_calculate as FMEAValuationProcedure,
@ObjectModel.foreignKey.association: '_FMEARatingProfile'
plmm_audit.classification as FMEARatingProfile,
@ObjectModel.foreignKey.association: '_FMEARating'
plmm_audit.classifi_code as FMEARating,
plmm_audit.grouping as FMEAGroup,
plmm_audit.search_field as FMEASearchTermValue,
plmm_audit.header_fmea as FMEAIsHeaderFMEA,
cast( plmm_audit.confidential as plmt_confidentialitylevel preserving type ) as FMEAConfidentialityLevel,
//Associatons
_FMEAHeader,
_FMEAType,
_FMEAText,
_FMEANode,
_FMEAPartner,
_FMEAObject,
_FMEAAuthorizationGroup,
_FMEAStatus,
_FMEACalculationStatus,
_FMEAValuationProcedure,
_FMEARatingProfile,
_FMEARating,
_FMEAConfidentialityLevel,
_FMEAHeaderLongText
}
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