C_MRPSalesOrderWithoutChrgCard
Quick view for FOC Delivery
C_MRPSalesOrderWithoutChrgCard is a Consumption CDS View that provides data about "Quick view for FOC Delivery" in SAP S/4HANA. It reads from 1 data source (I_SlsOrdWthoutChrgSchedLine) and exposes 28 fields with key fields SalesOrderWithoutCharge, SalesOrderWithoutChargeItem, ScheduleLine. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SlsOrdWthoutChrgSchedLine | I_SlsOrdWthoutChrgSchedLine | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SalesDocItemCompletePartner | _ShipToParty | $projection.SalesOrderWithoutCharge = _ShipToParty.SalesDocument and $projection.SalesOrderWithoutChargeItem = _ShipToParty.SalesDocumentItem and _ShipToParty.PartnerFunction = 'WE' |
| [0..1] | I_SlsDocItemReqdDeliveryDate | _ReqdDeliveryDate | $projection.SalesOrderWithoutCharge = _ReqdDeliveryDate.SalesDocument and $projection.SalesOrderWithoutChargeItem = _ReqdDeliveryDate.SalesDocumentItem |
| [0..1] | I_MRPElementCategoryText | _MRPElementCategoryText | _MRPElementCategoryText.MRPElementCategory = 'VI' and _MRPElementCategoryText.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Quick view for FOC Delivery | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrderWithoutCharge | SalesOrderWithoutCharge | SD Document | |
| KEY | SalesOrderWithoutChargeItem | SalesOrderWithoutChargeItem | Sales Document Item | |
| KEY | ScheduleLine | ScheduleLine | Schedule Line | |
| ShipToParty | ||||
| ShipToPartyName | ||||
| SalesOrderWithoutChargeDate | _SalesOrderWithoutCharge | SalesOrderWithoutChargeDate | Document Date | |
| LoadingDate | LoadingDate | Loading Date | ||
| RequestedDeliveryDate | _ReqdDeliveryDate | RequestedDeliveryDate | Delivery Date | |
| DeliveredQuantityInBaseUnit | DeliveredQuantityInBaseUnit | Delivery Quantity | ||
| OrderQuantityUnit | _SalesOrderWithoutChargeItem | OrderQuantityUnit | Sales Unit | |
| BaseUnit | BaseUnit | Unit of Measure | ||
| char18asSourceOrderName | Sales Order Item | |||
| DeliveryBlockStatus | _SalesOrderWithoutChargeItem | DeliveryBlockStatus | Delivery Block Status | |
| DeliveryBlockStatusDesc | ||||
| OpenConfdDelivQtyInBaseUnit | OpenConfdDelivQtyInBaseUnit | MRP Quantity | ||
| OrderQuantity | _SalesOrderWithoutChargeItem | OrderQuantity | Order Quantity | |
| MaterialByCustomer | _SalesOrderWithoutChargeItem | MaterialByCustomer | Customer Material | |
| Material | _SalesOrderWithoutChargeItem | Product | Sales Document Material | |
| ProductName | Material Description | |||
| SalesOrderWithoutChargeType | _SalesOrderWithoutCharge | SalesOrderWithoutChargeType | ||
| UICT_ShipToParty | ||||
| UICT_DocumentDate | ||||
| UICT_LoadingDate | ||||
| UICT_DeliveryDate | ||||
| UICT_DeliveryQuantity | ||||
| UICT_OrderQuantity | ||||
| UICT_OpenConfdDelivQtyBaseUnit | ||||
| UICT_MaterialByCustomer |
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_MRPSalesOrderWithoutChrgCard.
-- 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_MRPSalesOrderWithoutChrgCard AS
SELECT
SalesOrderWithoutCharge,
SalesOrderWithoutChargeItem,
ScheduleLine,
cast ( _ShipToParty.Customer as kunwe ) AS ShipToParty,
cast('' as ad_namtext ) AS ShipToPartyName,
_SalesOrderWithoutCharge.SalesOrderWithoutChargeDate AS SalesOrderWithoutChargeDate,
LoadingDate,
_ReqdDeliveryDate.RequestedDeliveryDate AS RequestedDeliveryDate,
DeliveredQuantityInBaseUnit,
_SalesOrderWithoutChargeItem.OrderQuantityUnit AS OrderQuantityUnit,
BaseUnit,
cast ( concat( ltrim ( SalesOrderWithoutCharge, '0' ), concat( '-', ltrim ( SalesOrderWithoutChargeItem, '0' ) ) ) as abap.char( 18 ) ) as SourceOrderName AS char18asSourceOrderName,
_SalesOrderWithoutChargeItem.DeliveryBlockStatus AS DeliveryBlockStatus,
_SalesOrderWithoutChargeItem._DeliveryBlockStatus._Text[1: Language = $session.system_language ].DeliveryBlockStatusDesc AS DeliveryBlockStatusDesc,
OpenConfdDelivQtyInBaseUnit,
_SalesOrderWithoutChargeItem.OrderQuantity AS OrderQuantity,
_SalesOrderWithoutChargeItem.MaterialByCustomer AS MaterialByCustomer,
_SalesOrderWithoutChargeItem.Product AS Material,
_SalesOrderWithoutChargeItem._ProductText[1: Language = $session.system_language ].ProductName AS ProductName,
_SalesOrderWithoutCharge.SalesOrderWithoutChargeType AS SalesOrderWithoutChargeType,
cast ( case when _ShipToParty.Customer is initial then 'X' else '' end as boolean preserving type ) AS UICT_ShipToParty,
cast ( case when _SalesOrderWithoutCharge.SalesOrderWithoutChargeDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_DocumentDate,
cast ( case when LoadingDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_LoadingDate,
cast ( case when _ReqdDeliveryDate.RequestedDeliveryDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_DeliveryDate,
cast ( case when DeliveredQuantityInBaseUnit is initial then 'X' else '' end as boolean preserving type ) AS UICT_DeliveryQuantity,
cast ( case when _SalesOrderWithoutChargeItem.OrderQuantity is initial then 'X' else '' end as boolean preserving type ) AS UICT_OrderQuantity,
cast ( case when OpenConfdDelivQtyInBaseUnit is initial then 'X' else '' end as boolean preserving type ) AS UICT_OpenConfdDelivQtyBaseUnit,
cast ( case when _SalesOrderWithoutChargeItem.MaterialByCustomer is initial then 'X' else '' end as boolean preserving type ) AS UICT_MaterialByCustomer
FROM I_SlsOrdWthoutChrgSchedLine
LEFT OUTER JOIN I_SalesDocItemCompletePartner AS _ShipToParty ON SalesOrderWithoutCharge = _ShipToParty.SalesDocument AND SalesOrderWithoutChargeItem = _ShipToParty.SalesDocumentItem AND _ShipToParty.PartnerFunction = 'WE' -- association [0..1]
LEFT OUTER JOIN I_SlsDocItemReqdDeliveryDate AS _ReqdDeliveryDate ON SalesOrderWithoutCharge = _ReqdDeliveryDate.SalesDocument AND SalesOrderWithoutChargeItem = _ReqdDeliveryDate.SalesDocumentItem -- association [0..1]
LEFT OUTER JOIN I_MRPElementCategoryText AS _MRPElementCategoryText ON _MRPElementCategoryText.MRPElementCategory = 'VI' 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
- 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