P_PlntCompanyCodePurchasingOrg
P_PlntCompanyCodePurchasingOrg is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_Purreqvaluationarea, I_PlantPurchasingOrganization) and exposes 2 fields with key fields PurchasingOrganization, CompanyCode.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Purreqvaluationarea | _PlantCoCode | from |
| I_PlantPurchasingOrganization | _PlantPurchasingOrg | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCOCODEPURORPLNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingOrganization | I_PlantPurchasingOrganization | PurchasingOrganization | |
| KEY | CompanyCode | I_Purreqvaluationarea | CompanyCode |
@AbapCatalog.sqlViewName: 'PCOCODEPURORPLNT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel: {
usageType.serviceQuality: #C,
usageType.sizeCategory: #S,
usageType.dataClass: #MIXED
}
define view P_PlntCompanyCodePurchasingOrg
//t001k
as select from I_Purreqvaluationarea as _PlantCoCode
//t024w
inner join I_PlantPurchasingOrganization as _PlantPurchasingOrg on _PlantCoCode.ValuationArea = _PlantPurchasingOrg.Plant
{
key _PlantPurchasingOrg.PurchasingOrganization as PurchasingOrganization,
key _PlantCoCode.CompanyCode as CompanyCode
}
group by _PlantPurchasingOrg.PurchasingOrganization, _PlantCoCode.CompanyCode
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