I_MatlPlntCompAssembleControl
Component Assemble Control of a Material in a Plant
I_MatlPlntCompAssembleControl is a Composite CDS View that provides data about "Component Assemble Control of a Material in a Plant" in SAP S/4HANA. It reads from 1 data source (P_ProductPlantBasic) and exposes 8 fields with key fields Product, Plant. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProductPlantBasic | ProductPlant | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MatlCompAssembleControl | _MatlCompAssembleControl | $projection.MatlCompAssembleControl = _MatlCompAssembleControl.MatlCompAssembleControl |
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPEPRODPLANT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Component Assemble Control of a Material in a Plant | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | P_ProductPlantBasic | Product | |
| KEY | Plant | P_ProductPlantBasic | Plant | |
| SerialNumberProfile | P_ProductPlantBasic | SerialNumberProfile | ||
| SerialNumberEquipCreationRqmt | AssySrlNmbrPrflProcedSttg | SerialNumberEquipCreationRqmt | ||
| StockCheckMessageType | AssySrlNmbrPrflProcedSttg | StockCheckMessageType | ||
| IsBatchManagementRequired | P_ProductPlantBasic | IsBatchManagementRequired | ||
| _MatlCompAssembleControl | _MatlCompAssembleControl | |||
| _Product | _Product |
@AbapCatalog.sqlViewName: 'IMPEPRODPLANT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MASTER}
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Component Assemble Control of a Material in a Plant'
define view I_MatlPlntCompAssembleControl
as select from P_ProductPlantBasic as ProductPlant
left outer to one join P_AssySrlNmbrPrflProcedSttg as AssySrlNmbrPrflProcedSttg on AssySrlNmbrPrflProcedSttg.SerialNumberProfile = ProductPlant.SerialNumberProfile
association [1..1] to I_MatlCompAssembleControl as _MatlCompAssembleControl on $projection.MatlCompAssembleControl = _MatlCompAssembleControl.MatlCompAssembleControl
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
{
key ProductPlant.Product as Product,
key ProductPlant.Plant as Plant,
ProductPlant.SerialNumberProfile as SerialNumberProfile,
cast( case
when AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment is null or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '01' or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '02' then ''
else 'X'
end as boolean preserving type ) as SerialNumberIsRqdForAssembly,
AssySrlNmbrPrflProcedSttg.SerialNumberEquipCreationRqmt as SerialNumberEquipCreationRqmt,
AssySrlNmbrPrflProcedSttg.StockCheckMessageType as StockCheckMessageType,
ProductPlant.IsBatchManagementRequired as IsBatchManagementRequired,
cast(case
when AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment is null or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '01' or AssySrlNmbrPrflProcedSttg.SerialNumberUsageInAssignment = '02'
then case
when ProductPlant.IsBatchManagementRequired = '' then 0
else 2 -- Batch-managed
end else case
when ProductPlant.IsBatchManagementRequired = '' then 1 -- Serialized
else 3 -- Serialized & Batch-managed
end
end as mpe_comp_assemble_control preserving type ) as MatlCompAssembleControl,
_MatlCompAssembleControl,
_Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_ASSYSRLNMBRPRFLPROCEDSTTG",
"P_PRODUCTPLANTBASIC"
],
"ASSOCIATED":
[
"I_MATLCOMPASSEMBLECONTROL",
"I_PRODUCT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"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