P_PhysInvtryNotPostedBatch_L1
Not posted batch master
P_PhysInvtryNotPostedBatch_L1 is a Composite CDS View that provides data about "Not posted batch master" in SAP S/4HANA. It reads from 4 data sources (I_PhysInvtryIndBatchStorLoc, I_PhysInvtryIndBatchStorLoc, I_PhysInvtryIndBatchStorLoc, I_PhysInvtryIndBatchStorLoc) and exposes 17 fields with key fields Material, Plant, StorageLocation, Batch, Plant. Part of development package ODATA_MM_IM_PI_MASS_CREATE.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_PhysInvtryIndBatchStorLoc | batch | from |
| I_PhysInvtryIndBatchStorLoc | batch | union |
| I_PhysInvtryIndBatchStorLoc | batch | union |
| I_PhysInvtryIndBatchStorLoc | batch | union |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Not posted batch master | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_PhysInvtryIndBatchStorLoc | Material | |
| KEY | Plant | I_PhysInvtryIndBatchStorLoc | Plant | |
| KEY | StorageLocation | I_PhysInvtryIndBatchStorLoc | StorageLocation | |
| KEY | Batch | I_PhysInvtryIndBatchStorLoc | Batch | |
| Material | ||||
| KEY | Plant | I_PhysInvtryIndBatchStorLoc | Plant | |
| KEY | StorageLocation | I_PhysInvtryIndBatchStorLoc | StorageLocation | |
| KEY | Batch | I_PhysInvtryIndBatchStorLoc | Batch | |
| Material | ||||
| KEY | Plant | I_PhysInvtryIndBatchStorLoc | Plant | |
| KEY | StorageLocation | I_PhysInvtryIndBatchStorLoc | StorageLocation | |
| KEY | Batch | I_PhysInvtryIndBatchStorLoc | Batch | |
| Material | ||||
| KEY | Plant | I_PhysInvtryIndBatchStorLoc | Plant | |
| KEY | StorageLocation | I_PhysInvtryIndBatchStorLoc | StorageLocation | |
| KEY | Batch | I_PhysInvtryIndBatchStorLoc | Batch | |
| InventoryStockType |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Not posted batch master'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #XL,
dataClass: #MASTER
}
@VDM:{
private: true,
viewType: #COMPOSITE
}
define view entity P_PhysInvtryNotPostedBatch_L1
as select from I_PhysInvtryIndBatchStorLoc as batch
{
key batch.Material,
key batch.Plant,
key batch.StorageLocation,
key batch.Batch,
cast( '01' as nsdm_lbbsa ) as InventoryStockType
}
union select from I_PhysInvtryIndBatchStorLoc as batch
{
key batch.Material,
key batch.Plant,
key batch.StorageLocation,
key batch.Batch,
cast( '02' as nsdm_lbbsa ) as InventoryStockType
}
union select from I_PhysInvtryIndBatchStorLoc as batch
{
key batch.Material,
key batch.Plant,
key batch.StorageLocation,
key batch.Batch,
cast( '07' as nsdm_lbbsa ) as InventoryStockType
}
union select from I_PhysInvtryIndBatchStorLoc as batch
{
key batch.Material,
key batch.Plant,
key batch.StorageLocation,
key batch.Batch,
cast( '08' as nsdm_lbbsa ) as InventoryStockType
}
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