I_MfgWorkInstructionVariable
Embedded WI: Variable
I_MfgWorkInstructionVariable is a Basic CDS View that provides data about "Embedded WI: Variable" in SAP S/4HANA. It reads from 1 data source (mpe_wi_varbl) and exposes 20 fields with key fields MfgWorkInstruction, MfgWorkInstructionVersCounter, MfgWorkInstructionVariable, ProdnRtgVersBOMInternalID. It has 2 associations to related views. Part of development package MPE_PLAN_WI_EMB.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mpe_wi_varbl | WIVariable | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MfgWorkInstructionInternalID | _WorkInstructionInternalId | $projection.MfgWorkInstruction = _WorkInstructionInternalId.MfgWorkInstruction -- Allowed Attributes for selected context type |
| [0..*] | I_MfgWrkInstrnVarblAttribute | _MfgWrkInstrnVarblAttribute | $projection.SelectedContextType = _MfgWrkInstrnVarblAttribute.MfgWrkInstrnVariableType -- for component instance tmxguid |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPEWIVARBL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | ProdnRtgVersBOMInternalID | view | |
| EndUserText.label | Embedded WI: Variable | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MfgWorkInstruction | mpe_wi_varbl | wi_id | WorkItem ID |
| KEY | MfgWorkInstructionVersCounter | mpe_wi_varbl | wi_version_no | Version No. |
| KEY | MfgWorkInstructionVariable | mpe_wi_varbl | wi_variable | Variable |
| KEY | ProdnRtgVersBOMInternalID | mpe_wi_varbl | plmb_zuonr | Allocation no. |
| SelectedContextType | mpe_wi_varbl | variable_type | Var TYpe | |
| InspectionCharacteristicNmbr | mpe_wi_varbl | merknr | Characteristic | |
| ProdnRsceToolCounter | mpe_wi_varbl | pzlfh | Test equipment | |
| BOOOpBOMItemInternalID | mpe_wi_varbl | plmz_zuonr | Allocation no. | |
| BOOCharcGroup | mpe_wi_varbl | chargroup | Characteristic Group | |
| OriglDgtlMockUpCharcsUUID | mpe_wi_varbl | inst_guid | DMU GUID | |
| LogicalComponent | mpe_wi_varbl | log_comp_counter | Logical Component | |
| ProdMfgInfoCameraInternalID | mpe_wi_varbl | camera_counter | Camera counter | |
| ProdMfgInfoItemValueUUID | mpe_wi_varbl | item_val_guid | Item value GUID | |
| BillOfMaterialCategory | mpe_wi_varbl | stlty | Single-Character Flag | |
| BillOfMaterial | ||||
| BillOfMaterialVariant | mpe_wi_varbl | stlal | AlternativeBOM | |
| BillOfMaterialVersion | mpe_wi_varbl | bom_versn | BOM Version | |
| InheritedNodeNumberForBOMItem | mpe_wi_varbl | stvkn | Nodes | |
| Associations_WorkInstructionInternalId | ||||
| _MfgWrkInstrnVarblAttribute | _MfgWrkInstrnVarblAttribute |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_MfgWorkInstructionVariable.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMPEWIVARBL
CREATE VIEW I_MfgWorkInstructionVariable AS
SELECT
WIVariable.wi_id AS MfgWorkInstruction,
WIVariable.wi_version_no AS MfgWorkInstructionVersCounter,
WIVariable.wi_variable AS MfgWorkInstructionVariable,
WIVariable.plmb_zuonr AS ProdnRtgVersBOMInternalID,
WIVariable.variable_type AS SelectedContextType,
WIVariable.merknr AS InspectionCharacteristicNmbr,
WIVariable.pzlfh AS ProdnRsceToolCounter,
WIVariable.plmz_zuonr AS BOOOpBOMItemInternalID,
WIVariable.chargroup AS BOOCharcGroup,
WIVariable.inst_guid AS OriglDgtlMockUpCharcsUUID,
WIVariable.log_comp_counter AS LogicalComponent,
WIVariable.camera_counter AS ProdMfgInfoCameraInternalID,
WIVariable.item_val_guid AS ProdMfgInfoItemValueUUID,
WIVariable.stlty AS BillOfMaterialCategory,
cast(WIVariable.stlnr as abap.char(8)) AS BillOfMaterial,
WIVariable.stlal AS BillOfMaterialVariant,
WIVariable.bom_versn AS BillOfMaterialVersion,
WIVariable.stvkn AS InheritedNodeNumberForBOMItem
FROM mpe_wi_varbl AS WIVariable
LEFT OUTER JOIN I_MfgWorkInstructionInternalID AS _WorkInstructionInternalId ON MfgWorkInstruction = _WorkInstructionInternalId.MfgWorkInstruction -- association [1..1]
LEFT OUTER JOIN I_MfgWrkInstrnVarblAttribute AS _MfgWrkInstrnVarblAttribute ON SelectedContextType = _MfgWrkInstrnVarblAttribute.MfgWrkInstrnVariableType -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA