R_STOSubcontractingComponentTP
Subcontracting Component for STO - TP
R_STOSubcontractingComponentTP is a Transactional CDS View that provides data about "Subcontracting Component for STO - TP" in SAP S/4HANA. It reads from 1 data source (R_STOSubcontractingComponent) and exposes 70 fields with key fields StockTransportOrder, StockTransportOrderItem, ScheduleLine, ReservationItem, RecordType. Part of development package RAP_MM_STO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_STOSubcontractingComponent | R_STOSubcontractingComponent | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | ScheduleLine | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Subcontracting Component for STO - TP | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StockTransportOrder | StockTransportOrder | STO Number | |
| KEY | StockTransportOrderItem | StockTransportOrderItem | STO Item | |
| KEY | ScheduleLine | ScheduleLine | Schedule Line | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| KEY | RecordType | RecordType | Reservation Record Type | |
| Product | Product | Product Sold | ||
| MaterialProvisionType | MaterialProvisionType | Material Provision Type | ||
| MaterialQtyToBaseQtyNmrtr | MaterialQtyToBaseQtyNmrtr | Numerator | ||
| MaterialQtyToBaseQtyDnmntr | MaterialQtyToBaseQtyDnmntr | Denominator | ||
| MaterialRevisionLevel | 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 | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| 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 | BillOfMaterialItemNumber | Item | ||
| MatlCompFreeDefinedAttribute | MatlCompFreeDefinedAttribute | Sort String | ||
| 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 | ||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _ScheduleLine | _ScheduleLine | |||
| _StockTransportOrder | _StockTransportOrder | |||
| _StockTransportOrderItem | _StockTransportOrderItem | |||
| _VariableSize1To3Unit | _VariableSize1To3Unit | |||
| _VariableSizeCompUnit | _VariableSizeCompUnit | |||
| _ProductText | _ProductText | |||
| _BaseUnitText | _BaseUnitText | |||
| _EntryUnitText | _EntryUnitText |
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_STOSubcontractingComponentTP.
-- 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_STOSubcontractingComponentTP AS
SELECT
StockTransportOrder,
StockTransportOrderItem,
ScheduleLine,
ReservationItem,
RecordType,
Product,
MaterialProvisionType,
MaterialQtyToBaseQtyNmrtr,
MaterialQtyToBaseQtyDnmntr,
MaterialRevisionLevel,
MaterialCompIsVariableSized,
MaterialComponentIsPhantomItem,
Reservation,
RequiredQuantity,
RequirementDate,
RequirementTime,
ReservationIsFinallyIssued,
BaseUnit,
QuantityInEntryUnit,
EntryUnit,
SalesOrder,
SalesOrderItem,
WBSElementInternalID,
VariableSizeItemQuantity,
VariableSizeItemUnit,
VariableSizeComponentUnit,
VariableSizeComponentQuantity,
UnitOfMeasureForSize1To3,
Size1,
Size2,
Size3,
Plant,
LatestRequirementDate,
OrderLevelValue,
OrderPathValue,
BillOfMaterialItemNumber,
MatlCompFreeDefinedAttribute,
BOMItemCategory,
IsBulkMaterialComponent,
AccountAssignmentCategory,
InventorySpecialStockType,
ConsumptionPosting,
InventorySpecialStockValnType,
DebitCreditCode,
WithdrawnQuantity,
QuantityIsFixed,
ComponentScrapInPercent,
OperationScrapInPercent,
IsNetScrap,
LeadTimeOffset,
QuantityDistributionKey,
FormulaKey,
StorageLocation,
ProductionSupplyArea,
Batch,
BOMItemDescription,
BOMItemText2,
ChangeNumber
FROM R_STOSubcontractingComponent
;
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