R_POSubcontractingComponentTP
PO Subcontracting Components TP view
R_POSubcontractingComponentTP is a Transactional CDS View that provides data about "PO Subcontracting Components TP view" in SAP S/4HANA. It reads from 1 data source (R_POSubcontractingComponent) and exposes 66 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine, ReservationItem, RecordType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_POSubcontractingComponent | R_POSubcontractingComponent | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_PurchaseOrderTP | _PurchaseOrder | $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder |
| [1..1] | R_PurchaseOrderItemTP | _PurchaseOrderItem | $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | PO Subcontracting Components TP view | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| KEY | ScheduleLine | PurchaseOrderScheduleLine | Schedule Line | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| KEY | RecordType | RecordType | Reservation Record Type | |
| Material | Material | Vehicle Model | ||
| IsMaterialProvision | IsMaterialProvision | Mat. Prov. Ind. | ||
| MaterialProvisionType | MaterialProvisionType | Material Provision Type | ||
| MaterialQtyToBaseQtyNmrtr | MaterialQtyToBaseQtyNmrtr | Numerator | ||
| MaterialQtyToBaseQtyDnmntr | MaterialQtyToBaseQtyDnmntr | Denominator | ||
| MaterialRevisionLevel | Revision Level | |||
| MaterialCompIsVariableSized | MaterialCompIsVariableSized | Var-Sized Item | ||
| MaterialComponentIsPhantomItem | MaterialComponentIsPhantomItem | Phantom Item | ||
| Reservation | Reservation | Reservation | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| RequirementDate | RequirementDate | Requirement Date | ||
| RequirementTime | RequirementTime | Time qty req'd | ||
| ReservationIsFinallyIssued | ReservationIsFinallyIssued | Res Final Issue | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| QuantityInEntryUnit | QuantityInEntryUnit | Quantity in Unit of Entry | ||
| EntryUnit | EntryUnit | Unit of Entry | ||
| VariableSizeItemQuantity | VariableSizeItemQuantity | VSI Quantity | ||
| VariableSizeItemUnit | VariableSizeItemUnit | VSI unit | ||
| VariableSizeComponentUnit | VariableSizeComponentUnit | VSI UoM | ||
| VariableSizeComponentQuantity | VariableSizeComponentQuantity | VSI Quantity | ||
| UnitOfMeasureForSize1To3 | UnitOfMeasureForSize1To3 | Size unit | ||
| Size1 | Size1 | Size 1 | ||
| Size2 | Size2 | Size 2 | ||
| Size3 | Size3 | Size 3 | ||
| Plant | Plant | Valuation Area | ||
| LatestRequirementDate | LatestRequirementDate | Latest Requirement Date | ||
| OrderLevelValue | OrderLevelValue | Order level | ||
| OrderPathValue | OrderPathValue | Order path | ||
| BillOfMaterialItemNumber | Item | |||
| MatlCompFreeDefinedAttribute | SortField | Sort Field | ||
| BOMItemCategory | BOMItemCategory | Item Category | ||
| IsBulkMaterialComponent | IsBulkMaterialComponent | Bulk material | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| InventorySpecialStockValnType | InventorySpecialStockValnType | Valuation | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| WithdrawnQuantity | WithdrawnQuantity | Withdrawn Quantity | ||
| QuantityIsFixed | QuantityIsFixed | Qty. is fixed | ||
| ComponentScrapInPercent | ComponentScrapInPercent | Component Scrap | ||
| OperationScrapInPercent | OperationScrapInPercent | Operation Scrap | ||
| IsNetScrap | IsNetScrap | Net Indicator | ||
| LeadTimeOffset | LeadTimeOffset | Lead-tm offset | ||
| QuantityDistributionKey | QuantityDistributionKey | Distribution | ||
| FormulaKey | FormulaKey | VSI Formula | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| ProductionSupplyArea | ProductionSupplyArea | Supply Area | ||
| Batch | Batch | Lot No. | ||
| BOMItemDescription | BOMItemDescription | Item Text | ||
| BOMItemText2 | BOMItemText2 | Item Text | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| RequirementSegment | RequirementSegment | Req. Segment | ||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItem | _PurchaseOrderItem | |||
| _ScheduleLine | _ScheduleLine | |||
| _VariableSize1To3Unit | _VariableSize1To3Unit | |||
| _VariableSizeCompUnit | _VariableSizeCompUnit |
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 R_POSubcontractingComponentTP.
-- 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.
CREATE VIEW R_POSubcontractingComponentTP AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
PurchaseOrderScheduleLine AS ScheduleLine,
ReservationItem,
RecordType,
Material,
IsMaterialProvision,
MaterialProvisionType,
MaterialQtyToBaseQtyNmrtr,
MaterialQtyToBaseQtyDnmntr,
cast( MaterialRevisionLevel as vdm_qm_revlv preserving type ) AS MaterialRevisionLevel,
MaterialCompIsVariableSized,
MaterialComponentIsPhantomItem,
Reservation,
RequiredQuantity,
RequirementDate,
RequirementTime,
ReservationIsFinallyIssued,
BaseUnit,
QuantityInEntryUnit,
EntryUnit,
VariableSizeItemQuantity,
VariableSizeItemUnit,
VariableSizeComponentUnit,
VariableSizeComponentQuantity,
UnitOfMeasureForSize1To3,
Size1,
Size2,
Size3,
Plant,
LatestRequirementDate,
OrderLevelValue,
OrderPathValue,
cast( BillOfMaterialItemNumber as vdm_sposn preserving type ) AS BillOfMaterialItemNumber,
SortField AS MatlCompFreeDefinedAttribute,
BOMItemCategory,
IsBulkMaterialComponent,
AccountAssignmentCategory,
InventorySpecialStockType,
ConsumptionPosting,
InventorySpecialStockValnType,
DebitCreditCode,
WithdrawnQuantity,
QuantityIsFixed,
ComponentScrapInPercent,
OperationScrapInPercent,
IsNetScrap,
LeadTimeOffset,
QuantityDistributionKey,
FormulaKey,
StorageLocation,
ProductionSupplyArea,
Batch,
BOMItemDescription,
BOMItemText2,
ChangeNumber,
RequirementSegment
FROM R_POSubcontractingComponent
LEFT OUTER JOIN R_PurchaseOrderTP AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder -- association [1..1]
LEFT OUTER JOIN R_PurchaseOrderItemTP AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem -- 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