P_BOOPlantControllingArea
Bill of Operations Plant Controlling Area
P_BOOPlantControllingArea is a Composite CDS View that provides data about "Bill of Operations Plant Controlling Area" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 3 fields with key field Plant. Part of development package VDM_PP_MD_RTG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Plant | I_Plant | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | I_Plant | Plant | |
| ControllingArea | I_CompanyCode | ControllingArea | ||
| _ControllingArea | I_CompanyCode | _ControllingArea |
//@AbapCatalog.sqlViewName: 'PPPBOOPLNTCOAREA'
//@AbapCatalog.compiler.compareFilter:true
//@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #MASTER}
@VDM.viewType: #COMPOSITE
@VDM.private: true
// The ControllingArea is not known but can be derived this way:
// I_PLANT(valuation area)->I_PURREQVALUATIONAREA(company code)->I_COMPANYCODE(controlling area)
//define view P_BOOPlantControllingArea
define view entity P_BOOPlantControllingArea
as select from I_Plant
join I_Purreqvaluationarea on I_Purreqvaluationarea.ValuationArea = I_Plant.ValuationArea
join I_CompanyCode on I_CompanyCode.CompanyCode = I_Purreqvaluationarea.CompanyCode
{
key I_Plant.Plant,
I_CompanyCode.ControllingArea,
I_CompanyCode._ControllingArea
}
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