P_PRODALLOCCHARCCTLGPATH
P_PRODALLOCCHARCCTLGPATH is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_ProdAllocCharcCatalogPath, pactlg_pathd) and exposes 40 fields with key field ProdAllocCharcCtlgPathUUID. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdAllocCharcCatalogPath | ActiveDocument | from |
| pactlg_pathd | DraftDocument | union_all |
Associations (2)
| 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 |
| [0..1] | pactlg_pathrefd | _DraftMainCharcCtlgPathRef | _DraftMainCharcCtlgPathRef.prodalloccharcctlgpathuuid = $projection.prodalloccharcctlgpathuuid and _DraftMainCharcCtlgPathRef.prodalloccharccatalogismain = 'X' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPACTLG_PATH | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdAllocCharcCtlgPathUUID | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathUUID | Product Allocation Characteristic Catalog Path UUID |
| ActiveAllocCharcCtlgPathUUID | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathUUID | UUID | |
| ProdAllocCharcCtlgPathIntID | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathIntID | Catalog Path Internal ID | |
| ProdAllocCharcCatalogType | I_ProdAllocCharcCatalogPath | ProdAllocCharcCatalogType | Catalog Type | |
| ProdAllocCharcCatalogUseType | I_ProdAllocCharcCatalogPath | ProdAllocCharcCatalogUseType | Catalog Use Type | |
| ProdAllocCharcCatalogUUID | I_ProdAllocCharcCatalogPath | ProdAllocCharcCatalogUUID | UUID | |
| ProdAllocCharcCtlgParPathIntID | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgParPathIntID | Catalog Parent Path Internal ID | |
| ProdAllocCharcCatalogCharcType | I_ProdAllocCharcCatalogPath | ProdAllocCharcCatalogCharcType | Characteristic Type | |
| ProdAllocCharcCatalogPathType | I_ProdAllocCharcCatalogPath | ProdAllocCharcCatalogPathType | Characteristic Path Type | |
| ClfnCharacteristicUseType | I_ProdAllocCharcCatalogPath | ClfnCharacteristicUseType | Type | |
| ABAPDataElement | I_ProdAllocCharcCatalogPath | ABAPDataElement | Data Element | |
| ProdAllocCharcCtlgPathSelName | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathSelName | Path Selection Name | |
| ProdAllocCharcCtlgPathSel | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathSel | Characteristic Catalog Path Selection | |
| ProdAllocCharcCatalogPath | I_ProdAllocCharcCatalogPath | ProdAllocCharcCatalogPath | Charc Catalog Path | |
| ProdAllocCharcCtlgAltvPath | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgAltvPath | Alternative Path | |
| ProdAllocCharcCtlgLegacyTable | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgLegacyTable | Legacy Table | |
| ProdAllocCharcCtlgLegacyPath | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgLegacyPath | Legacy Path | |
| ProdAllocCharcValueHelp | I_ProdAllocCharcCatalogPath | ProdAllocCharcValueHelp | Value Help | |
| ProdAllocCharcValHelpTblField | I_ProdAllocCharcCatalogPath | ProdAllocCharcValHelpTblField | Value Help Field | |
| ProdAllocCharcValHelpTextLink | I_ProdAllocCharcCatalogPath | ProdAllocCharcValHelpTextLink | Value Help Text Link | |
| ProdAllocCharcValHelpTxtTblFld | I_ProdAllocCharcCatalogPath | ProdAllocCharcValHelpTxtTblFld | Value Help Text Field | |
| ProdAllocCharcCtlgCharc | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgCharc | Characteristic | |
| CharcInternalID | I_ProdAllocCharcCatalogPath | CharcInternalID | Characteristic Internal ID | |
| ProdAllocCharcCtlgPathIsRoot | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathIsRoot | Catalog Characteristic Path Is Root | |
| ABAPDictionaryDataType | I_ProdAllocCharcCatalogPath | ABAPDictionaryDataType | Data Type | |
| ABAPDictionaryDataTypeLength | I_ProdAllocCharcCatalogPath | ABAPDictionaryDataTypeLength | No. of Characters | |
| ABAPDictionaryDataTypeDecimals | I_ProdAllocCharcCatalogPath | ABAPDictionaryDataTypeDecimals | Decimal Places | |
| ABAPOutputLengthValue | I_ProdAllocCharcCatalogPath | ABAPOutputLengthValue | Output Length | |
| CharcValueIsCaseSensitive | I_ProdAllocCharcCatalogPath | CharcValueIsCaseSensitive | Case Sensitive | |
| CharacteristicUnitPathIntID | I_ProdAllocCharcCatalogPath | CharacteristicUnitPathIntID | Unit Internal Identifier | |
| CharcValExistenceCheckType | I_ProdAllocCharcCatalogPath | CharcValExistenceCheckType | Value Existence Check Type | |
| ProdAllocCharcCtlgPathIsHidden | I_ProdAllocCharcCatalogPath | ProdAllocCharcCtlgPathIsHidden | Catalog Characteristic Path Is Hidden | |
| IsActiveEntity | ||||
| IsMyDraft | ||||
| BaseCharcCatalogPathIntID | Catalog Path Internal ID | |||
| ActiveAllocCharcCtlgPathUUID | pactlg_pathd | activeuuid | UUID | |
| IsActiveEntity | ||||
| IsMyDraft | ||||
| BaseCharcCatalogPathIntID | _DraftMainCharcCtlgPathRef | basecharccatalogpathintid | Catalog Path Internal ID | |
| DraftEntityOperationCode | pactlg_pathd | draftentityoperationcode | Draft - Operation Code |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_PRODALLOCCHARCCTLGPATH.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PPACTLG_PATH
CREATE VIEW P_PRODALLOCCHARCCTLGPATH AS
SELECT
ActiveDocument.ProdAllocCharcCtlgPathUUID AS ProdAllocCharcCtlgPathUUID,
ActiveDocument.ProdAllocCharcCtlgPathUUID AS ActiveAllocCharcCtlgPathUUID,
ActiveDocument.ProdAllocCharcCtlgPathIntID AS ProdAllocCharcCtlgPathIntID,
ActiveDocument.ProdAllocCharcCatalogType AS ProdAllocCharcCatalogType,
ActiveDocument.ProdAllocCharcCatalogUseType AS ProdAllocCharcCatalogUseType,
ActiveDocument.ProdAllocCharcCatalogUUID AS ProdAllocCharcCatalogUUID,
ActiveDocument.ProdAllocCharcCtlgParPathIntID AS ProdAllocCharcCtlgParPathIntID,
ActiveDocument.ProdAllocCharcCatalogCharcType AS ProdAllocCharcCatalogCharcType,
ActiveDocument.ProdAllocCharcCatalogPathType AS ProdAllocCharcCatalogPathType,
ActiveDocument.ClfnCharacteristicUseType AS ClfnCharacteristicUseType,
ActiveDocument.ABAPDataElement AS ABAPDataElement,
ActiveDocument.ProdAllocCharcCtlgPathSelName AS ProdAllocCharcCtlgPathSelName,
ActiveDocument.ProdAllocCharcCtlgPathSel AS ProdAllocCharcCtlgPathSel,
ActiveDocument.ProdAllocCharcCatalogPath AS ProdAllocCharcCatalogPath,
ActiveDocument.ProdAllocCharcCtlgAltvPath AS ProdAllocCharcCtlgAltvPath,
ActiveDocument.ProdAllocCharcCtlgLegacyTable AS ProdAllocCharcCtlgLegacyTable,
ActiveDocument.ProdAllocCharcCtlgLegacyPath AS ProdAllocCharcCtlgLegacyPath,
ActiveDocument.ProdAllocCharcValueHelp AS ProdAllocCharcValueHelp,
ActiveDocument.ProdAllocCharcValHelpTblField AS ProdAllocCharcValHelpTblField,
ActiveDocument.ProdAllocCharcValHelpTextLink AS ProdAllocCharcValHelpTextLink,
ActiveDocument.ProdAllocCharcValHelpTxtTblFld AS ProdAllocCharcValHelpTxtTblFld,
ActiveDocument.ProdAllocCharcCtlgCharc AS ProdAllocCharcCtlgCharc,
ActiveDocument.CharcInternalID AS CharcInternalID,
ActiveDocument.ProdAllocCharcCtlgPathIsRoot AS ProdAllocCharcCtlgPathIsRoot,
ActiveDocument.ABAPDictionaryDataType AS ABAPDictionaryDataType,
ActiveDocument.ABAPDictionaryDataTypeLength AS ABAPDictionaryDataTypeLength,
ActiveDocument.ABAPDictionaryDataTypeDecimals AS ABAPDictionaryDataTypeDecimals,
ActiveDocument.ABAPOutputLengthValue AS ABAPOutputLengthValue,
ActiveDocument.CharcValueIsCaseSensitive AS CharcValueIsCaseSensitive,
ActiveDocument.CharacteristicUnitPathIntID AS CharacteristicUnitPathIntID,
ActiveDocument.CharcValExistenceCheckType AS CharcValExistenceCheckType,
ActiveDocument.ProdAllocCharcCtlgPathIsHidden AS ProdAllocCharcCtlgPathIsHidden,
'X' AS IsActiveEntity,
'' AS IsMyDraft,
ActiveDocument._MainCharcCtlgPathRef.BaseCharcCatalogPathIntID AS BaseCharcCatalogPathIntID,
DraftDocument.draftentityoperationcode AS DraftEntityOperationCode
FROM I_ProdAllocCharcCatalogPath AS ActiveDocument
LEFT OUTER JOIN sdraft_admin AS _DraftAdmin ON _DraftAdmin.draft_key = prodalloccharccataloguuid AND _DraftAdmin.draft_entity = 'I_PRODALLOCCHARCCATALOGTP' AND _DraftAdmin.created_by = $session.user -- association [0..1]
LEFT OUTER JOIN pactlg_pathrefd AS _DraftMainCharcCtlgPathRef ON _DraftMainCharcCtlgPathRef.prodalloccharcctlgpathuuid = prodalloccharcctlgpathuuid AND _DraftMainCharcCtlgPathRef.prodalloccharccatalogismain = 'X' -- association [0..1]
-- UNION ALL with additional select branch(es): pactlg_pathd
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA