I_InspectionMethodVersion
Inspection Method Version
I_InspectionMethodVersion is a Basic CDS View that provides data about "Inspection Method Version" in SAP S/4HANA. It reads from 1 data source (qmtb) and exposes 29 fields with key fields InspectionMethodPlant, InspectionMethod, InspectionMethodVersion. It has 14 associations to related views. Part of development package VDM_QM_PLANNING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qmtb | qmtb | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspectionMethod | _InspectionMethod | $projection.InspectionMethodPlant = _InspectionMethod.InspectionMethodPlant and $projection.InspectionMethod = _InspectionMethod.InspectionMethod |
| [0..1] | I_Plant | _InspectionMethodPlant | $projection.InspectionMethodPlant = _InspectionMethodPlant.Plant |
| [1..*] | I_InspectionMethodVersionText | _InspectionMethodText | $projection.InspectionMethodPlant = _InspectionMethodText.InspectionMethodPlant and $projection.InspectionMethod = _InspectionMethodText.InspectionMethod and $projection.InspectionMethodVersion = _InspectionMethodText.InspectionMethodVersion |
| [0..1] | I_InspectionMstrDataStatus | _InspectionMethodStatus | $projection.InspectionMethodStatus = _InspectionMethodStatus.InspectionMasterDataStatus |
| [0..*] | I_InspectionMstrDataStatusText | _InspectionMethodStatusText | $projection.InspectionMethodStatus = _InspectionMethodStatusText.InspectionMasterDataStatus |
| [0..1] | I_InspectorQualification | _InspectorQualification | $projection.InspectorQualification = _InspectorQualification.InspectorQualification |
| [0..*] | I_InspectorQualificationText | _InspectorQualificationText | $projection.InspectorQualification = _InspectorQualificationText.InspectorQualification |
| [0..1] | I_QltyMstrDataAuthorizationGrp | _QltyMstrDataAuthznGrp | $projection.QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrp.QltyMstrDataAuthorizationGroup |
| [0..*] | I_QltyMstrDataAuthznGroupTxt | _QltyMstrDataAuthznGrpTxt | $projection.QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrpTxt.QltyMstrDataAuthorizationGroup |
| [0..1] | I_User | _InspMethCreatedByUser | $projection.CreatedByUser = _InspMethCreatedByUser.UserID |
| [0..1] | I_User | _InspMethLastChangedByUser | $projection.LastChangedByUser = _InspMethLastChangedByUser.UserID |
| [0..1] | I_UserContactCard | _CreatedByUserContactCard | $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID |
| [0..1] | I_UserContactCard | _LastChangedByUserContactCard | $projection.LastChangedByUser = _LastChangedByUserContactCard.ContactCardID |
| [1..1] | E_InspectionMethodVersion | _Extension | $projection.InspectionMethodPlant = _Extension.InspectionMethodPlant and $projection.InspectionMethod = _Extension.InspectionMethod and $projection.InspectionMethodVersion = _Extension.InspectionMethodVersion |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPMETHODVERS | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Inspection Method Version | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.representativeKey | InspectionMethodVersion | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionMethodPlant | qmtb | werks | Inspection Method Plant |
| KEY | InspectionMethod | qmtb | pmtnr | |
| KEY | InspectionMethodVersion | qmtb | version | Inspection Method Version |
| InspectionMethodValidFromDate | qmtb | gueltigab | ||
| InspectionMethodSearchField | qmtb | sortfeld | ||
| InspectionMethodStatus | qmtb | loekz | Inspection Method Status | |
| InspectorQualification | qmtb | prfql | Inspector Qualification | |
| InspMethInformationField1 | qmtb | dummy10 | ||
| InspMethInformationField2 | qmtb | dummy20 | ||
| InspMethInformationField3 | qmtb | dummy40 | ||
| QltyMstrDataAuthorizationGroup | qmtb | qauth | ||
| CreatedByUser | qmtb | autor | ||
| CreationDate | qmtb | dates | ||
| LastChangedByUser | qmtb | aeaut | ||
| LastChangeDate | qmtb | datae | ||
| changeddatetimeendasChangedDateTime | ||||
| _InspectionMethod | _InspectionMethod | |||
| _InspectionMethodText | _InspectionMethodText | |||
| _InspectionMethodPlant | _InspectionMethodPlant | |||
| _InspectionMethodStatus | _InspectionMethodStatus | |||
| _InspectionMethodStatusText | _InspectionMethodStatusText | |||
| _InspectorQualification | _InspectorQualification | |||
| _InspectorQualificationText | _InspectorQualificationText | |||
| _QltyMstrDataAuthznGrp | _QltyMstrDataAuthznGrp | |||
| _QltyMstrDataAuthznGrpTxt | _QltyMstrDataAuthznGrpTxt | |||
| _InspMethCreatedByUser | _InspMethCreatedByUser | |||
| _InspMethLastChangedByUser | _InspMethLastChangedByUser | |||
| _CreatedByUserContactCard | _CreatedByUserContactCard | |||
| _LastChangedByUserContactCard | _LastChangedByUserContactCard |
@AbapCatalog: {
sqlViewName: 'IINSPMETHODVERS',
preserveKey: true,
compiler.compareFilter: true
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
privilegedAssociations: ['_InspectionMethod','_LASTCHANGEDBYUSERCONTACTCARD','_INSPMETHCREATEDBYUSER','_INSPMETHLASTCHANGEDBYUSER','_CREATEDBYUSERCONTACTCARD']
}
@EndUserText.label: 'Inspection Method Version'
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.modelingPattern: #NONE
@ObjectModel.representativeKey: 'InspectionMethodVersion'
@ObjectModel.usageType: {
dataClass: #MASTER,
sizeCategory: #M,
serviceQuality: #C
}
@Metadata.ignorePropagatedAnnotations: true
define view I_InspectionMethodVersion as select from qmtb
association [1..1] to I_InspectionMethod as _InspectionMethod
on $projection.InspectionMethodPlant = _InspectionMethod.InspectionMethodPlant
and $projection.InspectionMethod = _InspectionMethod.InspectionMethod
association [0..1] to I_Plant as _InspectionMethodPlant
on $projection.InspectionMethodPlant = _InspectionMethodPlant.Plant
association [1..*] to I_InspectionMethodVersionText as _InspectionMethodText
on $projection.InspectionMethodPlant = _InspectionMethodText.InspectionMethodPlant
and $projection.InspectionMethod = _InspectionMethodText.InspectionMethod
and $projection.InspectionMethodVersion = _InspectionMethodText.InspectionMethodVersion
association [0..1] to I_InspectionMstrDataStatus as _InspectionMethodStatus
on $projection.InspectionMethodStatus = _InspectionMethodStatus.InspectionMasterDataStatus
association [0..*] to I_InspectionMstrDataStatusText as _InspectionMethodStatusText
on $projection.InspectionMethodStatus = _InspectionMethodStatusText.InspectionMasterDataStatus
association [0..1] to I_InspectorQualification as _InspectorQualification
on $projection.InspectorQualification = _InspectorQualification.InspectorQualification
association [0..*] to I_InspectorQualificationText as _InspectorQualificationText
on $projection.InspectorQualification = _InspectorQualificationText.InspectorQualification
association [0..1] to I_QltyMstrDataAuthorizationGrp as _QltyMstrDataAuthznGrp
on $projection.QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrp.QltyMstrDataAuthorizationGroup
association [0..*] to I_QltyMstrDataAuthznGroupTxt as _QltyMstrDataAuthznGrpTxt
on $projection.QltyMstrDataAuthorizationGroup = _QltyMstrDataAuthznGrpTxt.QltyMstrDataAuthorizationGroup
association [0..1] to I_User as _InspMethCreatedByUser
on $projection.CreatedByUser = _InspMethCreatedByUser.UserID
association [0..1] to I_User as _InspMethLastChangedByUser
on $projection.LastChangedByUser = _InspMethLastChangedByUser.UserID
// Contact Card for administrative user data
association [0..1] to I_UserContactCard as _CreatedByUserContactCard
on $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID
association [0..1] to I_UserContactCard as _LastChangedByUserContactCard
on $projection.LastChangedByUser = _LastChangedByUserContactCard.ContactCardID
//Extension
association [1..1] to E_InspectionMethodVersion as _Extension
on $projection.InspectionMethodPlant = _Extension.InspectionMethodPlant and
$projection.InspectionMethod = _Extension.InspectionMethod and
$projection.InspectionMethodVersion = _Extension.InspectionMethodVersion
{
@ObjectModel.foreignKey.association: '_InspectionMethodPlant'
@EndUserText.label: 'Inspection Method Plant'
key qmtb.werks as InspectionMethodPlant,
@ObjectModel.foreignKey.association: '_InspectionMethod'
key qmtb.pmtnr as InspectionMethod,
@EndUserText.label: 'Inspection Method Version'
key qmtb.version as InspectionMethodVersion,
@Semantics.businessDate.from: true
qmtb.gueltigab as InspectionMethodValidFromDate,
qmtb.sortfeld as InspectionMethodSearchField,
@ObjectModel.foreignKey.association: '_InspectionMethodStatus'
@EndUserText.label: 'Inspection Method Status'
qmtb.loekz as InspectionMethodStatus,
// qmtb.lsper, //InspectionMethod is used indicator
//--[ GENERATED:012:GlBfhyFV7jY4iHvp9{5ddW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_InspectorQualificationStdVH',
element: 'InspectorQualification' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_InspectorQualification'
@EndUserText.label: 'Inspector Qualification'
qmtb.prfql as InspectorQualification,
qmtb.dummy10 as InspMethInformationField1,
qmtb.dummy20 as InspMethInformationField2,
qmtb.dummy40 as InspMethInformationField3,
@ObjectModel.foreignKey.association: '_QltyMstrDataAuthznGrp'
qmtb.qauth as QltyMstrDataAuthorizationGroup,
@Semantics.user.createdBy: true
qmtb.autor as CreatedByUser,
@Semantics.systemDate.createdAt: true
qmtb.dates as CreationDate,
@Semantics.user.lastChangedBy: true
qmtb.aeaut as LastChangedByUser,
@Semantics.systemDate.lastChangedAt: true
qmtb.datae as LastChangeDate,
case qmtb.changeddatetime
when 0 then cast( '19000101010101' as tzntstmps )
else qmtb.changeddatetime end as ChangedDateTime,
/* Associations */
_InspectionMethod,
_InspectionMethodText,
_InspectionMethodPlant,
_InspectionMethodStatus,
_InspectionMethodStatusText,
_InspectorQualification,
_InspectorQualificationText,
_QltyMstrDataAuthznGrp,
_QltyMstrDataAuthznGrpTxt,
_InspMethCreatedByUser,
_InspMethLastChangedByUser,
_CreatedByUserContactCard,
_LastChangedByUserContactCard
}
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