I_SchedgAgrmtSubcontrgComp
Internal Basic View for SA Subcontracting Components
I_SchedgAgrmtSubcontrgComp is a Basic CDS View that provides data about "Internal Basic View for SA Subcontracting Components" in SAP S/4HANA. It reads from 2 data sources (I_Schedgagrmthdr, R_PurgDocSubcontrgComponent) and exposes 65 fields with key fields SchedulingAgreement, SchedulingAgreementItem, ScheduleLine, ReservationItem, RecordType. It has 3 associations to related views. Part of development package VDM_MM_PUR_SCHD.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Schedgagrmthdr | I_Schedgagrmthdr | inner |
| R_PurgDocSubcontrgComponent | R_PurgDocSubcontrgComponent | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Schedgagrmthdr | _SchedgAgrmtHdr | $projection.SchedulingAgreement = _SchedgAgrmtHdr.SchedulingAgreement |
| [1..1] | I_SchedgAgrmtItm | _SchedgAgrmtItm | $projection.SchedulingAgreement = _SchedgAgrmtItm.SchedulingAgreement and $projection.SchedulingAgreementItem = _SchedgAgrmtItm.SchedulingAgreementItem |
| [1..1] | I_Schedgline | _SchedgLine | $projection.SchedulingAgreement = _SchedgLine.SchedulingAgreement and $projection.SchedulingAgreementItem = _SchedgLine.SchedulingAgreementItem and $projection.ScheduleLine = _SchedgLine.ScheduleLine |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISAGSUBCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Internal Basic View for SA Subcontracting Components | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingAgreement | PurchasingDocument | Purchasing Document | |
| KEY | SchedulingAgreementItem | PurchasingDocumentItem | Purchasing Doc. Item | |
| KEY | ScheduleLine | ScheduleLine | Schedule Line | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| KEY | RecordType | RecordType | Reservation Record Type | |
| Reservation | Reservation | Reservation | ||
| Material | Material | Vehicle Model | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| RequirementDate | RequirementDate | Requirement Date | ||
| RequirementTime | RequirementTime | Time qty req'd | ||
| Plant | Plant | Valuation Area | ||
| LatestRequirementDate | LatestRequirementDate | Latest Requirement Date | ||
| OrderLevelValue | OrderLevelValue | Order level | ||
| OrderPathValue | OrderPathValue | Order path | ||
| BillOfMaterialItemNumber | BillOfMaterialItemNumber | Item | ||
| SortField | SortField | Sort Field | ||
| MatlCompFreeDefinedAttribute | MatlCompFreeDefinedAttribute | Sort String | ||
| BOMItemCategory | BOMItemCategory | Item Category | ||
| MaterialComponentIsPhantomItem | MaterialComponentIsPhantomItem | Phantom Item | ||
| IsBulkMaterialComponent | IsBulkMaterialComponent | Bulk material | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| InventorySpecialStockValnType | InventorySpecialStockValnType | Valuation | ||
| IsMaterialProvision | IsMaterialProvision | Mat. Prov. Ind. | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| ReservationIsFinallyIssued | ReservationIsFinallyIssued | Res Final Issue | ||
| QuantityInEntryUnit | QuantityInEntryUnit | Quantity in Unit of Entry | ||
| EntryUnit | EntryUnit | Unit of Entry | ||
| MaterialQtyToBaseQtyNmrtr | MaterialQtyToBaseQtyNmrtr | Numerator | ||
| MaterialQtyToBaseQtyDnmntr | MaterialQtyToBaseQtyDnmntr | Denominator | ||
| 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 | ||
| MaterialRevisionLevel | MaterialRevisionLevel | Revision Level | ||
| MaterialCompIsVariableSized | MaterialCompIsVariableSized | Var-Sized Item | ||
| NumberOfVariableSizeComponents | NumberOfVariableSizeComponents | |||
| VariableSizeItemQuantity | VariableSizeItemQuantity | VSI Quantity | ||
| VariableSizeComponentUnit | VariableSizeComponentUnit | VSI UoM | ||
| VariableSizeComponentQuantity | VariableSizeComponentQuantity | VSI Quantity | ||
| UnitOfMeasureForSize1To3 | UnitOfMeasureForSize1To3 | Size unit | ||
| Size1 | Size1 | Size 1 | ||
| Size2 | Size2 | Size 2 | ||
| Size3 | Size3 | Size 3 | ||
| 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 | ||
| _SchedgAgrmtHdr | _SchedgAgrmtHdr | |||
| _SchedgAgrmtItm | _SchedgAgrmtItm | |||
| _SchedgLine | _SchedgLine | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _VariableSize1To3Unit | _VariableSize1To3Unit | |||
| _VariableSizeCompUnit | _VariableSizeCompUnit | |||
| _BaseUnit | _BaseUnit | |||
| _EntryUnit | _EntryUnit |
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 I_SchedgAgrmtSubcontrgComp.
-- 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: ISAGSUBCOMP
CREATE VIEW I_SchedgAgrmtSubcontrgComp AS
SELECT
PurchasingDocument AS SchedulingAgreement,
PurchasingDocumentItem AS SchedulingAgreementItem,
ScheduleLine,
ReservationItem,
RecordType,
Reservation,
Material,
BaseUnit,
RequiredQuantity,
RequirementDate,
RequirementTime,
Plant,
LatestRequirementDate,
OrderLevelValue,
OrderPathValue,
BillOfMaterialItemNumber,
SortField,
MatlCompFreeDefinedAttribute,
BOMItemCategory,
MaterialComponentIsPhantomItem,
IsBulkMaterialComponent,
AccountAssignmentCategory,
InventorySpecialStockType,
ConsumptionPosting,
InventorySpecialStockValnType,
IsMaterialProvision,
DebitCreditCode,
ReservationIsFinallyIssued,
QuantityInEntryUnit,
EntryUnit,
MaterialQtyToBaseQtyNmrtr,
MaterialQtyToBaseQtyDnmntr,
WithdrawnQuantity,
QuantityIsFixed,
ComponentScrapInPercent,
OperationScrapInPercent,
IsNetScrap,
LeadTimeOffset,
QuantityDistributionKey,
MaterialRevisionLevel,
MaterialCompIsVariableSized,
NumberOfVariableSizeComponents,
VariableSizeItemQuantity,
VariableSizeComponentUnit,
VariableSizeComponentQuantity,
UnitOfMeasureForSize1To3,
Size1,
Size2,
Size3,
FormulaKey,
StorageLocation,
ProductionSupplyArea,
Batch,
BOMItemDescription,
BOMItemText2,
ChangeNumber
FROM R_PurgDocSubcontrgComponent
INNER JOIN I_Schedgagrmthdr ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Schedgagrmthdr AS _SchedgAgrmtHdr ON SchedulingAgreement = _SchedgAgrmtHdr.SchedulingAgreement -- association [1..1]
LEFT OUTER JOIN I_SchedgAgrmtItm AS _SchedgAgrmtItm ON SchedulingAgreement = _SchedgAgrmtItm.SchedulingAgreement AND SchedulingAgreementItem = _SchedgAgrmtItm.SchedulingAgreementItem -- association [1..1]
LEFT OUTER JOIN I_Schedgline AS _SchedgLine ON SchedulingAgreement = _SchedgLine.SchedulingAgreement AND SchedulingAgreementItem = _SchedgLine.SchedulingAgreementItem AND ScheduleLine = _SchedgLine.ScheduleLine -- 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