C_SchedAgrmtSchedLineDEX
Data Extraction for Scheduling Agreement Releases
C_SchedAgrmtSchedLineDEX (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
PurSchedgAgrmtItmScheduleLine · Sourcing & Procurement
C_SchedAgrmtSchedLineDEX is a Consumption CDS View (Fact) that provides data about "Data Extraction for Scheduling Agreement Releases" in SAP S/4HANA. It reads from 1 data source (I_SchedglineApi01) and exposes 37 fields with key fields SchedulingAgreement, SchedulingAgreementItem, ScheduleLine. It has 12 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-ANA |
| Capabilities | Data Source for Data Extraction |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
| Description | <p>These CDS views are app independent, and are available for all external consumers who want to extract the data to SAP Business Warehouse (SAP BW) or other external systems.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SchedglineApi01 | I_SchedglineApi01 | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ScheduleAgreementHdrDEX | _ScheduleAgreementHdrDEX | $projection.SchedulingAgreement = _ScheduleAgreementHdrDEX.SchedulingAgreement |
| [1..1] | C_ScheduleAgreementItemDEX | _ScheduleAgreementItemDEX | $projection.SchedulingAgreement = _ScheduleAgreementItemDEX.SchedulingAgreement and $projection.SchedulingAgreementItem = _ScheduleAgreementItemDEX.SchedulingAgreementItem |
| [1..1] | I_UnitOfMeasure | _OrderQuantityUnit | $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure |
| [0..1] | C_PurchaseRequisitionItemDEX | _PurchaseRequisitionItem | $projection.PurchaseRequisition = _PurchaseRequisitionItem.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurchaseRequisitionItem.PurchaseRequisitionItem |
| [1..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [1..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [1..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [0..1] | I_PurchasingDocumentOrigin | _PurchasingDocumentOrigin | $projection.PurchasingDocumentOrigin = _PurchasingDocumentOrigin.PurchasingDocumentOrigin |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_PurchasingDocumentType | _PurchasingDocumentType | $projection.PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType and _PurchasingDocumentType.PurchasingDocumentCategory = 'L' |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMMSCHEDGLINEDEX | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Data Extraction for Scheduling Agreement Releases | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.sapObjectNodeType.name | PurSchedgAgrmtItmScheduleLine | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_FACT | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingAgreement | SchedulingAgreement | Purchasing Document Number | |
| KEY | SchedulingAgreementItem | SchedulingAgreementItem | Item Number of Purchasing Document | |
| KEY | ScheduleLine | ScheduleLine | Delivery Schedule Line Counter | |
| DelivDateCategory | DelivDateCategory | Category of delivery date | ||
| ScheduleLineDeliveryDate | ScheduleLineDeliveryDate | Item Delivery Date | ||
| SchedLineStscDeliveryDate | SchedLineStscDeliveryDate | Statistics-Relevant Delivery Date | ||
| ScheduleLineDeliveryTime | ScheduleLineDeliveryTime | Delivery Date Time-Spot | ||
| OrderQuantityUnit | OrderQuantityUnit | Purchase Order Unit of Measure | ||
| ScheduleLineOrderQuantity | ScheduleLineOrderQuantity | Scheduled Quantity | ||
| PurchaseRequisition | PurchaseRequisition | Purchase Requisition Number | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Item number of purchase requisition | ||
| RoughGoodsReceiptQty | RoughGoodsReceiptQty | Quantity of Goods Received | ||
| ScheduleLineIsFixed | ScheduleLineIsFixed | Schedule Line is "Fixed" | ||
| PurchasingSchdLnNrOfReminders | NoOfRemindersOfScheduleLine | No. of Reminders/Expediters for Schedule Line | ||
| PrevDelivQtyOfScheduleLine | PrevDelivQtyOfScheduleLine | Previous Quantity (Delivery Schedule Lines) | ||
| SourceOfCreation | SourceOfCreation | Creation indicator (purchase requisition/schedule lines) | ||
| PurchasingDocumentOrderDate | _SchedgagrmthdrApi01 | PurchasingDocumentOrderDate | Purchasing Document Date | |
| PurchasingGroup | _SchedgagrmthdrApi01 | PurchasingGroup | Purchasing Group | |
| PurchasingOrganization | _SchedgagrmthdrApi01 | PurchasingOrganization | Purchasing Organization | |
| StorageLocation | _SchedgAgrmtItmApi01 | StorageLocation | Storage Location | |
| Supplier | _SchedgagrmthdrApi01 | Supplier | Supplier | |
| Material | _SchedgAgrmtItmApi01 | Material | Material Number | |
| PurchasingDocumentOrigin | _SchedgagrmthdrApi01 | PurchasingDocumentOrigin | Status of Purchasing Document | |
| Plant | _SchedgAgrmtItmApi01 | Plant | Valuation Area | |
| PurchasingDocumentType | _SchedgagrmthdrApi01 | PurchasingDocumentType | Purchasing Document Type | |
| _ScheduleAgreementHdrDEX | _ScheduleAgreementHdrDEX | |||
| _ScheduleAgreementItemDEX | _ScheduleAgreementItemDEX | |||
| _PurchaseRequisitionItem | _PurchaseRequisitionItem | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _StorageLocation | _StorageLocation | |||
| _Supplier | _Supplier | |||
| _Product | _Product | |||
| _PurchasingDocumentOrigin | _PurchasingDocumentOrigin | |||
| _Plant | _Plant | |||
| _PurchasingDocumentType | _PurchasingDocumentType |
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_SchedAgrmtSchedLineDEX.
-- 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: CMMSCHEDGLINEDEX
CREATE VIEW C_SchedAgrmtSchedLineDEX AS
SELECT
SchedulingAgreement,
SchedulingAgreementItem,
ScheduleLine,
DelivDateCategory,
ScheduleLineDeliveryDate,
SchedLineStscDeliveryDate,
ScheduleLineDeliveryTime,
OrderQuantityUnit,
ScheduleLineOrderQuantity,
PurchaseRequisition,
PurchaseRequisitionItem,
RoughGoodsReceiptQty,
ScheduleLineIsFixed,
NoOfRemindersOfScheduleLine AS PurchasingSchdLnNrOfReminders,
PrevDelivQtyOfScheduleLine,
SourceOfCreation,
_SchedgagrmthdrApi01.PurchasingDocumentOrderDate AS PurchasingDocumentOrderDate,
_SchedgagrmthdrApi01.PurchasingGroup AS PurchasingGroup,
_SchedgagrmthdrApi01.PurchasingOrganization AS PurchasingOrganization,
_SchedgAgrmtItmApi01.StorageLocation AS StorageLocation,
_SchedgagrmthdrApi01.Supplier AS Supplier,
_SchedgAgrmtItmApi01.Material AS Material,
_SchedgagrmthdrApi01.PurchasingDocumentOrigin AS PurchasingDocumentOrigin,
_SchedgAgrmtItmApi01.Plant AS Plant,
_SchedgagrmthdrApi01.PurchasingDocumentType AS PurchasingDocumentType
FROM I_SchedglineApi01
LEFT OUTER JOIN C_ScheduleAgreementHdrDEX AS _ScheduleAgreementHdrDEX ON SchedulingAgreement = _ScheduleAgreementHdrDEX.SchedulingAgreement -- association [1..1]
LEFT OUTER JOIN C_ScheduleAgreementItemDEX AS _ScheduleAgreementItemDEX ON SchedulingAgreement = _ScheduleAgreementItemDEX.SchedulingAgreement AND SchedulingAgreementItem = _ScheduleAgreementItemDEX.SchedulingAgreementItem -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OrderQuantityUnit ON OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN C_PurchaseRequisitionItemDEX AS _PurchaseRequisitionItem ON PurchaseRequisition = _PurchaseRequisitionItem.PurchaseRequisition AND PurchaseRequisitionItem = _PurchaseRequisitionItem.PurchaseRequisitionItem -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentOrigin AS _PurchasingDocumentOrigin ON PurchasingDocumentOrigin = _PurchasingDocumentOrigin.PurchasingDocumentOrigin -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType AND _PurchasingDocumentType.PurchasingDocumentCategory = 'L' -- 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