C_RFDYSalesOrderRequirement
Release for Delivery Sales Order Requirement
C_RFDYSalesOrderRequirement is a Consumption CDS View that provides data about "Release for Delivery Sales Order Requirement" in SAP S/4HANA. It reads from 1 data source (I_RFDYRequirementWithCalcFigs) and exposes 38 fields with key field RFDYRequirementUUID. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RFDYRequirementWithCalcFigs | I_RFDYRequirementWithCalcFigs | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_RFDYMaterialWithTotals | _RFDYMaterial | $projection.RFDYMaterialUUID = _RFDYMaterial.RFDYMaterialUUID |
| [0..*] | C_RFDYChangedRequirement | _RFDYChangedRequirement | $projection.RFDYRequirementUUID = _RFDYChangedRequirement.RFDYRequirementUUID |
| [1..*] | C_RFDYSalesOrderConfirmation | _RFDYSalesOrderConfirmation | $projection.RFDYRequirementUUID = _RFDYSalesOrderConfirmation.RFDYRequirementUUID |
| [1..1] | C_RFDYSalesOrderConfirmation | _RFDYSlsOrdConfWthnSelHorizon | $projection.RFDYRequirementUUID = _RFDYSlsOrdConfWthnSelHorizon.RFDYRequirementUUID and _RFDYSlsOrdConfWthnSelHorizon.IsWithinSelectionHorizon = 'X' |
| [1..*] | C_RFDYSalesOrderConfirmation | _RFDYSlsOrdConfOutwithSelHrzn | $projection.RFDYRequirementUUID = _RFDYSlsOrdConfOutwithSelHrzn.RFDYRequirementUUID and _RFDYSlsOrdConfOutwithSelHrzn.IsWithinSelectionHorizon = '' |
| [1..1] | C_RFDYSalesOrder | _RFDYSalesOrder | $projection.SalesOrder = _RFDYSalesOrder.SalesOrder |
| [1..1] | I_SalesOrderScheduleLine | _SalesOrderScheduleLine | $projection.SalesOrder = _SalesOrderScheduleLine.SalesOrder and $projection.SalesOrderItem = _SalesOrderScheduleLine.SalesOrderItem and $projection.SalesOrderScheduleLine = _SalesOrderScheduleLine.ScheduleLine |
| [0..*] | I_PostponementCategoryText | _PostponementCategoryText | $projection.PostponementCategory = _PostponementCategoryText.PostponementCategory |
| [0..1] | I_DeliveryPriority | _DeliveryPriority | $projection.deliverypriority = _DeliveryPriority.DeliveryPriority |
| [0..1] | I_SalesOrderType | _SalesOrderType | $projection.salesordertype = _SalesOrderType.SalesOrderType |
| [0..*] | C_RFDYOutboundDeliveryItem | _OutboundDeliveryItem | $projection.SalesOrder = _OutboundDeliveryItem.ReferenceSDDocument and $projection.SalesOrderItem = _OutboundDeliveryItem.ReferenceSDDocumentItem and _OutboundDeliveryItem.ReferenceSDDocumentCategory = 'C' |
| [0..*] | I_SalesDocumentTypeText | _SalesOrderTypeText | $projection.salesordertype = _SalesOrderTypeText.SalesDocumentType |
| [0..*] | I_DeliveryPriorityText | _DeliveryPriorityText | $projection.deliverypriority = _DeliveryPriorityText.DeliveryPriority |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Release for Delivery Sales Order Requirement | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RFDYRequirementUUID | RFDYRequirementUUID | Requirement ID | |
| RFDYMaterialUUID | RFDYMaterialUUID | Material ID | ||
| SalesOrder | MRP element number | |||
| SalesOrderItem | ATPRelevantDocumentItem | MRP elemnt item | ||
| SalesOrderScheduleLine | ATPRelevantDocScheduleLine | Scheduling | ||
| SupplyingStorageLocation | SupplyingStorageLocation | Location | ||
| Batch | Batch | Lot No. | ||
| ReqdProdAvailabilityUTCDateTme | ReqdProdAvailabilityUTCDateTme | Req. Mat. Avail. Dte | ||
| OrderedQuantityInBaseUnit | OrderedQuantityInBaseUnit | Order quantity | ||
| RequestedQuantityInBaseUnit | RequestedQuantityInBaseUnit | Requested Qty | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| RequestedLoadingUTCDateTime | RequestedLoadingUTCDateTime | Req. Loading Date | ||
| RequestedGoodsIssueUTCDateTime | RequestedGoodsIssueUTCDateTime | Req. Goods Issue | ||
| RequestedDeliveryUTCDateTime | RequestedDeliveryUTCDateTime | Req. Delivery Date | ||
| IsProtected | IsProtected | Is Protected | ||
| IsPostponed | IsPostponed | Is Postponed | ||
| PostponementCategory | PostponementCategory | Postponement Cat. | ||
| IsProcessable | IsProcessable | Processable | ||
| SoldToParty | ||||
| SoldToPartyName | ||||
| SalesOrderType | ||||
| SalesOrderDate | ||||
| DeliveryPriority | ||||
| _RFDYMaterial | _RFDYMaterial | |||
| _RFDYChangedRequirement | _RFDYChangedRequirement | |||
| _RFDYSalesOrderConfirmation | _RFDYSalesOrderConfirmation | |||
| _RFDYSalesOrder | _RFDYSalesOrder | |||
| _PostponementCategory | _PostponementCategory | |||
| _PostponementCategoryText | _PostponementCategoryText | |||
| _BaseUnit | _BaseUnit | |||
| _DeliveryPriority | _DeliveryPriority | |||
| _SalesOrderType | _SalesOrderType | |||
| _SalesOrderScheduleLine | _SalesOrderScheduleLine | |||
| _OutboundDeliveryItem | _OutboundDeliveryItem | |||
| _RFDYSlsOrdConfWthnSelHorizon | _RFDYSlsOrdConfWthnSelHorizon | |||
| _RFDYSlsOrdConfOutwithSelHrzn | _RFDYSlsOrdConfOutwithSelHrzn | |||
| _SalesOrderTypeText | _SalesOrderTypeText | |||
| _DeliveryPriorityText | _DeliveryPriorityText |
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_RFDYSalesOrderRequirement.
-- 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_RFDYSalesOrderRequirement AS
SELECT
RFDYRequirementUUID,
RFDYMaterialUUID,
cast(ATPRelevantDocument as vdm_sales_order preserving type) AS SalesOrder,
ATPRelevantDocumentItem AS SalesOrderItem,
ATPRelevantDocScheduleLine AS SalesOrderScheduleLine,
SupplyingStorageLocation,
Batch,
ReqdProdAvailabilityUTCDateTme,
OrderedQuantityInBaseUnit,
RequestedQuantityInBaseUnit,
BaseUnit,
RequestedLoadingUTCDateTime,
RequestedGoodsIssueUTCDateTime,
RequestedDeliveryUTCDateTime,
IsProtected,
IsPostponed,
PostponementCategory,
IsProcessable,
_SalesOrderScheduleLine._SalesOrder.SoldToParty AS SoldToParty,
_SalesOrderScheduleLine._SalesOrder._SoldToParty.CustomerName AS SoldToPartyName,
_SalesOrderScheduleLine._SalesOrder.SalesOrderType AS SalesOrderType,
_SalesOrderScheduleLine._SalesOrder.SalesOrderDate AS SalesOrderDate,
_SalesOrderScheduleLine._SalesOrderItem.DeliveryPriority AS DeliveryPriority
FROM I_RFDYRequirementWithCalcFigs
LEFT OUTER JOIN C_RFDYMaterialWithTotals AS _RFDYMaterial ON RFDYMaterialUUID = _RFDYMaterial.RFDYMaterialUUID -- association [1..1]
LEFT OUTER JOIN C_RFDYChangedRequirement AS _RFDYChangedRequirement ON RFDYRequirementUUID = _RFDYChangedRequirement.RFDYRequirementUUID -- association [0..*]
LEFT OUTER JOIN C_RFDYSalesOrderConfirmation AS _RFDYSalesOrderConfirmation ON RFDYRequirementUUID = _RFDYSalesOrderConfirmation.RFDYRequirementUUID -- association [1..*]
LEFT OUTER JOIN C_RFDYSalesOrderConfirmation AS _RFDYSlsOrdConfWthnSelHorizon ON RFDYRequirementUUID = _RFDYSlsOrdConfWthnSelHorizon.RFDYRequirementUUID AND _RFDYSlsOrdConfWthnSelHorizon.IsWithinSelectionHorizon = 'X' -- association [1..1]
LEFT OUTER JOIN C_RFDYSalesOrderConfirmation AS _RFDYSlsOrdConfOutwithSelHrzn ON RFDYRequirementUUID = _RFDYSlsOrdConfOutwithSelHrzn.RFDYRequirementUUID AND _RFDYSlsOrdConfOutwithSelHrzn.IsWithinSelectionHorizon = '' -- association [1..*]
LEFT OUTER JOIN C_RFDYSalesOrder AS _RFDYSalesOrder ON SalesOrder = _RFDYSalesOrder.SalesOrder -- association [1..1]
LEFT OUTER JOIN I_SalesOrderScheduleLine AS _SalesOrderScheduleLine ON SalesOrder = _SalesOrderScheduleLine.SalesOrder AND SalesOrderItem = _SalesOrderScheduleLine.SalesOrderItem AND SalesOrderScheduleLine = _SalesOrderScheduleLine.ScheduleLine -- association [1..1]
LEFT OUTER JOIN I_PostponementCategoryText AS _PostponementCategoryText ON PostponementCategory = _PostponementCategoryText.PostponementCategory -- association [0..*]
LEFT OUTER JOIN I_DeliveryPriority AS _DeliveryPriority ON deliverypriority = _DeliveryPriority.DeliveryPriority -- association [0..1]
LEFT OUTER JOIN I_SalesOrderType AS _SalesOrderType ON salesordertype = _SalesOrderType.SalesOrderType -- association [0..1]
LEFT OUTER JOIN C_RFDYOutboundDeliveryItem AS _OutboundDeliveryItem ON SalesOrder = _OutboundDeliveryItem.ReferenceSDDocument AND SalesOrderItem = _OutboundDeliveryItem.ReferenceSDDocumentItem AND _OutboundDeliveryItem.ReferenceSDDocumentCategory = 'C' -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentTypeText AS _SalesOrderTypeText ON salesordertype = _SalesOrderTypeText.SalesDocumentType -- association [0..*]
LEFT OUTER JOIN I_DeliveryPriorityText AS _DeliveryPriorityText ON deliverypriority = _DeliveryPriorityText.DeliveryPriority -- association [0..*]
;
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