P_SubcontrgCkptHier
Subcontracting Document Hierarchy Node
P_SubcontrgCkptHier is a Composite CDS View that provides data about "Subcontracting Document Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (P_SubcontractingHierNodeBase) and exposes 58 fields with key fields Material, Plant, Supplier, Reservation, ReservationItem. It has 1 association to related views. Part of development package ODATA_MM_PUR_SUBCONTRG_COCKPIT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SubcontractingHierNodeBase | P_SubcontractingHierNodeBase | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ReqdDelivDteRngeFrmDte | vdm_shippingdate | |
| P_ReqdDelivDteRngeToDte | vdm_shippingdate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_SubcontrgCkptHier | _Parent | $projection.ParentNode = _Parent.SuplrMatlPlnt and $projection.Plant = _Parent.Plant and $projection.Supplier = _Parent.Supplier and $projection.Material = _Parent.Material |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.technicalName | PSUBCONHIER | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| VDM.private | true | view | |
| ObjectModel.representativeKey | Material | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | Supplier | Supplier | Supplier | |
| KEY | Reservation | Reservation | Reservation | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| RequirementType | RequirementType | RequirementType | ||
| SuplrMatlPlnt | SuplrMatlPlnt | |||
| MasterDataNode | MasterDataNode | |||
| ParentNode | ParentNode | Parent Node | ||
| HierarchyNodeLevel | HierarchyNodeLevel | Hierarchy Node Level | ||
| HierarchyDrillState | HierarchyDrillState | Drill State | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| FormattedPurchaseOrderItem | FormattedPurchaseOrderItem | |||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| numc2endasShippingStatus | ||||
| Assembly | Assembly | Pegged Reqmt | ||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | Delivery Date | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| Batch | Batch | Lot No. | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| StillToBeDeliveredQuantity | StillToBeDeliveredQuantity | |||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| StockBalanceQuantityUnit | StockBalanceQuantityUnit | |||
| StockUnit | StockUnit | |||
| MaterialComponentName | MaterialComponentName | |||
| PlantName | PlantName | Plant Name | ||
| SupplierName | SupplierName | Supplier Name | ||
| AssemblyName | AssemblyName | |||
| MaterialGroupName | MaterialGroupName | prod Grp Desc. | ||
| StorageLocationName | StorageLocationName | Storage Loc. Name | ||
| SupplyingPlantName | SupplyingPlantName | Plant Name | ||
| ShippingStatusText | ||||
| PurchasingGroupName | PurchasingGroupName | Purchasing Grp. Name | ||
| PurchasingOrganizationName | PurchasingOrganizationName | Purch. Org. Name | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| DeliveryType | DeliveryType | intern./extern. | ||
| LoadingGroup | LoadingGroup | Loading Group | ||
| ProposedShippingPoint | ProposedShippingPoint | |||
| NumberOfItems | NumberOfItems | |||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| PurchasingDocumentTypeName | PurchasingDocumentTypeName | Description | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| SpecialStockIdfgWBSElement | SpecialStockIdfgWBSElement | WBS Internal ID | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| SupplierAccountGroup | SupplierAccountGroup | Account group | ||
| _SupplierCompanyByPlant | _SupplierCompanyByPlant | |||
| _Parent | _Parent | |||
| _Plant | _Plant | |||
| _Supplier | _Supplier | |||
| _ProposedShipgPointsPerPlnt | _ProposedShipgPointsPerPlnt | |||
| _Material | _Material |
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_SubcontrgCkptHier.
-- 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.
-- Parameters: P_ReqdDelivDteRngeFrmDte : vdm_shippingdate, P_ReqdDelivDteRngeToDte : vdm_shippingdate
CREATE VIEW P_SubcontrgCkptHier AS
SELECT
Material,
Plant,
Supplier,
Reservation,
ReservationItem,
RequirementType,
SuplrMatlPlnt,
MasterDataNode,
ParentNode,
HierarchyNodeLevel,
HierarchyDrillState,
PurchasingDocument,
PurchasingDocumentItem,
FormattedPurchaseOrderItem,
RequestedDeliveryDate,
Assembly,
ScheduleLineDeliveryDate,
PurchasingGroup,
PurchasingOrganization,
Batch,
SupplyingPlant,
MaterialGroup,
StorageLocation,
StillToBeDeliveredQuantity,
PurchaseOrderQuantityUnit,
StockBalanceQuantityUnit,
StockUnit,
MaterialComponentName,
PlantName,
SupplierName,
AssemblyName,
MaterialGroupName,
StorageLocationName,
SupplyingPlantName,
_ShippingStatusVH._Text[1: Language = $session.system_language].DomainText AS ShippingStatusText,
PurchasingGroupName,
PurchasingOrganizationName,
ShippingCondition,
DeliveryType,
LoadingGroup,
ProposedShippingPoint,
NumberOfItems,
PurchasingDocumentType,
PurchasingDocumentTypeName,
GoodsMovementType,
RequiredQuantity,
SpecialStockIdfgWBSElement,
InventorySpecialStockType,
CompanyCode,
AuthorizationGroup,
SupplierAccountGroup
FROM P_SubcontractingHierNodeBase
LEFT OUTER JOIN P_SubcontrgCkptHier AS _Parent ON ParentNode = _Parent.SuplrMatlPlnt AND Plant = _Parent.Plant AND Supplier = _Parent.Supplier AND Material = _Parent.Material -- association [1..1]
;
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