P_MfgProcgExecNonSrlzdBatch
P_MfgProcgExecNonSrlzdBatch is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_MatlPlntCompAssembleControl) and exposes 8 fields with key fields Material, Batch, Plant. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlPlntCompAssembleControl | MfgOrderProductPlant | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProductPlantBasic | _ProductPlant | $projection.Material = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [1..1] | I_Plant | _Plant | MfgOrderProductPlant.Plant = _Plant.Plant |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPEEXECNSBATCH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | BatchDistinct | Material | |
| KEY | Batch | BatchDistinct | Batch | |
| KEY | Plant | I_MatlPlntCompAssembleControl | Plant | |
| BatchBySupplier | BatchDistinct | BatchBySupplier | ||
| _Material | BatchDistinct | _Material | ||
| _ProductPlant | _ProductPlant | |||
| _Plant | _Plant | |||
| _Product | BatchDistinct | _Product |
@AbapCatalog.sqlViewName: 'PMPEEXECNSBATCH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #XL, dataClass: #MIXED}
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view P_MfgProcgExecNonSrlzdBatch
as
-- Batches of batch-managed (but not serialized) materials
select distinct from I_BatchDistinct as BatchDistinct
inner join I_MatlPlntCompAssembleControl as MfgOrderProductPlant on MfgOrderProductPlant.Product = BatchDistinct.Material
and(
MfgOrderProductPlant.Plant = BatchDistinct.Plant
or BatchDistinct.Plant = ' '
)
association [0..1] to I_ProductPlantBasic as _ProductPlant on $projection.Material = _ProductPlant.Product
and $projection.Plant = _ProductPlant.Plant
association [1..1] to I_Plant as _Plant on MfgOrderProductPlant.Plant = _Plant.Plant
{
@ObjectModel.foreignKey.association: '_Material'
key BatchDistinct.Material,
key BatchDistinct.Batch,
key MfgOrderProductPlant.Plant,
BatchDistinct.BatchBySupplier,
BatchDistinct._Material,
_ProductPlant,
_Plant,
BatchDistinct._Product
}
where
BatchDistinct.BatchIsMarkedForDeletion = ' '
and BatchDistinct.MatlBatchIsInRstrcdUseStock = ' '
and MfgOrderProductPlant.IsBatchManagementRequired = 'X'
and MfgOrderProductPlant.SerialNumberIsRqdForAssembly = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BATCHDISTINCT",
"I_MATLPLNTCOMPASSEMBLECONTROL"
],
"ASSOCIATED":
[
"I_MATERIAL",
"I_PLANT",
"I_PRODUCT",
"I_PRODUCTPLANTBASIC"
],
"BASE":
[
"I_BATCHDISTINCT"
],
"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