C_ProcmtDocSubcontrg
Subcontracting Cockpit
C_ProcmtDocSubcontrg is a Consumption CDS View that provides data about "Subcontracting Cockpit" in SAP S/4HANA. It reads from 1 data source (C_ProcmtDocSubcontrgStruc) and exposes 60 fields with key field SuplrMatlPlnt.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_ProcmtDocSubcontrgStruc | C_ProcmtDocSubcontrgStruc | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ReqdDelivDteRngeFrmDte | vdm_shippingdate | |
| P_ReqdDelivDteRngeToDte | vdm_shippingdate |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CSUBCTRG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Subcontracting Cockpit | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Analytics.query | true | view |
Fields (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SuplrMatlPlnt | _SubCtr | SuplrMatlPlnt | Supplier Material Plant |
| Material | ||||
| MatlFilterAnlytlMod | ||||
| Plant | Plant | Valuation Area | ||
| PlntFilterAnlytlMod | _SubCtr | Plant | Valuation Area | |
| Supplier | Subcontractor | Subcontractor | ||
| SuplrFilterAnlytlMod | _SubCtr | Subcontractor | Subcontractor | |
| ParentNode | _SubCtr | ParentNode | Parent Node | |
| HierarchyNodeLevel | _SubCtr | HierarchyNodeLevel | Hierarchy Node Level | |
| PurchasingDocument | Document | |||
| PurOrdFilterAnlytlMod | ||||
| PurchasingDocumentItem | _SubCtr | PurchaseOrderItem | Purchasing Document Item | |
| FormattedPurchaseOrderItem | _SubCtr | FormattedPurchaseOrderItem | Document Item | |
| RequestedDeliveryDate | Requested Delivery Date | |||
| ReqdDelivDteFilterAnlytlMod | ||||
| ShippingStatus | ||||
| ShipgStsFilterAnlytlMod | ||||
| Assembly | Pegged Reqmt | |||
| AssemblyFilterAnlytlMod | ||||
| PurchasingGroup | Purchasing Group | |||
| PurgGrpFilterAnlytlMod | ||||
| PurchasingOrganization | Purchasing Organization | |||
| PurgOrgFilterAnlytlMod | ||||
| Batch | Batch | Lot No. | ||
| BatchFilterAnlytlMod | _SubCtr | Batch | Lot No. | |
| SupplyingPlant | ||||
| MaterialGroup | MaterialGroup | Product Group | ||
| MatlGrpFilterAnlytlMod | _SubCtr | MaterialGroup | Product Group | |
| StorageLocation | StorageLocation | StorageLocation | ||
| SubcontrgOrdsNodeStorLocation | _SubCtr | StorageLocation | StorageLocation | |
| StillToBeDeliveredQuantity | _SubCtr | StillToBeDeliveredQuantity | ||
| PurchaseOrderQuantityUnit | _SubCtr | PurchaseOrderQuantityUnit | Order Unit | |
| StockBalanceQuantityUnit | _SubCtr | StockBalanceQuantityUnit | ||
| StockUnit | _SubCtr | StockUnit | ||
| DeliveryType | DeliveryType | Delivery Type To Subcontractor | ||
| SubcontrgOrdsNodeDeliveryType | _SubCtr | DeliveryType | Delivery Type To Subcontractor | |
| ProposedShippingPoint | ProposedShippingPoint | Proposed Shipping Point | ||
| SubcontrgOrdsNodePrpsdShipgPt | _SubCtr | ProposedShippingPoint | Proposed Shipping Point | |
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | Subcontractor Delivery Date | ||
| SubcontrgDeliveryDate | _SubCtr | ScheduleLineDeliveryDate | Subcontractor Delivery Date | |
| NumberOfItems | NumberOfItems | Count | ||
| LoadingGroup | LoadingGroup | Loading Group | ||
| SubcontrgOrdsNodeLoadingGroup | _SubCtr | LoadingGroup | Loading Group | |
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| PurgDocTypeFilterAnlytlMod | _SubCtr | PurchasingDocumentType | Document Type | |
| RequiredQuantity | _SubCtr | RequiredQuantity | Requirement Quantity | |
| MaterialComponentName | _SubCtr | MaterialComponentName | ||
| PlantName | _SubCtr | PlantName | Plant Name | |
| SupplierName | _SubCtr | SupplierName | Supplier Name | |
| AssemblyName | _SubCtr | AssemblyName | ||
| MaterialGroupName | _SubCtr | MaterialGroupName | prod Grp Desc. | |
| StorageLocationName | _SubCtr | StorageLocationName | Storage Loc. Name | |
| SupplyingPlantName | _SubCtr | SupplyingPlantName | Plant Name | |
| ShippingStatusText | _SubCtr | ShippingStatusText | ||
| PurchasingGroupName | _SubCtr | PurchasingGroupName | Purchasing Grp. Name | |
| PurchasingOrganizationName | _SubCtr | PurchasingOrganizationName | Purch. Org. Name | |
| PurchasingDocumentTypeName | _SubCtr | PurchasingDocumentTypeName | Description | |
| CompanyCode | _SubCtr | CompanyCode | Receiver Company Code | |
| AuthorizationGroup | _SubCtr | AuthorizationGroup | AuthorizGroup | |
| SupplierAccountGroup | _SubCtr | SupplierAccountGroup | Account group |
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 C_ProcmtDocSubcontrg.
-- 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: CSUBCTRG
-- Parameters: P_ReqdDelivDteRngeFrmDte : vdm_shippingdate, P_ReqdDelivDteRngeToDte : vdm_shippingdate
CREATE VIEW C_ProcmtDocSubcontrg AS
SELECT
_SubCtr.SuplrMatlPlnt AS SuplrMatlPlnt,
cast ( MaterialComponent as idnrk ) AS Material,
cast ( _SubCtr.MaterialComponent as idnrk ) AS MatlFilterAnlytlMod,
Plant,
_SubCtr.Plant AS PlntFilterAnlytlMod,
Subcontractor AS Supplier,
_SubCtr.Subcontractor AS SuplrFilterAnlytlMod,
_SubCtr.ParentNode AS ParentNode,
_SubCtr.HierarchyNodeLevel AS HierarchyNodeLevel,
cast (PurchaseOrder as vdm_purchaseorder ) AS PurchasingDocument,
cast (_SubCtr.PurchaseOrder as vdm_purchaseorder) AS PurOrdFilterAnlytlMod,
_SubCtr.PurchaseOrderItem AS PurchasingDocumentItem,
_SubCtr.FormattedPurchaseOrderItem AS FormattedPurchaseOrderItem,
cast ( RequestedDeliveryDate as vdm_shippingdate ) AS RequestedDeliveryDate,
cast ( _SubCtr.RequestedDeliveryDate as vdm_shippingdate ) AS ReqdDelivDteFilterAnlytlMod,
cast ( ShippingStatus as vdm_shippingstatus ) AS ShippingStatus,
cast ( _SubCtr.ShippingStatus as vdm_shippingstatus ) AS ShipgStsFilterAnlytlMod,
cast ( Assembly as bagrp ) AS Assembly,
cast ( _SubCtr.Assembly as bagrp ) AS AssemblyFilterAnlytlMod,
cast ( PurchasingGroup as mmpur_req_d_ekgrp) AS PurchasingGroup,
cast (_SubCtr.PurchasingGroup as mmpur_req_d_ekgrp ) AS PurgGrpFilterAnlytlMod,
cast ( PurchasingOrganization as ekorg_ll) AS PurchasingOrganization,
cast ( _SubCtr.PurchasingOrganization as ekorg_ll ) AS PurgOrgFilterAnlytlMod,
Batch,
_SubCtr.Batch AS BatchFilterAnlytlMod,
cast ( _SubCtr.SupplyingPlant as vdm_supplyplant ) AS SupplyingPlant,
MaterialGroup,
_SubCtr.MaterialGroup AS MatlGrpFilterAnlytlMod,
StorageLocation,
_SubCtr.StorageLocation AS SubcontrgOrdsNodeStorLocation,
_SubCtr.StillToBeDeliveredQuantity AS StillToBeDeliveredQuantity,
_SubCtr.PurchaseOrderQuantityUnit AS PurchaseOrderQuantityUnit,
_SubCtr.StockBalanceQuantityUnit AS StockBalanceQuantityUnit,
_SubCtr.StockUnit AS StockUnit,
DeliveryType,
_SubCtr.DeliveryType AS SubcontrgOrdsNodeDeliveryType,
ProposedShippingPoint,
_SubCtr.ProposedShippingPoint AS SubcontrgOrdsNodePrpsdShipgPt,
ScheduleLineDeliveryDate,
_SubCtr.ScheduleLineDeliveryDate AS SubcontrgDeliveryDate,
NumberOfItems,
LoadingGroup,
_SubCtr.LoadingGroup AS SubcontrgOrdsNodeLoadingGroup,
PurchasingDocumentType,
_SubCtr.PurchasingDocumentType AS PurgDocTypeFilterAnlytlMod,
_SubCtr.RequiredQuantity AS RequiredQuantity,
_SubCtr.MaterialComponentName AS MaterialComponentName,
_SubCtr.PlantName AS PlantName,
_SubCtr.SupplierName AS SupplierName,
_SubCtr.AssemblyName AS AssemblyName,
_SubCtr.MaterialGroupName AS MaterialGroupName,
_SubCtr.StorageLocationName AS StorageLocationName,
_SubCtr.SupplyingPlantName AS SupplyingPlantName,
_SubCtr.ShippingStatusText AS ShippingStatusText,
_SubCtr.PurchasingGroupName AS PurchasingGroupName,
_SubCtr.PurchasingOrganizationName AS PurchasingOrganizationName,
_SubCtr.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
_SubCtr.CompanyCode AS CompanyCode,
_SubCtr.AuthorizationGroup AS AuthorizationGroup,
_SubCtr.SupplierAccountGroup AS SupplierAccountGroup
FROM C_ProcmtDocSubcontrgStruc
;
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