P_MaintJobCompProdPlntStrgloc
Maint Job Comp Material Plant & Storage
P_MaintJobCompProdPlntStrgloc is a Basic CDS View that provides data about "Maint Job Comp Material Plant & Storage" in SAP S/4HANA. It reads from 1 data source (I_ProductPlant) and exposes 11 fields with key fields Product, Plant, StorageLocation, MaintenanceOrderType. Part of development package VDM_EAM_MAINTJOB_MNG_CMP_UNPLN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductPlant | _MaintJobCompProductPlant | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ProductPlant | Product | |
| KEY | Plant | I_ProductPlant | Plant | |
| KEY | StorageLocation | _ProductStorageLocation | StorageLocation | |
| KEY | MaintenanceOrderType | _OrderTypeperplant | auart | |
| ProductType | ||||
| ProductGroup | ||||
| BaseUnit | ||||
| IsMarkedForDeletion | I_ProductPlant | IsMarkedForDeletion | ||
| SerialNumberProfile | I_ProductPlant | SerialNumberProfile | ||
| AuthorizationGroup | ||||
| AvailabilityCheckType | I_ProductPlant | AvailabilityCheckType |
@VDM.viewType: #BASIC
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view entity P_MaintJobCompProdPlntStrgloc // View created to make storage location as key to consume in the I view
as select from I_ProductPlant as _MaintJobCompProductPlant
left outer to one join I_ProductStorageLocation as _ProductStorageLocation on _ProductStorageLocation.Product = _MaintJobCompProductPlant.Product
and _ProductStorageLocation.Plant = _MaintJobCompProductPlant.Plant
left outer to one join t350w as _OrderTypeperplant on _OrderTypeperplant.iwerk = _MaintJobCompProductPlant.Plant
{
key _MaintJobCompProductPlant.Product,
key _MaintJobCompProductPlant.Plant,
key _ProductStorageLocation.StorageLocation,
key _OrderTypeperplant.auart as MaintenanceOrderType,
// exposed to apply condition in the consuption view
_MaintJobCompProductPlant._Product.ProductType,
// exposed to use it in DCL
_MaintJobCompProductPlant._Product.ProductGroup,
_MaintJobCompProductPlant._Product.BaseUnit,
_MaintJobCompProductPlant.IsMarkedForDeletion,
_MaintJobCompProductPlant.SerialNumberProfile,
// exposed to use it in DCL
_MaintJobCompProductPlant._Product.AuthorizationGroup,
//exposed to use in Quantity Calculation
_MaintJobCompProductPlant.AvailabilityCheckType
// _MaintJobCompProductPlant._ProductPlant
}
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