C_Schagritm
Scheduling Agreement Item
C_Schagritm is a Consumption CDS View that provides data about "Scheduling Agreement Item" in SAP S/4HANA. It reads from 1 data source (I_SchedgAgrmtItm) and exposes 38 fields with key fields SchedulingAgreement, SchedulingAgreementItem. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SchedgAgrmtItm | I_SchedgAgrmtItm | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_Schagrhdr | _Schagrhdr | $projection.SchedulingAgreement = _Schagrhdr.SchedulingAgreement |
| [1..*] | I_PurchaseOrderItem | _PurOrdItem | $projection.SchedulingAgreementItem = _PurOrdItem.PurchaseOrderItem |
| [1..*] | C_SchAgrAccount | _SchAgrAccount | $projection.SchedulingAgreement = _SchAgrAccount.SchedulingAgreement and $projection.SchedulingAgreementItem = _SchAgrAccount.SchedulingAgreementItem |
| [1..*] | C_Schdline | _Schdline | $projection.SchedulingAgreement = _Schdline.SchedulingAgreement and $projection.SchedulingAgreementItem = _Schdline.SchedulingAgreementItem |
| [1..1] | C_SchAgmtDelivery | _SchDelivery | $projection.SchedulingAgreement = _SchDelivery.SchedulingAgreement and $projection.SchedulingAgreementItem = _SchDelivery.SchedulingAgreementItem |
| [1..*] | I_Schedgagrmtitmcnd | _ItemConditions | $projection.SchedulingAgreement = _ItemConditions.SchedulingAgreement and $projection.SchedulingAgreementItem = _ItemConditions.SchedulingAgreementItem |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSCHEDGAGRMTITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Scheduling Agreement Item | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingAgreement | SchedulingAgreement | Scheduling Agreement | |
| KEY | SchedulingAgreementItem | SchedulingAgreementItem | Schedule Item Number | |
| PurchasingDocumentItemCategory | PurchasingDocumentItemCategory | Item Category | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Info Record | ||
| PurgDocOrderAcknNumber | PurgDocOrderAcknNumber | Order Acknowl. | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| ManufacturerMaterial | ManufacturerMaterial | MPN: Material | ||
| PurchasingDocumentItemText | PurchasingDocumentItemText | Short Text | ||
| SupplierMaterialNumber | SupplierMaterialNumber | Supp. Mat. No. | ||
| QualityCertificateType | QualityCertificateType | |||
| Plant | Plant | Valuation Area | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| Material | Material | Vehicle Model | ||
| TargetQuantity | TargetQuantity | Target Quantity | ||
| ManualDeliveryAddressID | ManualDeliveryAddressID | Address Number | ||
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | Reference Address | ||
| Customer | Customer | Sold-to Party | ||
| ItemDeliveryAddressID | _SchDelivery | DeliveryAddressID | Address | |
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| OrderPriceUnit | I_SchedgAgrmtItm | OrderPriceUnit | Order Price Un. | |
| InternationalArticleNumber | InternationalArticleNumber | EAN/UPC | ||
| PurchaseContract | PurchaseContract | Purchasing Doc. | ||
| PurchaseContractItem | PurchaseContractItem | Item | ||
| PurchasingParentItem | PurchasingParentItem | Parent Item No | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| GrossAmount | GrossAmount | Gross value | ||
| TargetAmount | TargetAmount | Target Value | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| ManufacturerPartNmbr | ManufacturerPartNmbr | Mfr Part Number | ||
| ServicePackage | ServicePackage | Package number | ||
| _PurOrdItem | _PurOrdItem | |||
| _Schagrhdr | _Schagrhdr | |||
| _SchAgrAccount | _SchAgrAccount | |||
| _Schdline | _Schdline | |||
| _SchDelivery | _SchDelivery | |||
| _ItemConditions | _ItemConditions |
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_Schagritm.
-- 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: CSCHEDGAGRMTITEM
CREATE VIEW C_Schagritm AS
SELECT
SchedulingAgreement,
SchedulingAgreementItem,
PurchasingDocumentItemCategory,
PurchasingInfoRecord,
PurgDocOrderAcknNumber,
IncotermsClassification,
IncotermsTransferLocation,
ManufacturerMaterial,
PurchasingDocumentItemText,
SupplierMaterialNumber,
QualityCertificateType,
Plant,
OrderQuantityUnit,
Material,
TargetQuantity,
ManualDeliveryAddressID,
ReferenceDeliveryAddressID,
Customer,
_SchDelivery.DeliveryAddressID AS ItemDeliveryAddressID,
NetPriceQuantity,
I_SchedgAgrmtItm.OrderPriceUnit AS OrderPriceUnit,
InternationalArticleNumber,
PurchaseContract,
PurchaseContractItem,
PurchasingParentItem,
NetPriceAmount,
GrossAmount,
TargetAmount,
DocumentCurrency,
Manufacturer,
ManufacturerPartNmbr,
ServicePackage
FROM I_SchedgAgrmtItm
LEFT OUTER JOIN C_Schagrhdr AS _Schagrhdr ON SchedulingAgreement = _Schagrhdr.SchedulingAgreement -- association [1..1]
LEFT OUTER JOIN I_PurchaseOrderItem AS _PurOrdItem ON SchedulingAgreementItem = _PurOrdItem.PurchaseOrderItem -- association [1..*]
LEFT OUTER JOIN C_SchAgrAccount AS _SchAgrAccount ON SchedulingAgreement = _SchAgrAccount.SchedulingAgreement AND SchedulingAgreementItem = _SchAgrAccount.SchedulingAgreementItem -- association [1..*]
LEFT OUTER JOIN C_Schdline AS _Schdline ON SchedulingAgreement = _Schdline.SchedulingAgreement AND SchedulingAgreementItem = _Schdline.SchedulingAgreementItem -- association [1..*]
LEFT OUTER JOIN C_SchAgmtDelivery AS _SchDelivery ON SchedulingAgreement = _SchDelivery.SchedulingAgreement AND SchedulingAgreementItem = _SchDelivery.SchedulingAgreementItem -- association [1..1]
LEFT OUTER JOIN I_Schedgagrmtitmcnd AS _ItemConditions ON SchedulingAgreement = _ItemConditions.SchedulingAgreement AND SchedulingAgreementItem = _ItemConditions.SchedulingAgreementItem -- association [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