C_MRPSchedulingAgreementCard
Scheduling Agreement Quick View
C_MRPSchedulingAgreementCard is a Consumption CDS View that provides data about "Scheduling Agreement Quick View" in SAP S/4HANA. It reads from 3 data sources (I_SalesDocumentScheduleLine, I_SalesSchedgAgrmt, I_SalesSchedgAgrmtItem) and exposes 21 fields with key fields SalesSchedulingAgreement, SalesSchedulingAgreementItem, ScheduleLine. It has 2 associations to related views. It is exposed through 5 OData services (ASQL_F0246A, ASQL_F0263A, ASQL_F7681, ...). Part of development package ODATA_PP_MRP.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentScheduleLine | _SalesDocumentScheduleLine | inner |
| I_SalesSchedgAgrmt | _SchedulingAgreement | inner |
| I_SalesSchedgAgrmtItem | _SchedulingAgreementItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.SoldToParty = _Customer.Customer |
| [0..1] | I_MRPElementCategoryText | _MRPElementCategoryText | _MRPElementCategoryText.MRPElementCategory = 'VE' and _MRPElementCategoryText.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Scheduling Agreement Quick View | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
OData Services (5)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F0246A | ASQL_F0246A | C2 | NOT_RELEASED | |
| ASQL_F0263A | ASQL_F0263A | C2 | NOT_RELEASED | |
| ASQL_F7681 | ASQL_F7681 | C2 | NOT_RELEASED | |
| UI_MRPREQUIREMENT | UI_MRPREQUIREMENT | V4 | C1 | NOT_RELEASED |
| UI_MULTILEVELORDERREPORT | UI_MULTILEVELORDERREPORT | V4 | C1 | NOT_RELEASED |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesSchedulingAgreement | I_SalesSchedgAgrmtItem | SalesSchedulingAgreement | Sales Document |
| KEY | SalesSchedulingAgreementItem | I_SalesSchedgAgrmtItem | SalesSchedulingAgreementItem | Item |
| KEY | ScheduleLine | I_SalesDocumentScheduleLine | ScheduleLine | Schedule Line |
| SoldToParty | I_SalesSchedgAgrmt | SoldToParty | Sold-to Party | |
| SoldToPartyName | _Customer | CustomerName | Name of Customer | |
| SalesSchedgAgrmtDate | I_SalesSchedgAgrmt | SalesSchedgAgrmtDate | Document Date | |
| LoadingDate | I_SalesDocumentScheduleLine | LoadingDate | Loading Date | |
| RequestedDeliveryDate | I_SalesDocumentScheduleLine | RequestedDeliveryDate | Requested Delivery Date | |
| OrderQuantity | I_SalesSchedgAgrmtItem | OrderQuantity | Quantity | |
| OrderQuantityUnit | I_SalesSchedgAgrmtItem | OrderQuantityUnit | Sales Unit | |
| Material | I_SalesSchedgAgrmtItem | Product | Product Sold | |
| ProductName | ||||
| MaterialByCustomer | I_SalesSchedgAgrmtItem | MaterialByCustomer | Customer Mat. | |
| UICT_CustomerMaterialHidden | ||||
| PurchaseOrderByCustomer | I_SalesSchedgAgrmtItem | PurchaseOrderByCustomer | Purchase Order Number | |
| UICT_DeliveryIsBlocked | ||||
| DelivBlockReasonForSchedLine | I_SalesDocumentScheduleLine | DelivBlockReasonForSchedLine | Delivery Block | |
| DeliveryBlockReasonText | ||||
| UICT_DeliveryBlockReason | ||||
| DeliveredQuantityInBaseUnit | I_SalesDocumentScheduleLine | DeliveredQuantityInBaseUnit | Delivered Qty | |
| BaseUnit | I_SalesDocumentScheduleLine | BaseUnit | Unit of Measure |
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_MRPSchedulingAgreementCard.
-- 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 C_MRPSchedulingAgreementCard AS
SELECT
_SchedulingAgreementItem.SalesSchedulingAgreement AS SalesSchedulingAgreement,
_SchedulingAgreementItem.SalesSchedulingAgreementItem AS SalesSchedulingAgreementItem,
_SalesDocumentScheduleLine.ScheduleLine AS ScheduleLine,
_SchedulingAgreement.SoldToParty AS SoldToParty,
_Customer.CustomerName AS SoldToPartyName,
_SchedulingAgreement.SalesSchedgAgrmtDate AS SalesSchedgAgrmtDate,
_SalesDocumentScheduleLine.LoadingDate AS LoadingDate,
_SalesDocumentScheduleLine.RequestedDeliveryDate AS RequestedDeliveryDate,
_SchedulingAgreementItem.OrderQuantity AS OrderQuantity,
_SchedulingAgreementItem.OrderQuantityUnit AS OrderQuantityUnit,
_SchedulingAgreementItem.Product AS Material,
_SchedulingAgreementItem._Product._Text[1:Language = $session.system_language].ProductName AS ProductName,
_SchedulingAgreementItem.MaterialByCustomer AS MaterialByCustomer,
cast ( case when _SchedulingAgreementItem.MaterialByCustomer is initial then 'X' else '' end as boolean preserving type ) AS UICT_CustomerMaterialHidden,
_SchedulingAgreementItem.PurchaseOrderByCustomer AS PurchaseOrderByCustomer,
cast ( '' as abap.char( 25 ) ) AS UICT_DeliveryIsBlocked,
_SalesDocumentScheduleLine.DelivBlockReasonForSchedLine AS DelivBlockReasonForSchedLine,
_SalesDocumentScheduleLine._DelivBlockReasonForSchedLine._Text[1:Language = $session.system_language].DeliveryBlockReasonText AS DeliveryBlockReasonText,
cast ( case when _SalesDocumentScheduleLine.DelivBlockReasonForSchedLine is initial then 'X' else '' end as boolean preserving type ) AS UICT_DeliveryBlockReason,
_SalesDocumentScheduleLine.DeliveredQuantityInBaseUnit AS DeliveredQuantityInBaseUnit,
_SalesDocumentScheduleLine.BaseUnit AS BaseUnit
FROM I_SalesSchedgAgrmtItem AS _SchedulingAgreementItem
INNER JOIN I_SalesSchedgAgrmt AS _SchedulingAgreement ON /* join condition not captured in parsed metadata */
INNER JOIN I_SalesDocumentScheduleLine AS _SalesDocumentScheduleLine ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer AS _Customer ON SoldToParty = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_MRPElementCategoryText AS _MRPElementCategoryText ON _MRPElementCategoryText.MRPElementCategory = 'VE' AND _MRPElementCategoryText.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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