C_SubcontrgOrdItemMntr
Monitor Subcontracting Documents
C_SubcontrgOrdItemMntr is a Consumption CDS View that provides data about "Monitor Subcontracting Documents" in SAP S/4HANA. It reads from 1 data source (P_SubcontrgOrdItemMntr) and exposes 63 fields with key fields PurchasingDocument, PurchasingDocumentItem. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SubcontrgOrdItemMntr | P_SubcontrgOrdItemMntr | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_MM_AccountAssignCatValueHelp | _AccAssignValHelp | $projection.AccountAssignmentCategory = _AccAssignValHelp.AccountAssignmentCategory |
| [0..*] | I_PurchasingCategoryMatlGroup | _PurchasingCategoryMatlGroup | $projection.MaterialGroup = _PurchasingCategoryMatlGroup.MaterialGroup |
| [0..1] | I_MRPArea | _MRPAreaText | $projection.MRPArea = _MRPAreaText.MRPArea |
| [0..1] | I_ProcmtShippingStatusText | _DeliveryStatusText | _DeliveryStatusText.DeliveryStatus = $projection.DeliveryStatus and _DeliveryStatusText.Language = $session.system_language |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_Supplier | _Supplier | $projection.Subcontractor = _Supplier.Supplier |
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_MaterialGroupText | _MaterialGrp | $projection.MaterialGroup = _MaterialGrp.MaterialGroup and _MaterialGrp.Language = $session.system_language |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_PurchasingOrganization | _PurchasingOrg | $projection.PurchasingOrganization = _PurchasingOrg.PurchasingOrganization |
| [0..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.StorageLocation = _StorageLocation.StorageLocation and $projection.Plant = _StorageLocation.Plant association[0..*] to I_ReservationItem as _ReservationItem on $projection.PurchasingDocument = _ReservationItem.PurchasingDocument and $projection.PurchasingDocumentItem = _ReservationItem.PurchasingDocumentItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSUBCTRORDMNTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Monitor Subcontracting Documents | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| UI.headerInfo.typeName | Purchasing Document Item | view | |
| UI.headerInfo.typeNamePlural | Purchasing Document Items | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | PurchasingDocument | Purchasing Document | |
| KEY | PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | |
| FormattedPurchasingDocItem | FormattedPurchasingDocItem | |||
| PurchasingDocumentItemText | PurchasingDocumentItemText | Item Description | ||
| Assembly | Assembly | Pegged Reqmt | ||
| AssemblyName | AssemblyName | |||
| Plant | Plant | Valuation Area | ||
| Subcontractor | Subcontractor | Supplier | ||
| SubcontractorName | _Supplier | SupplierName | Supplier Name | |
| MaterialGroup | MaterialGroup | Product Group | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| PurgCatName | ||||
| RequirementTracking | RequirementTracking | Tracking Number | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentCategoryName | PurchasingDocumentCategoryName | Short Description | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| PurchasingDocumentTypeName | PurchasingDocumentTypeName | Description | ||
| Status | SchedAgrmtValidityStatus | Validity Status | ||
| StatusDescription | StatusDescription | |||
| PurchaseOrderType | PurchaseOrderType | PO Type | ||
| PurchaseOrderTypeName | PurchaseOrderTypeName | Description | ||
| DeliveryStatus | DeliveryStatus | Delivery Status | ||
| DeliveryStatusDescription | _DeliveryStatusText | DomainText | Short Description | |
| ShippingStatus | ShippingStatus | |||
| ShippingStatusText | ShippingStatusText | |||
| Material | MaterialComponent | Material | ||
| Supplier | Supplier | Supplier | ||
| ValidityStartDate | ValidityStartDate | Valid From | ||
| ValidityEndDate | ValidityEndDate | Valid To | ||
| OrderQuantity | OrderQuantity | Order Quantity | ||
| NetAmount | NetAmount | Net Order Value | ||
| TargetAmount | TargetAmount | Target Value | ||
| ReleasedQuantity | ReleasedQuantity | Released Quantity | ||
| ReleasedAmount | ReleasedAmount | Released Value | ||
| GoodsReceiptQty | GoodsReceiptQty | Quantity | ||
| GoodsReceiptAmountInCoCodeCrcy | GoodsReceiptAmountInCoCodeCrcy | |||
| StillToBeDeliveredQuantity | StillToBeDeliveredQuantity | |||
| StillToBeDeliveredValue | StillToBeDeliveredValue | |||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | Delivery Date | ||
| OpenPurchaseOrderQuantity | OpenPurchaseOrderQuantity | Open Purchase Order Quantity | ||
| RequirementDate | RequirementDate | Requirement Date | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| SupplierIsSubcontractor | SupplierIsSubcontractor | SC Supplier | ||
| DifferenceInDays | DifferenceInDays | |||
| MRPArea | MRPArea | MRP Area | ||
| MRPAreaText | _MRPAreaText | MRPAreaText | ||
| _Plant | _Plant | |||
| _Supplier | _Supplier | |||
| _Material | _Material | |||
| _MaterialGrp | _MaterialGrp | |||
| _CompanyCode | _CompanyCode | |||
| _PurchasingOrg | _PurchasingOrg | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _StorageLocation | _StorageLocation | |||
| _AccAssignValHelp | _AccAssignValHelp | |||
| _ReservationItem | _ReservationItem |
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_SubcontrgOrdItemMntr.
-- 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: CSUBCTRORDMNTR
CREATE VIEW C_SubcontrgOrdItemMntr AS
SELECT
PurchasingDocument,
PurchasingDocumentItem,
FormattedPurchasingDocItem,
PurchasingDocumentItemText,
Assembly,
AssemblyName,
Plant,
Subcontractor,
_Supplier.SupplierName AS SubcontractorName,
MaterialGroup,
AccountAssignmentCategory,
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
StorageLocation,
_PurchasingCategoryMatlGroup._PurchasingCategory.PurgCatName AS PurgCatName,
RequirementTracking,
PurchasingDocumentCategory,
PurchasingDocumentCategoryName,
PurchasingDocumentType,
PurchasingDocumentTypeName,
SchedAgrmtValidityStatus AS Status,
StatusDescription,
PurchaseOrderType,
PurchaseOrderTypeName,
DeliveryStatus,
_DeliveryStatusText.DomainText AS DeliveryStatusDescription,
ShippingStatus,
ShippingStatusText,
MaterialComponent AS Material,
Supplier,
ValidityStartDate,
ValidityEndDate,
OrderQuantity,
NetAmount,
TargetAmount,
ReleasedQuantity,
ReleasedAmount,
GoodsReceiptQty,
GoodsReceiptAmountInCoCodeCrcy,
StillToBeDeliveredQuantity,
StillToBeDeliveredValue,
ScheduleLineDeliveryDate,
OpenPurchaseOrderQuantity,
RequirementDate,
RequiredQuantity,
DocumentCurrency,
BaseUnit,
PurchaseOrderQuantityUnit,
SupplierIsSubcontractor,
DifferenceInDays,
MRPArea,
_MRPAreaText.MRPAreaText AS MRPAreaText
FROM P_SubcontrgOrdItemMntr
LEFT OUTER JOIN C_MM_AccountAssignCatValueHelp AS _AccAssignValHelp ON AccountAssignmentCategory = _AccAssignValHelp.AccountAssignmentCategory -- association [0..1]
LEFT OUTER JOIN I_PurchasingCategoryMatlGroup AS _PurchasingCategoryMatlGroup ON MaterialGroup = _PurchasingCategoryMatlGroup.MaterialGroup -- association [0..*]
LEFT OUTER JOIN I_MRPArea AS _MRPAreaText ON MRPArea = _MRPAreaText.MRPArea -- association [0..1]
LEFT OUTER JOIN I_ProcmtShippingStatusText AS _DeliveryStatusText ON _DeliveryStatusText.DeliveryStatus = DeliveryStatus AND _DeliveryStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Subcontractor = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGrp ON MaterialGroup = _MaterialGrp.MaterialGroup AND _MaterialGrp.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrg ON PurchasingOrganization = _PurchasingOrg.PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON StorageLocation = _StorageLocation.StorageLocation AND Plant = _StorageLocation.Plant association[0..*] to I_ReservationItem as _ReservationItem on PurchasingDocument = _ReservationItem.PurchasingDocument AND PurchasingDocumentItem = _ReservationItem.PurchasingDocumentItem -- association [0..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