I_FMEAObject
Objects of an FMEA
I_FMEAObject is a Basic CDS View that provides data about "Objects of an FMEA" in SAP S/4HANA. It reads from 1 data source (plmm_audit_obj) and exposes 11 fields with key field FMEAObjectUUID. It has 6 associations to related views. Part of development package PLM_FMEA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| plmm_audit_obj | plmm_audit_obj | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FailureModeEffectAnalysis | _FailureModeEffectAnalysis | $projection.FMEAHeaderUUID = _FailureModeEffectAnalysis.FMEAHeaderUUID |
| [0..1] | I_FMEAType | _FMEAType | $projection.FMEAType = _FMEAType.FMEAType |
| [0..1] | I_FMEATypeObjectType | _FMEATypeObjectType | $projection.FMEAType = _FMEATypeObjectType.FMEAType and $projection.FMEATypeObjectType = _FMEATypeObjectType.FMEATypeObjectType |
| [0..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [0..1] | I_BillOfOperationsOpBasic | _BOOOperationBasic | $projection.BillOfOperationsType = _BOOOperationBasic.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOOperationBasic.BillOfOperationsGroup and $projection.BOOOperationInternalID = _BOOOperationBasic.BOOOperationInternalID and $projection.BOOOpInternalVersionCounter = _BOOOperationBasic.BOOOpInternalVersionCounter |
| [1..1] | E_FMEAObject | _Extension | $projection.FMEAObjectUUID = _Extension.FMEAObjectUUID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Objects of an FMEA | view | |
| ObjectModel.representativeKey | FMEAObjectUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FMEAObjectUUID | |||
| FMEAHeaderUUID | ||||
| FMEAType | plmm_audit_obj | audit_type | ||
| FMEATypeObjectType | plmm_audit_obj | object_type | ||
| FMEAObject | plmm_audit_obj | object_value | ||
| object_valueelsenullendasMaterial | ||||
| _FailureModeEffectAnalysis | _FailureModeEffectAnalysis | |||
| _FMEAType | _FMEAType | |||
| _FMEATypeObjectType | _FMEATypeObjectType | |||
| _Product | _Product | |||
| _BOOOperationBasic | _BOOOperationBasic |
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Objects of an FMEA'
@ObjectModel.representativeKey: 'FMEAObjectUUID'
@ObjectModel.usageType: { serviceQuality: #B, sizeCategory: #M, dataClass: #TRANSACTIONAL }
define view entity I_FMEAObject
as select from plmm_audit_obj
association [0..1] to I_FailureModeEffectAnalysis as _FailureModeEffectAnalysis on $projection.FMEAHeaderUUID = _FailureModeEffectAnalysis.FMEAHeaderUUID
association [0..1] to I_FMEAType as _FMEAType on $projection.FMEAType = _FMEAType.FMEAType
association [0..1] to I_FMEATypeObjectType as _FMEATypeObjectType on $projection.FMEAType = _FMEATypeObjectType.FMEAType
and $projection.FMEATypeObjectType = _FMEATypeObjectType.FMEATypeObjectType
association [0..1] to I_Product as _Product on $projection.Material = _Product.Product
association [0..1] to I_BillOfOperationsOpBasic as _BOOOperationBasic on $projection.BillOfOperationsType = _BOOOperationBasic.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BOOOperationBasic.BillOfOperationsGroup
and $projection.BOOOperationInternalID = _BOOOperationBasic.BOOOperationInternalID
and $projection.BOOOpInternalVersionCounter = _BOOOperationBasic.BOOOpInternalVersionCounter
//Extension
association [1..1] to E_FMEAObject as _Extension on $projection.FMEAObjectUUID = _Extension.FMEAObjectUUID
{
key cast( plmm_audit_obj.guid as plmt_fmea_node_guid preserving type ) as FMEAObjectUUID,
cast( plmm_audit_obj.project_guid as plmt_fmea_node_guid preserving type ) as FMEAHeaderUUID,
plmm_audit_obj.audit_type as FMEAType,
plmm_audit_obj.object_type as FMEATypeObjectType,
plmm_audit_obj.object_value as FMEAObject,
case when plmm_audit_obj.object_type = '80' or plmm_audit_obj.object_type = '82'
then plmm_audit_obj.object_value else null end as Material,
case when plmm_audit_obj.object_type = '81'
then cast(substring(plmm_audit_obj.object_value,1,1) as plnty preserving type )
else null end as BillOfOperationsType,
case when plmm_audit_obj.object_type = '81'
then cast(substring(plmm_audit_obj.object_value,2,8) as plnnr preserving type )
else null end as BillOfOperationsGroup,
case when plmm_audit_obj.object_type = '81'
then cast(substring(plmm_audit_obj.object_value,10,8) as plnkn )
else null end as BOOOperationInternalID,
case when plmm_audit_obj.object_type = '81'
then cast(substring(plmm_audit_obj.object_value,18,8) as cim_count )
else null end as BOOOpInternalVersionCounter,
// case when plmm_audit_obj.object_type = '81'
// then cast(substring(plmm_audit_obj.object_value,26,2) as plnal preserving type )
// else '' end as BillOfOperationsVariant,
// case when plmm_audit_obj.object_type = '81'
// then cast(substring(plmm_audit_obj.object_value,28,6) as plnfolge preserving type )
// else '' end as BillOfOperationsSequence,
//Associations
_FailureModeEffectAnalysis,
_FMEAType,
_FMEATypeObjectType,
_Product,
_BOOOperationBasic
}
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