C_MfgOrderDefect
Defect and notification
C_MfgOrderDefect is a Consumption CDS View that provides data about "Defect and notification" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderDefectRecord) and exposes 102 fields with key fields DefectInternalID, NotificationItem. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderDefectRecord | Defect | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SitnInstceIndicator | _Sitn | _Sitn.SitnInstceAnchorObjectKey = $projection.Defect and _Sitn.SitnDefAnchorObject = 'Defect' |
| [1..1] | I_MfgOrderOperation | _MfgOrderOperation | _MfgOrderOperation.OrderInternalBillOfOperations = $projection.OrderInternalID and _MfgOrderOperation.OrderIntBillOfOperationsItem = $projection.InspPlanOperationInternalID |
| [1..1] | I_MfgOrderOperationBasic | _MfgOrderOperationBasic | _MfgOrderOperationBasic.OrderInternalBillOfOperations = $projection.OrderInternalID and _MfgOrderOperationBasic.OrderIntBillOfOperationsItem = $projection.InspPlanOperationInternalID |
| [1..1] | I_OperationActivityText | _OperationActivityText | $projection.ProductionOrderOperationActy = _OperationActivityText.OperationActivity and $projection.ProductionOrderOpActyVers = _OperationActivityText.OperationActyVersionCounter and _OperationActivityText.Language = $session.system_language |
| [0..*] | C_ReworkBOOVersionDefectCode | _ReworkBOOVersionDefectCode | $projection.DefectCodeGroup = _ReworkBOOVersionDefectCode.DefectCodeGroup and $projection.DefectCode = _ReworkBOOVersionDefectCode.DefectCode and ( --Non-serialized rework routings only if Defect is not bound to a serial number ( ( $projection.SerialNumber = '' or $projection.SerialNumber is null ) and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = '' ) or( --Serialized rework routings only if Defect is bound to a serial number $projection.SerialNumber > '' and $projection.SerialNumber is not null and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = 'X' ) ) |
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
| [0..1] | I_MaterialText | _ProductText | $projection.ProducedMaterial = _ProductText.Material and _ProductText.Language = $session.system_language |
| [0..1] | I_MfgExecDocumentNote | _MfgExecDocumentNote | $projection.Notification <> $projection.Notification |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMFGORDDEF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.representativeKey | DefectInternalID | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| Metadata.allowExtensions | true | view | |
| UI.headerInfo.typeName | Defect | view | |
| UI.headerInfo.typeNamePlural | Defects | view | |
| UI.headerInfo.title.value | Defect | view | |
| UI.headerInfo.title.label | Defect | view | |
| UI.headerInfo.description.value | DefectText | view | |
| EndUserText.label | Defect and notification | view | |
| AbapCatalog.preserveKey | true | view |
Fields (102)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectInternalID | I_MfgOrderDefectRecord | DefectInternalID | |
| KEY | NotificationItem | I_MfgOrderDefectRecord | NotificationItem | |
| Notification | I_MfgOrderDefectRecord | Notification | ||
| Defect | I_MfgOrderDefectRecord | Defect | ||
| SerialNumber | ShopFloorItem | SerialNumber | ||
| DefectCategory | I_MfgOrderDefectRecord | DefectCategory | ||
| DefectCategoryText | ||||
| NotificationType | I_MfgOrderDefectRecord | NotificationType | ||
| CreatedByUser | I_MfgOrderDefectRecord | CreatedByUser | ||
| CreationDate | I_MfgOrderDefectRecord | CreationDate | ||
| LastChangedByUser | I_MfgOrderDefectRecord | LastChangedByUser | ||
| LastChangeDate | I_MfgOrderDefectRecord | LastChangeDate | ||
| DefectText | I_MfgOrderDefectRecord | DefectText | ||
| DefectCodeCatalog | I_MfgOrderDefectRecord | DefectCodeCatalog | ||
| DefectCodeGroup | I_MfgOrderDefectRecord | DefectCodeGroup | ||
| DefectCode | I_MfgOrderDefectRecord | DefectCode | ||
| DefectCodeText | ||||
| DefectiveQuantity | I_MfgOrderDefectRecord | DefectiveQuantity | Defective Quantity | |
| DefectiveQuantityUnit | I_MfgOrderDefectRecord | DefectiveQuantityUnit | ||
| DefectIsCreatedAutomatically | I_MfgOrderDefectRecord | DefectIsCreatedAutomatically | ||
| ProductionOrderOperationActy | I_MfgOrderDefectRecord | ProductionOrderOperationActy | ||
| OpActyNtwkElementExternalID | I_MfgOrderDefectRecord | OpActyNtwkElementExternalID | ||
| OperationActivityName | _OperationActivityText | OperationActivityName | ||
| OpActyNtwkInstance | I_MfgOrderDefectRecord | OpActyNtwkInstance | ||
| OpActyNtwkElement | I_MfgOrderDefectRecord | OpActyNtwkElement | ||
| ManufacturingOrderOperation | ||||
| MfgOrderOperationText | _MfgOrderOperationBasic | MfgOrderOperationText | ||
| ProductionOrderOpActyVers | I_MfgOrderDefectRecord | ProductionOrderOpActyVers | ||
| ProductionOrder | I_MfgOrderDefectRecord | ProductionOrder | ||
| OrderInternalID | I_MfgOrderDefectRecord | OrderInternalID | ||
| CreationTime | I_MfgOrderDefectRecord | CreationTime | ||
| LastChangeTime | I_MfgOrderDefectRecord | LastChangeTime | ||
| InspPlanOperationInternalID | I_MfgOrderDefectRecord | InspPlanOperationInternalID | ||
| InspectionCharacteristic | I_MfgOrderDefectRecord | InspectionCharacteristic | ||
| InspectionSubsetInternalID | I_MfgOrderDefectRecord | InspectionSubsetInternalID | ||
| DefectiveSingleUnit | I_MfgOrderDefectRecord | DefectiveSingleUnit | Defective Serial Number | |
| ProducedMaterial | I_MfgOrderDefectRecord | ProducedMaterial | Produced Material | |
| ProducedMaterialName | _ProductText | MaterialName | ||
| ProducedSerialNumber | I_MfgOrderDefectRecord | ProducedSerialNumber | Produced Serial Number | |
| Batch | I_MfgOrderDefectRecord | Batch | ||
| ShopFloorItem | I_MfgOrderDefectRecord | ShopFloorItem | ||
| OperationActivitySFIGroup | ShopFloorStatus | OperationActivitySFIGroup | ||
| Equipment | I_MfgOrderDefectRecord | Equipment | ||
| IsDeleted | I_MfgOrderDefectRecord | IsDeleted | ||
| Material | I_MfgOrderDefectRecord | Material | Component | |
| MaterialName | _MaterialText | MaterialName | ||
| Plant | I_MfgOrderDefectRecord | Plant | ||
| InspectionLot | I_MfgOrderDefectRecord | InspectionLot | ||
| ChangedDateTime | I_MfgOrderDefectRecord | ChangedDateTime | ||
| DefectLifecycleStatus | I_MfgOrderDefectRecord | DefectLifecycleStatus | ||
| NotifProcessingPhase | I_MfgOrderDefectRecord | NotifProcessingPhase | ||
| DefectLifecycleStatusText | ||||
| NotifProcessingPhaseDesc | ||||
| NotificationText | I_MfgOrderDefectRecord | NotificationText | Notification Text | |
| MfgDefectDecision | I_MfgOrderDefectRecord | MfgDefectDecision | Decision | |
| MfgDefectDecisionName | I_MfgOrderDefectRecord | MfgDefectDecisionName | ||
| SitnNumberOfInstances | _Sitn | SitnNumberOfInstances | ||
| WorkCenterTypeCode | I_MfgOrderDefectRecord | WorkCenterTypeCode | ||
| MainWorkCenterInternalID | I_MfgOrderDefectRecord | WorkCenterInternalID | ||
| MainWorkCenter | I_MfgOrderDefectRecord | MainWorkCenter | ||
| MainWorkCenterPlant | I_MfgOrderDefectRecord | MainWorkCenterPlant | ||
| BOMItemInstanceUUID | I_MfgOrderDefectRecord | BOMItemInstanceUUID | ||
| ReferenceDesignatorValue | Reference Designator Value | |||
| BatchBySupplier | I_MfgOrderDefectRecord | BatchBySupplier | ||
| ManufacturerSerialNumber | I_MfgOrderDefectRecord | ManufacturerSerialNumber | ||
| MfgRefStrucItmRefDsgntrName | ||||
| MfgExecutionDocumentNote | _MfgExecDocumentNote | MfgExecutionDocumentNote | ||
| ManufacturingOrder | _MfgOrderOperationBasic | ManufacturingOrder | ||
| ManufacturingOrderText | ||||
| ManufacturingActionReasonCode | ||||
| ProductionHoldObjectType | ||||
| Reservation | ||||
| ReservationItem | ||||
| RecordType | ||||
| OrderHeaderProductionPlant | ||||
| BillOfMaterialCategory | ||||
| BillOfMaterial | ||||
| BillOfMaterialVariant | ||||
| InheritedNodeNumberForBOMItem | ||||
| BillOfMaterialVersion | ||||
| OpActyAssignmentExists | ||||
| LinkedSAPObjectKey | ||||
| _Notification | I_MfgOrderDefectRecord | _Notification | ||
| _DefectStatus | I_MfgOrderDefectRecord | _DefectStatus | ||
| _InspectionLot | I_MfgOrderDefectRecord | _InspectionLot | ||
| _CreatedByUserContactCard | I_MfgOrderDefectRecord | _CreatedByUserContactCard | ||
| _DefectCode | I_MfgOrderDefectRecord | _DefectCode | ||
| _DefectCodeCatalog | I_MfgOrderDefectRecord | _DefectCodeCatalog | ||
| _DefectCodeGroup | I_MfgOrderDefectRecord | _DefectCodeGroup | ||
| _ProducedMaterial | I_MfgOrderDefectRecord | _ProducedMaterial | ||
| _LastChangedByUserContactCard | I_MfgOrderDefectRecord | _LastChangedByUserContactCard | ||
| _NotifProcessingPhase | I_MfgOrderDefectRecord | _NotifProcessingPhase | ||
| _DefectCategory | I_MfgOrderDefectRecord | _DefectCategory | ||
| _DefectDecisionVH | I_MfgOrderDefectRecord | _DefectDecisionVH | ||
| _MfgOrder | _MfgOrderOperationBasic | _MfgOrder | ||
| _OpActyNtwkInstance | I_MfgOrderDefectRecord | _OpActyNtwkInstance | ||
| _DefectCodeText | I_MfgOrderDefectRecord | _DefectCodeText | ||
| _MfgOrderOperation | _MfgOrderOperation | |||
| _OperationActivityText | _OperationActivityText | |||
| _MaterialText | _MaterialText | |||
| _ProductText | _ProductText | |||
| _ReworkBOOVersionDefectCode | _ReworkBOOVersionDefectCode |
@AbapCatalog.sqlViewName: 'CMFGORDDEF'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@ObjectModel: {
usageType: {
dataClass: #MIXED,
sizeCategory: #XL,
serviceQuality: #D },
representativeKey: 'DefectInternalID',
semanticKey: [ 'Defect', 'DefectCode', 'ManufacturingOrderOperation', 'OpActyNtwkElementExternalID'],
createEnabled: true,
updateEnabled: true,
deleteEnabled: true
}
@Metadata.allowExtensions: true
@UI.headerInfo: {
typeName: 'Defect',
typeNamePlural: 'Defects',
title: {value: 'Defect', label: 'Defect'},
description: {value: 'DefectText'}
}
@EndUserText.label: 'Defect and notification'
@AbapCatalog.preserveKey:true
@UI.presentationVariant: [{requestAtLeast: ['SitnNumberOfInstances', 'DefectText', 'DefectiveQuantity', 'SerialNumber', 'ChangedDateTime']}]
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
define view C_MfgOrderDefect
as select from I_MfgOrderDefectRecord as Defect
left outer to one join I_ShopFloorItem as ShopFloorItem on Defect.ShopFloorItem = ShopFloorItem.ShopFloorItem
left outer to one join I_ShopFloorItemStatus as ShopFloorStatus on ShopFloorStatus.ShopFloorItem = Defect.ShopFloorItem
and ShopFloorStatus.OpActyNtwkInstance = Defect.OpActyNtwkInstance
and ShopFloorStatus.OpActyNtwkElement = Defect.OpActyNtwkElement
association [0..1] to I_SitnInstceIndicator as _Sitn on _Sitn.SitnInstceAnchorObjectKey = $projection.Defect
and _Sitn.SitnDefAnchorObject = 'Defect'
association [1..1] to I_MfgOrderOperation as _MfgOrderOperation on _MfgOrderOperation.OrderInternalBillOfOperations = $projection.OrderInternalID
and _MfgOrderOperation.OrderIntBillOfOperationsItem = $projection.InspPlanOperationInternalID
association [1..1] to I_MfgOrderOperationBasic as _MfgOrderOperationBasic on _MfgOrderOperationBasic.OrderInternalBillOfOperations = $projection.OrderInternalID
and _MfgOrderOperationBasic.OrderIntBillOfOperationsItem = $projection.InspPlanOperationInternalID
association [1..1] to I_OperationActivityText as _OperationActivityText on $projection.ProductionOrderOperationActy = _OperationActivityText.OperationActivity
and $projection.ProductionOrderOpActyVers = _OperationActivityText.OperationActyVersionCounter
and _OperationActivityText.Language = $session.system_language
association [0..*] to C_ReworkBOOVersionDefectCode as _ReworkBOOVersionDefectCode on $projection.DefectCodeGroup = _ReworkBOOVersionDefectCode.DefectCodeGroup
and $projection.DefectCode = _ReworkBOOVersionDefectCode.DefectCode
and ( --Non-serialized rework routings only if Defect is not bound to a serial number
(
(
$projection.SerialNumber = ''
or $projection.SerialNumber is null
)
and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = ''
)
or( --Serialized rework routings only if Defect is bound to a serial number
$projection.SerialNumber > ''
and $projection.SerialNumber is not null
and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = 'X'
)
)
association [0..1] to I_MaterialText as _MaterialText on $projection.Material = _MaterialText.Material
and _MaterialText.Language = $session.system_language
association [0..1] to I_MaterialText as _ProductText on $projection.ProducedMaterial = _ProductText.Material
and _ProductText.Language = $session.system_language
association [0..1] to I_MfgExecDocumentNote as _MfgExecDocumentNote on $projection.Notification <> $projection.Notification
{
@UI.hidden: true
key Defect.DefectInternalID,
@UI.lineItem.position: 30
key Defect.NotificationItem,
@ObjectModel.text.element: ['NotificationText']
@UI: {
textArrangement: #TEXT_LAST,
lineItem: [{position: 20}]
}
@Consumption.semanticObject:'QualityNotification'
Defect.Notification,
Defect.Defect,
@UI.hidden: true
ShopFloorItem.SerialNumber,
@ObjectModel.text.element: ['DefectCategoryText']
@UI: {
textArrangement: #TEXT_FIRST
}
@Consumption.valueHelpDefinition: [ { entity: { name: 'C_MfgOrderDefectCategoryVH', element: 'DefectCategory'}}]
Defect.DefectCategory,
@UI.hidden: true
Defect._DefectCategory._Text[1: Language=$session.system_language].DefectCategoryText as DefectCategoryText,
Defect.NotificationType,
@UI.hidden: true
Defect.CreatedByUser,
@UI.hidden: true
Defect.CreationDate,
@UI.hidden: true
Defect.LastChangedByUser,
@UI.hidden: true
Defect.LastChangeDate,
@UI.hidden: true
Defect.DefectText,
@UI.hidden: true
Defect.DefectCodeCatalog,
@UI.hidden: true
Defect.DefectCodeGroup,
@ObjectModel.text.element: ['DefectCodeText']
@UI: {
textArrangement: #TEXT_FIRST,
lineItem: [{position: 40}, {position: 40, qualifier: 'OADETAILS'}]
}
@Consumption.valueHelpDefinition: [ { entity: { name: 'C_MfgDefectCodeVH', element: 'DefectCode'},
additionalBinding: [{ localElement: 'DefectCodeGroup', element: 'DefectCodeGroup'}]}]
Defect.DefectCode,
@UI.hidden: true
@Semantics.text: true
Defect._DefectCode._Text[1: Language=$session.system_language].InspectionCodeText as DefectCodeText,
@Semantics.quantity.unitOfMeasure: 'DefectiveQuantityUnit'
@EndUserText.label: 'Defective Quantity'
Defect.DefectiveQuantity,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductUnitsOfMeasureVH', element: 'AlternativeUnit'},
additionalBinding: [{ localElement: 'Material', element: 'Product', usage: #FILTER}]}]
@Semantics.unitOfMeasure: true
Defect.DefectiveQuantityUnit,
@UI.hidden: true
Defect.DefectIsCreatedAutomatically,
@UI.hidden: true
Defect.ProductionOrderOperationActy,
@ObjectModel: {
readOnly: true
}
@ObjectModel.text.element: ['OperationActivityName']
Defect.OpActyNtwkElementExternalID,
@Semantics.text: true
@UI.hidden: true
_OperationActivityText.OperationActivityName,
@UI.hidden: true
@ObjectModel.readOnly: true
Defect.OpActyNtwkInstance,
@UI.hidden: true
@ObjectModel.readOnly: true
Defect.OpActyNtwkElement,
@ObjectModel.readOnly: true
@ObjectModel.text.element: ['MfgOrderOperationText']
cast(_MfgOrderOperationBasic.ManufacturingOrderOperation as vdm_vornr preserving type) as ManufacturingOrderOperation,
@UI.hidden: true
@ObjectModel.readOnly: true
_MfgOrderOperationBasic.MfgOrderOperationText,
@UI.hidden: true
Defect.ProductionOrderOpActyVers,
Defect.ProductionOrder,
@UI.hidden: true
Defect.OrderInternalID,
@UI.hidden: true
Defect.CreationTime,
@UI.hidden: true
Defect.LastChangeTime,
@UI.hidden: true
Defect.InspPlanOperationInternalID,
@UI.hidden: true
Defect.InspectionCharacteristic,
@UI.hidden: true
Defect.InspectionSubsetInternalID,
@Consumption.valueHelpDefinition: [ { entity: { name: 'C_MfgOrderAssembledSerialVH', element: 'AssembledSerialNumber'}, label: 'Assembled',
additionalBinding: [{ localElement: 'Material', element: 'Material'},{ localElement: 'OpActyNtwkElement', element: 'OpActyNtwkElement', usage: #FILTER},
{ localElement: 'OpActyNtwkInstance', element: 'OpActyNtwkInstance', usage: #FILTER}, { localElement: 'Reservation', element: 'Reservation', usage: #FILTER },
{ localElement: 'ReservationItem', element: 'ReservationItem', usage: #FILTER}, { localElement: 'RecordType', element: 'RecordType', usage: #FILTER},
{ localElement: 'Plant', element: 'Plant', usage: #FILTER}, { localElement: 'ShopFloorItem', element: 'AssemblyShopFloorItem', usage: #FILTER},
{ localElement: 'BOMItemInstanceUUID', element: 'DgtlMockUpCharcsUUID', usage: #RESULT} , { localElement: 'Batch', element: 'Batch', usage: #RESULT},
{ localElement: 'ManufacturerSerialNumber', element: 'ManufacturerSerialNumber', usage: #RESULT}]} ,
{ entity: { name: 'I_AvailMaterialSerialNumberVH', element: 'SerialNumber'}, label: 'Available', qualifier: 'Secondary Value Help',
additionalBinding: [{ localElement: 'Material', element: 'Material'}]
}]
@EndUserText.label: 'Defective Serial Number'
Defect.DefectiveSingleUnit,
@ObjectModel.text.element: ['ProducedMaterialName']
@EndUserText.label: 'Produced Material'
Defect.ProducedMaterial,
@Semantics.text: true
@UI.hidden: true
_ProductText.MaterialName as ProducedMaterialName,
@EndUserText.label: 'Produced Serial Number'
Defect.ProducedSerialNumber,
@Consumption.valueHelpDefinition: [ { entity: { name: 'C_MfgOrderAssembledBatchVH', element: 'Batch'}, label: 'Assembled',
additionalBinding: [{localElement: 'Material', element: 'Material'},
{localElement: 'OpActyNtwkElement', element: 'OpActyNtwkElement', usage: #FILTER},
{localElement: 'OpActyNtwkInstance', element: 'OpActyNtwkInstance', usage: #FILTER},
{localElement: 'Reservation', element: 'Reservation', usage: #FILTER},
{localElement: 'ReservationItem', element: 'ReservationItem', usage: #FILTER},
{localElement: 'RecordType', element: 'RecordType', usage: #FILTER},
{localElement: 'Plant', element: 'Plant', usage: #FILTER},
{localElement: 'ShopFloorItem', element: 'AssemblyShopFloorItem', usage: #FILTER},
{localElement: 'BatchBySupplier', element: 'BatchBySupplier', usage: #RESULT}]},
{ entity: { name: 'I_BatchVH', element: 'Batch'}, label: 'Available', qualifier: 'Secondary Value Help',
additionalBinding: [{localElement: 'Material', element: 'Material'},
{localElement: 'BatchBySupplier', element: 'BatchBySupplier', usage: #RESULT}]}]
Defect.Batch,
@UI.hidden: true
Defect.ShopFloorItem,
@UI.hidden: true
ShopFloorStatus.OperationActivitySFIGroup,
@UI.hidden: true
Defect.Equipment,
@UI.hidden: true
Defect.IsDeleted,
@ObjectModel.text.element: ['MaterialName']
@UI: {
textArrangement: #TEXT_FIRST
}
@Consumption.valueHelpDefinition: [ { entity: { name: 'C_MfgOpActyComponentVH', element: 'Material'} ,label: 'Assigned Components',
additionalBinding: [{localElement: 'OpActyNtwkElement', element: 'OpActyNtwkElement', usage: #FILTER},
{localElement: 'OpActyNtwkInstance', element: 'OpActyNtwkInstance', usage: #FILTER},
{localElement: 'Reservation', element: 'Reservation', usage: #RESULT},
{localElement: 'ReservationItem', element: 'ReservationItem', usage: #RESULT},
{localElement: 'RecordType', element: 'RecordType', usage: #RESULT},
{localElement: 'SerialNumberIsRqdForAssembly', element: 'SerialNumberIsRqdForAssembly', usage: #RESULT},
{localElement: 'IsBatchManagementRequired', element: 'IsBatchManagementRequired', usage: #RESULT},
{localElement: 'ShopFloorItem', element: 'AssemblyShopFloorItem'},
{localElement: 'DefectiveQuantityUnit', element: 'EntryUnit', usage: #RESULT},
{localElement: 'Plant', element: 'Plant', usage: #RESULT},
{localElement: 'MatlCompInstceAssyIsRequired', element: 'MatlCompInstceAssyIsRequired', usage: #RESULT},
{localElement: 'OpActyAssignmentExists', element: 'OpActyAssignmentExists', usage: #RESULT},
{localElement: 'MfgRefStrucItmRefDsgntrName', element: 'MfgRefStrucItmRefDsgntrName', usage: #RESULT}]},
{ entity: { name: 'C_OpActyInstceReferenceCompVH', element: 'BillOfMaterialComponent'}, label: 'Reference Components', qualifier: 'Secondary Value Help',
additionalBinding: [{localElement: 'OpActyNtwkElement', element: 'OpActyNtwkElement', usage: #FILTER},
{localElement: 'OpActyNtwkInstance', element: 'OpActyNtwkInstance', usage: #FILTER},
{localElement: 'Reservation', element: 'Reservation', usage: #RESULT},
{localElement: 'ReservationItem', element: 'ReservationItem', usage: #RESULT},
{localElement: 'RecordType', element: 'RecordType', usage: #RESULT},
{localElement: 'SerialNumberIsRqdForAssembly', element: 'SerialNumberIsRqdForAssembly', usage: #RESULT},
{localElement: 'IsBatchManagementRequired', element: 'IsBatchManagementRequired', usage: #RESULT},
{localElement: 'MatlCompInstceAssyIsRequired', element: 'MatlCompInstceAssyIsRequired', usage: #RESULT},
{localElement: 'BillOfMaterialVersion', element: 'BillOfMaterialVersion', usage: #RESULT},
{localElement: 'BillOfMaterialCategory', element: 'BillOfMaterialCategory', usage: #RESULT},
{localElement: 'BillOfMaterial', element: 'BillOfMaterial', usage: #RESULT},
{localElement: 'BillOfMaterialVariant', element: 'BillOfMaterialVariant', usage: #RESULT},
{localElement: 'InheritedNodeNumberForBOMItem', element: 'InheritedNodeNumberForBOMItem', usage: #RESULT},
{localElement: 'OpActyAssignmentExists', element: 'OpActyAssignmentExists', usage: #RESULT},
{localElement: 'MfgRefStrucItmRefDsgntrName', element: 'MfgRefStrucItmRefDsgntrName', usage: #RESULT}]}]
@EndUserText.label: 'Component'
Defect.Material,
@Semantics.text: true
@UI.hidden: true
_MaterialText.MaterialName,
@UI.hidden: true
Defect.Plant,
@UI.hidden: true
Defect.InspectionLot,
@UI.hidden: true
Defect.ChangedDateTime,
@ObjectModel.text.element: 'DefectLifecycleStatusText'
@UI: {
textArrangement: #TEXT_ONLY
}
Defect.DefectLifecycleStatus,
@ObjectModel.text.element: 'NotifProcessingPhaseDesc'
@UI: {
textArrangement: #TEXT_ONLY
}
Defect.NotifProcessingPhase,
@UI.hidden: true
@ObjectModel.readOnly: true
Defect._DefectStatus._DefectStatusText[1: Language=$session.system_language].DefectLifecycleStatusText,
@UI.hidden: true
@ObjectModel.readOnly: true
Defect._NotifProcessingPhase._Text[1: Language=$session.system_language].NotifProcessingPhaseDesc,
@UI.hidden: true
@ObjectModel.readOnly: true
@Semantics.text: true
@EndUserText.label: 'Notification Text'
Defect.NotificationText,
@ObjectModel.readOnly: true
@ObjectModel.text.element: ['MfgDefectDecisionName']
@UI: {
textArrangement: #TEXT_ONLY,
lineItem: [{position: 50}]
}
@EndUserText.label: 'Decision'
Defect.MfgDefectDecision,
@UI.hidden: true
@ObjectModel.readOnly: true
@Semantics.text: true
Defect.MfgDefectDecisionName,
@ObjectModel.readOnly: true
@UI.hidden: true
_Sitn.SitnNumberOfInstances,
@UI.hidden: true
Defect.WorkCenterTypeCode,
@UI.hidden: true
Defect.WorkCenterInternalID as MainWorkCenterInternalID,
@UI.hidden: true
Defect.MainWorkCenter,
@UI.hidden: true
Defect.MainWorkCenterPlant,
@UI.hidden: true
Defect.BOMItemInstanceUUID,
@EndUserText.label: 'Reference Designator Value'
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MPE_NONCF_COMP_SADL_EXIT'
cast('' as vmp_ref_des) as ReferenceDesignatorValue,
@ObjectModel.readOnly: true
Defect.BatchBySupplier,
@ObjectModel.readOnly: true
Defect.ManufacturerSerialNumber,
// @ObjectModel.readOnly: true
// Defect.MfgRefStrucItmRefDsgntrName,
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MPE_NONCF_COMP_SADL_EXIT'
cast('' as mpe_mrs_designator_name) as MfgRefStrucItmRefDsgntrName,
@UI.hidden: true
_MfgExecDocumentNote.MfgExecutionDocumentNote,
@ObjectModel.readOnly: true
@UI.hidden: true
_MfgOrderOperationBasic.ManufacturingOrder,
@UI.hidden: true
@ObjectModel.readOnly: true
_MfgOrderOperationBasic._MfgOrder.ManufacturingOrderText,
/* For UI operations for additional binding*/
@UI.hidden: true
cast(' ' as qcode preserving type) as ManufacturingActionReasonCode,
@UI.hidden: true
cast('' as mpe_hold_object_type) as ProductionHoldObjectType,
@UI.hidden: true
cast('' as rsnum) as Reservation,
@UI.hidden: true
cast('' as rspos) as ReservationItem,
@UI.hidden: true
cast('' as rsart preserving type) as RecordType,
@UI.hidden: true
cast(' ' as werks_d preserving type) as OrderHeaderProductionPlant,
@UI.hidden: true
cast(' ' as stlty preserving type ) as BillOfMaterialCategory,
@UI.hidden: true
cast(' ' as abap.char(8)) as BillOfMaterial,
@UI.hidden: true
cast(' ' as stalt preserving type ) as BillOfMaterialVariant,
@UI.hidden: true
cast('00000000' as stvkn preserving type ) as InheritedNodeNumberForBOMItem,
@UI.hidden: true
cast(' 'as bom_version preserving type ) as BillOfMaterialVersion,
@UI.hidden: true
cast(' ' as mpe_rtg_assigned_to_oa preserving type) as OpActyAssignmentExists,
@UI.hidden: true
@ObjectModel.virtualElement: true
cast('' as objky) as LinkedSAPObjectKey,
// @ObjectModel.virtualElement: true*/
// cast('' as objky) as AttachmentObjKey,
/* Associations */
Defect._Notification,
Defect._DefectStatus,
Defect._InspectionLot,
Defect._CreatedByUserContactCard,
Defect._DefectCode,
Defect._DefectCodeCatalog,
Defect._DefectCodeGroup,
Defect._ProducedMaterial,
Defect._LastChangedByUserContactCard,
Defect._NotifProcessingPhase,
Defect._DefectCategory,
Defect._DefectDecisionVH,
_MfgOrderOperationBasic._MfgOrder,
Defect._OpActyNtwkInstance,
Defect._DefectCodeText,
_MfgOrderOperation,
_OperationActivityText,
_MaterialText,
_ProductText,
_ReworkBOOVersionDefectCode
}
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