P_ProdAllocCharcCtlgPathRef
Charc. Catalog Path Reference with Draft
P_ProdAllocCharcCtlgPathRef is a Composite CDS View that provides data about "Charc. Catalog Path Reference with Draft" in SAP S/4HANA. It reads from 2 data sources (I_ProdAllocCharcCtlgPathRef, pactlg_pathrefd) and exposes 18 fields with key field ProdAllocCharcCtlgPathRefUUID. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdAllocCharcCtlgPathRef | Active | from |
| pactlg_pathrefd | Draft | union_all |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | sdraft_admin | _DraftAdmin | _DraftAdmin.draft_key = $projection.ProdAllocCharcCatalogUUID and _DraftAdmin.draft_entity = 'I_PRODALLOCCHARCCATALOGTP' and _DraftAdmin.created_by = $session.user |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Charc. Catalog Path Reference with Draft | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdAllocCharcCtlgPathRefUUID | ProdAllocCharcCtlgPathRefUUID | ||
| ProdAllocCharcCatalogUUID | ProdAllocCharcCatalogUUID | |||
| ProdAllocCharcCtlgPathUUID | ProdAllocCharcCtlgPathUUID | |||
| ProdAllocCharcCatalogIsMain | ProdAllocCharcCatalogIsMain | |||
| BaseCharacteristicCatalogType | BaseCharacteristicCatalogType | |||
| BaseCharcCatalogPathUUID | BaseCharcCatalogPathUUID | |||
| BaseCharcCatalogPathIntID | BaseCharcCatalogPathIntID | |||
| IsActiveEntity | ||||
| IsMyDraft | ||||
| ProdAllocCharcCatalogUUID | prodalloccharccataloguuid | |||
| ProdAllocCharcCtlgPathUUID | prodalloccharcctlgpathuuid | |||
| ProdAllocCharcCatalogIsMain | prodalloccharccatalogismain | |||
| BaseCharacteristicCatalogType | basecharacteristiccatalogtype | |||
| BaseCharcCatalogPathUUID | basecharccatalogpathuuid | |||
| BaseCharcCatalogPathIntID | basecharccatalogpathintid | |||
| IsActiveEntity | ||||
| IsMyDraft | ||||
| DraftEntityOperationCode | draftentityoperationcode |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Charc. Catalog Path Reference with Draft'
@Metadata.ignorePropagatedAnnotations: true
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #S,
dataClass: #MASTER
}
define view entity P_ProdAllocCharcCtlgPathRef
as select from I_ProdAllocCharcCtlgPathRef as Active
{
key ProdAllocCharcCtlgPathRefUUID,
ProdAllocCharcCatalogUUID,
ProdAllocCharcCtlgPathUUID,
ProdAllocCharcCatalogIsMain,
BaseCharacteristicCatalogType,
BaseCharcCatalogPathUUID,
BaseCharcCatalogPathIntID,
'X' as IsActiveEntity,
'' as IsMyDraft,
'' as DraftEntityOperationCode
}
union all select from pactlg_pathrefd as Draft
association [0..1] to sdraft_admin as _DraftAdmin on _DraftAdmin.draft_key = $projection.ProdAllocCharcCatalogUUID
and _DraftAdmin.draft_entity = 'I_PRODALLOCCHARCCATALOGTP'
and _DraftAdmin.created_by = $session.user
{
key prodalloccharcctlgpathrefuuid as ProdAllocCharcCtlgPathRefUUID,
prodalloccharccataloguuid as ProdAllocCharcCatalogUUID,
prodalloccharcctlgpathuuid as ProdAllocCharcCtlgPathUUID,
prodalloccharccatalogismain as ProdAllocCharcCatalogIsMain,
basecharacteristiccatalogtype as BaseCharacteristicCatalogType,
basecharccatalogpathuuid as BaseCharcCatalogPathUUID,
basecharccatalogpathintid as BaseCharcCatalogPathIntID,
'' as IsActiveEntity,
'X' as IsMyDraft,
draftentityoperationcode as DraftEntityOperationCode
}
where
Draft.prodalloccharccataloguuid = _DraftAdmin.draft_key
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODALLOCCHARCCTLGPATHREF",
"PACTLG_PATHREFD",
"SDRAFT_ADMIN"
],
"ASSOCIATED":
[],
"BASE":
[],
"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