C_MRPOutboundDeliveryCard

DDL: C_MRPOUTBOUNDDELIVERYCARD Type: view_entity CONSUMPTION Package: ODATA_PP_MRP

Quick view for MRP Outbound Delivery

C_MRPOutboundDeliveryCard is a Consumption CDS View that provides data about "Quick view for MRP Outbound Delivery" in SAP S/4HANA. It has 3 associations to related views. It is exposed through 5 OData services (ASQL_F0246A, ASQL_F0263A, ASQL_F7681, ...). Part of development package ODATA_PP_MRP.

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_OutboundDeliveryFs _OutboundDelivery $projection.OutboundDelivery = _OutboundDelivery.OutboundDelivery
[0..1] I_MRPElementCategoryText _MRPElementCategoryText _MRPElementCategoryText.MRPElementCategory = 'VJ' and _MRPElementCategoryText.Language = $session.system_language
[0..1] I_SalesDocumentItem _SalesDocumentItem $projection.ReferenceDocument = _SalesDocumentItem.SalesDocument and $projection.ReferenceDocumentItem = _SalesDocumentItem.SalesDocumentItem

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Quick view for MRP Outbound Delivery view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view

OData Services (5)

ServiceBindingVersionContractRelease
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 (65)

KeyFieldSource TableSource FieldDescription
KEY OutboundDelivery I_MRPOutboundDelivery Delivery Delivery Status
KEY OutboundDeliveryItem I_MRPOutboundDelivery DeliveryItem
DeliveryType I_MRPOutboundDelivery DeliveryType intern./extern.
MRPPlant I_MRPOutboundDelivery MRPPlant Plant
MRPPlantName I_MRPOutboundDelivery MRPPlantName
BaseUnit I_MRPOutboundDelivery BaseUnit Unit of Measure
SalesUnit I_MRPOutboundDelivery SalesUnit Unit
DeliveredQuantityInSalesUnit I_MRPOutboundDelivery DeliveredQuantityInSalesUnit
Customer I_MRPOutboundDelivery Customer Ship-To Party
CustomerName I_MRPOutboundDelivery CustomerName Name of Customer
ContactPersonName Contact
ContactPersonPhoneNumber Phone
InternalContactEmailAddress E-Mail
DocumentDate I_MRPOutboundDelivery DocumentDate Document Date
ProductAvailabilityDate I_MRPOutboundDelivery ProductAvailabilityDate Staging Date
RequestedLoadingDate I_MRPOutboundDelivery RequestedLoadingDate Loading Date
RequestedDeliveryDate I_MRPOutboundDelivery RequestedDeliveryDate Delivery Date
DeliveredQuantityInBaseUnit I_MRPOutboundDelivery DeliveredQuantityInBaseUnit Delivery Quantity
ReferenceDocument I_MRPOutboundDelivery ReferenceDocument Sales Order Item
DeliveryPriority I_MRPOutboundDelivery DeliveryPriority Delivery Priority
DeliveryPriorityDesc I_MRPOutboundDelivery DeliveryPriorityDesc
DeliveryBlockReason I_MRPOutboundDelivery DeliveryBlockReason Delivery Blocked
DeliveryBlockReasonText I_MRPOutboundDelivery DeliveryBlockReasonText
OpenDeliveryQuantity MRP Quantity
OrderQuantityInBaseUnit I_MRPOutboundDelivery OrderQuantity Order Quantity
ReferenceDocumentItem I_MRPOutboundDelivery ReferenceDocumentItem Reference item
SalesDocumentItemText _SalesDocumentItem SalesDocumentItemText Item Descr.
ReferenceSDDocumentCategory I_MRPOutboundDelivery ReferenceSDDocumentCategory Prec.Doc.Categ.
ReferenceSDDocument I_MRPOutboundDelivery ReferenceSDDocument Reference Doc.
char18asSourceOrderName
MaterialByCustomer MaterialByCustomer Customer Material
WBSElementExternalID WBSElementExternalID WBS Element External ID
WBSDescription WBSDescription WBS Element Name
ResponsiblePerson ResponsiblePerson Responsible Person
ResponsiblePersonName ResponsiblePersonName Responsible Person Name
ProjectExternalID ProjectExternalID Project def.
ProjectDescription ProjectDescription Project Name
Material I_MRPOutboundDelivery Material Sales Document Material
MaterialName I_MRPOutboundDelivery MaterialName Material Description
MRPElementCategory
DeliveryItem0aschar30asMRPAffectedOrder
UICT_Customer
UICT_ContactPersonName
UICT_ContactPersonPhoneNumber
UICT_IntContactEmailAddress
UICT_DocumentDate
UICT_ProductAvailabilityDate
UICT_RequestedLoadingDate
UICT_RequestedDeliveryDate
UICT_DeliveredQuantInBaseUnit
UICT_ReferenceDocument
UICT_DeliveryPriority
UICT_DeliveryBlockReason
UICT_OpenDeliveryQuantity
UICT_OrderQuantityInBaseUnit
UICT_MaterialByCustomer
UICT_WBSElementExternalID
UICT_WBSDescription
UICT_ResponsiblePerson
UICT_ResponsiblePersonName
UICT_ProjectExternalID
UICT_ProjectDescription
UICT_Material
UICT_MaterialName
_OutboundDelivery _OutboundDelivery

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_MRPOutboundDeliveryCard.
-- 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_MRPOutboundDeliveryCard AS
SELECT
  I_MRPOutboundDelivery.Delivery AS OutboundDelivery,
  I_MRPOutboundDelivery.DeliveryItem AS OutboundDeliveryItem,
  I_MRPOutboundDelivery.DeliveryType AS DeliveryType,
  I_MRPOutboundDelivery.MRPPlant AS MRPPlant,
  I_MRPOutboundDelivery.MRPPlantName AS MRPPlantName,
  I_MRPOutboundDelivery.BaseUnit AS BaseUnit,
  I_MRPOutboundDelivery.SalesUnit AS SalesUnit,
  I_MRPOutboundDelivery.DeliveredQuantityInSalesUnit AS DeliveredQuantityInSalesUnit,
  I_MRPOutboundDelivery.Customer AS Customer,
  I_MRPOutboundDelivery.CustomerName AS CustomerName,
  cast('' as ad_namtext) AS ContactPersonName,
  cast('' as ad_tlnmbr1) AS ContactPersonPhoneNumber,
  cast('' as ad_smtpadr) AS InternalContactEmailAddress,
  I_MRPOutboundDelivery.DocumentDate AS DocumentDate,
  I_MRPOutboundDelivery.ProductAvailabilityDate AS ProductAvailabilityDate,
  I_MRPOutboundDelivery.RequestedLoadingDate AS RequestedLoadingDate,
  I_MRPOutboundDelivery.RequestedDeliveryDate AS RequestedDeliveryDate,
  I_MRPOutboundDelivery.DeliveredQuantityInBaseUnit AS DeliveredQuantityInBaseUnit,
  I_MRPOutboundDelivery.ReferenceDocument AS ReferenceDocument,
  I_MRPOutboundDelivery.DeliveryPriority AS DeliveryPriority,
  I_MRPOutboundDelivery.DeliveryPriorityDesc AS DeliveryPriorityDesc,
  I_MRPOutboundDelivery.DeliveryBlockReason AS DeliveryBlockReason,
  I_MRPOutboundDelivery.DeliveryBlockReasonText AS DeliveryBlockReasonText,
  cast(0 as mng01) AS OpenDeliveryQuantity,
  I_MRPOutboundDelivery.OrderQuantity AS OrderQuantityInBaseUnit,
  I_MRPOutboundDelivery.ReferenceDocumentItem AS ReferenceDocumentItem,
  _SalesDocumentItem.SalesDocumentItemText AS SalesDocumentItemText,
  I_MRPOutboundDelivery.ReferenceSDDocumentCategory AS ReferenceSDDocumentCategory,
  I_MRPOutboundDelivery.ReferenceSDDocument AS ReferenceSDDocument,
  cast ( concat( ltrim ( I_MRPOutboundDelivery.Delivery, '0' ), concat( '-', ltrim ( I_MRPOutboundDelivery.DeliveryItem, '0' ) ) ) as abap.char( 18 ) ) as SourceOrderName AS char18asSourceOrderName,
  MaterialByCustomer,
  WBSElementExternalID,
  WBSDescription,
  ResponsiblePerson,
  ResponsiblePersonName,
  ProjectExternalID,
  ProjectDescription,
  I_MRPOutboundDelivery.Material AS Material,
  I_MRPOutboundDelivery.MaterialName AS MaterialName,
  cast ( 'VJ' as delkz preserving type ) AS MRPElementCategory,
  cast( concat( _MRPElementCategoryText.MRPElementCategoryShortName, concat( '-', concat( ltrim ( I_MRPOutboundDelivery.Delivery, '0' ), concat( '-', ltrim ( I_MRPOutboundDelivery.DeliveryItem, '0' ) ) ) ) ) as char30 ) as MRPAffectedOrder AS DeliveryItem0aschar30asMRPAffectedOrder,
  cast ( case when Customer is initial then 'X' else '' end as boolean preserving type ) AS UICT_Customer,
  cast ( '' as boolean preserving type ) AS UICT_ContactPersonName,
  cast ( '' as boolean preserving type ) AS UICT_ContactPersonPhoneNumber,
  cast ( '' as boolean preserving type ) AS UICT_IntContactEmailAddress,
  cast ( case when DocumentDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_DocumentDate,
  cast ( case when ProductAvailabilityDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_ProductAvailabilityDate,
  cast ( case when RequestedLoadingDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_RequestedLoadingDate,
  cast ( case when RequestedDeliveryDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_RequestedDeliveryDate,
  cast ( case when DeliveredQuantityInBaseUnit is initial then 'X' else '' end as boolean preserving type ) AS UICT_DeliveredQuantInBaseUnit,
  cast ( case when ReferenceDocument is initial then 'X' else '' end as boolean preserving type ) AS UICT_ReferenceDocument,
  cast ( case when DeliveryPriority is initial then 'X' else '' end as boolean preserving type ) AS UICT_DeliveryPriority,
  cast ( case when deliveryblockreason is initial then 'X' else '' end as boolean preserving type ) AS UICT_DeliveryBlockReason,
  cast ( '' as boolean preserving type ) AS UICT_OpenDeliveryQuantity,
  cast ( case when OrderQuantityInBaseUnit is initial then 'X' else '' end as boolean preserving type ) AS UICT_OrderQuantityInBaseUnit,
  cast ( case when MaterialByCustomer is initial then 'X' else '' end as boolean preserving type ) AS UICT_MaterialByCustomer,
  cast ( case when WBSElementExternalID is initial then 'X' else '' end as boolean preserving type ) AS UICT_WBSElementExternalID,
  cast ( case when WBSDescription is initial then 'X' else '' end as boolean preserving type ) AS UICT_WBSDescription,
  cast ( case when ResponsiblePerson = '00000000' then 'X' else '' end as boolean preserving type ) AS UICT_ResponsiblePerson,
  cast ( case when ResponsiblePersonName is initial then 'X' else '' end as boolean preserving type ) AS UICT_ResponsiblePersonName,
  cast ( case when ProjectExternalID is initial then 'X' else '' end as boolean preserving type ) AS UICT_ProjectExternalID,
  cast ( case when ProjectDescription is initial then 'X' else '' end as boolean preserving type ) AS UICT_ProjectDescription,
  cast ( case when Material is initial then 'X' else '' end as boolean preserving type ) AS UICT_Material,
  cast ( case when MaterialName is initial then 'X' else '' end as boolean preserving type ) AS UICT_MaterialName
LEFT OUTER JOIN C_OutboundDeliveryFs AS _OutboundDelivery ON OutboundDelivery = _OutboundDelivery.OutboundDelivery  -- association [1..1]
LEFT OUTER JOIN I_MRPElementCategoryText AS _MRPElementCategoryText ON _MRPElementCategoryText.MRPElementCategory = 'VJ' AND _MRPElementCategoryText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON ReferenceDocument = _SalesDocumentItem.SalesDocument AND ReferenceDocumentItem = _SalesDocumentItem.SalesDocumentItem  -- association [0..1]
;