C_Schagritm

DDL: C_SCHAGRITM SQL: CSCHEDGAGRMTITEM Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_SchedgAgrmtItm I_SchedgAgrmtItm from

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;