I_MfgWorkInstructionVersion
Work Instruction Basic View
I_MfgWorkInstructionVersion is a Basic CDS View that provides data about "Work Instruction Basic View" in SAP S/4HANA. It reads from 2 data sources (mpe_wi_content, mpe_wi_version) and exposes 13 fields with key fields MfgWorkInstruction, MfgWorkInstructionVersCounter, Language. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| mpe_wi_content | Content | inner |
| mpe_wi_version | WorkInstructionVersion | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Language | _Lang | $projection.Language = _Lang.Language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMFGWIVERSION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Work Instruction Basic View | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MfgWorkInstruction | mpe_wi_version | wi_id | |
| KEY | MfgWorkInstructionVersCounter | mpe_wi_version | wi_version_no | |
| KEY | Language | mpe_wi_version | spras | |
| MfgWorkInstructionContentUUID | mpe_wi_version | wi_content_uuid | ||
| MfgWorkInstructionForEdit | mpe_wi_version | wi_id | ||
| CreationTime | mpe_wi_version | crea_date_time | ||
| CreationUserName | mpe_wi_version | crea_uname | ||
| LastChangeDateTime | mpe_wi_version | lchg_date_time | ||
| LastChangedByUser | mpe_wi_version | lchg_uname | ||
| MfgWorkInstructionContent | mpe_wi_content | wi_content | ||
| MfgWorkInstructionVersStatus | mpe_wi_version | wi_status | ||
| LanguageName | ||||
| _Lang | _Lang |
@AbapCatalog.sqlViewName: 'IMFGWIVERSION'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Work Instruction Basic View'
@VDM.viewType: #BASIC
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_MfgWorkInstructionVersion
as select from mpe_wi_version as WorkInstructionVersion
inner join mpe_wi_content as Content on WorkInstructionVersion.wi_content_uuid = Content.wi_content_uuid
association [1..1] to I_Language as _Lang on $projection.Language = _Lang.Language
{
key WorkInstructionVersion.wi_id as MfgWorkInstruction,
key WorkInstructionVersion.wi_version_no as MfgWorkInstructionVersCounter,
@ObjectModel.foreignKey.association: '_Lang'
@ObjectModel.text.element: ['LanguageName']
key WorkInstructionVersion.spras as Language,
WorkInstructionVersion.wi_content_uuid as MfgWorkInstructionContentUUID,
WorkInstructionVersion.wi_id as MfgWorkInstructionForEdit,
WorkInstructionVersion.crea_date_time as CreationTime,
WorkInstructionVersion.crea_uname as CreationUserName,
WorkInstructionVersion.lchg_date_time as LastChangeDateTime,
WorkInstructionVersion.lchg_uname as LastChangedByUser,
Content.wi_content as MfgWorkInstructionContent,
WorkInstructionVersion.wi_status as MfgWorkInstructionVersStatus,
_Lang._Text[1:LanguageCode=Language].LanguageName as LanguageName,
_Lang
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LANGUAGE",
"I_LANGUAGETEXT",
"MPE_WI_CONTENT",
"MPE_WI_VERSION"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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