C_DelivPerfAnlytsCardQry

DDL: C_DELIVPERFANLYTSCARDQRY SQL: CDLVPERFPOVPQRY Type: view CONSUMPTION Package: ODATA_LE_SHP_DLV_PERF

Delivery Performance Query for OVP Card

C_DelivPerfAnlytsCardQry is a Consumption CDS View that provides data about "Delivery Performance Query for OVP Card" in SAP S/4HANA. It reads from 1 data source (I_DelivPerfAnlytsCardCube) and exposes 34 fields with key fields OrderDocument, OrderDocumentItem, OrderDocumentItemInternalID, StockTransportOrder. It is used in 1 Fiori application: Overview Plant Management. Part of development package ODATA_LE_SHP_DLV_PERF.

Data Sources (1)

SourceAliasJoin Type
I_DelivPerfAnlytsCardCube I_DelivPerfAnlytsCardCube from

Parameters (1)

NameTypeDefault
P_CurrentDate syst_datum

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.sqlViewName CDLVPERFPOVPQRY view
AbapCatalog.preserveKey true view
Analytics.query true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
OData.publish true view
Metadata.allowExtensions true view
EndUserText.label Delivery Performance Query for OVP Card view

Fiori Apps (1)

App IDApp NameTypeDescription
F3020 Overview Plant Management Analytical Overview Plant Management

Overview Plant Management

Business Role: Plant Manager

The overview page Plant Management Overview shows you, at a glance, the most important KPIs and activities relevant for you right now. The information is displayed on a set of actionable cards. You can therefore focus on the most important tasks, enabling faster decisions and immediate action. The cards show you the most important information ranked according to relevance. For example, on the Stock Value by Stock Type card, you can see the total value of your material stocks in the header followed by a donut chart that shows the percentage distribution of stock type based on their values. You can use the global filter to filter the entire Overview Page Plant Management Overview by plant, for example. Depending on the specified plant, you then see stock values (by special stock type), top defective materials and so on. For graphical or analytical cards, selecting the card brings you to more detailed analytical information. To use the overview page Plant Management Overview, you require the business catalog role SAP_BCR_LO_PLANTMANAGMT_MC assigned to your user. Note this business catalog role is also included in business role SAP_BR_PLANT_MANAGER. Note Make sure to enter default user values in the filterbar for at the least the plant to make sure that results are displayed. If these requirements are met, the following cards are available on the overview page: Stock Value by Stock Type Stock Value by Special Stock Type Inspection Lots with Defects Top Defective Materials Delivery Performance

Key Features: You can customize the overview page by rearranging cards and by hiding or showing them. You can drag and drop cards to rearrange them. To hide a card, proceed as follows: In the header bar, select the User icon and select Manage Cards. Use the switch control to hide or show the relevant card. Select OK. To reset the view to the default settings, select Reset in the Manage Cards window. As mentioned above, you can also apply a filter to the displayed information, which will affect all relevant cards. For example, you can filter the content of all cards according to a specific supplier or material group. SAP delivers a filter variant that can be used immediately. It contains some predefined values for the filter bar. You can make your own variant by selecting the Select Variant dropdown arrow. You can also customize the filter by selecting Adapt Filter. This table describes the various cards that appear on the Overview Page Overview Plant Manager: Card Name Description Stock Value by Stock Type Shows you an overview of your material stocks by stock type. You can review your stock by the plants for which you are responsible. Selecting the header brings or the graphic brings you to the Stock - Multiple Materials app with the corresponding parameters. Stock Value by Special Stock Type Shows you an overview of your material stocks by special stock type. You can review your stock by the plants for which you are responsible. Selecting the header or the graphic brings you to the Stock - Multiple Materials app with the corresponding parameters. Inspection Lots with Defects Shows you inspection lots with defects within last 30 days. Selecting the header brings you to the Manage Defects app, while selecting a specific inspection lot origin brings you to defects with that inspection lot origin in the Manage Defects app. Top Defective Materials Shows you defects with total number of defective materials in the last 30 days. Selecting the header takes you to the Manage Defects app. Selecting an column also takes you to the Manage Defects app but the results are now filtered based on the corresponding materials. Delivery Performance Shows you the delivery performance in percentage. You can switch between the following time ranges: Year, Quarter, Month and Week to review the delivery performance over time. Selecting the header or the column brings you to the Delivery Performance app with the corresponding parameters.

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY OrderDocument OrderDocument
KEY OrderDocumentItem OrderDocumentItem
KEY OrderDocumentItemInternalID OrderDocumentItemInternalID
KEY StockTransportOrder STO Number
ShippingPoint ShippingPoint Shipping Point
WarehouseNumber WarehouseNumber
MaterialGroup MaterialGroup Product Group
Material Material Vehicle Model
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
SalesOffice SalesOffice Sales Office
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
Plant Supplying Plant
ReceivingPlant Receiving Plant
EarliestReqdDelivDate EarliestReqdDelivDate
EarliestPlndGIDate EarliestPlndGIDate
ReqdDelivDateYear ReqdDelivDateYear Year
ReqdDelivDateYearQuarter ReqdDelivDateYearQuarter Year Quarter
ReqdDelivDateYearMonth ReqdDelivDateYearMonth Year Month
ReqdDelivDateCalendarMonth ReqdDelivDateCalendarMonth Calendar Month
ReqdDelivDateYearWeek ReqdDelivDateYearWeek Year and Calendar Week
PlndGIDateYear PlndGIDateYear
PlndGIDateYearQuarter PlndGIDateYearQuarter
PlndGIDateYearWeek PlndGIDateYearWeek
RatioUnit RatioUnit Unit of Measure
NmbrOfDlvrdAsReqdOrderItems
NumberOfIncomingOrderItems
OrderItemsDlvrdAsReqdRatio
DlvrdAsReqdRatioCurYear
DlvrdAsReqdRatioCurQuarter
DlvrdAsReqdRatioCurMonth
DlvrdAsReqdRatioCurWeek

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_DelivPerfAnlytsCardQry.
-- 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: CDLVPERFPOVPQRY
-- Parameters: P_CurrentDate : syst_datum

CREATE VIEW C_DelivPerfAnlytsCardQry AS
SELECT
  OrderDocument,
  OrderDocumentItem,
  OrderDocumentItemInternalID,
  cast(StockTransportOrder as vdm_sto_purchase_order preserving type ) AS StockTransportOrder,
  ShippingPoint,
  WarehouseNumber,
  MaterialGroup,
  Material,
  PurchasingGroup,
  PurchasingOrganization,
  SalesOffice,
  SalesOrganization,
  DistributionChannel,
  Division,
  cast(SupplyingPlant as werks_d preserving type ) AS Plant,
  cast(ReceivingPlant as empfw preserving type) AS ReceivingPlant,
  EarliestReqdDelivDate,
  EarliestPlndGIDate,
  ReqdDelivDateYear,
  ReqdDelivDateYearQuarter,
  ReqdDelivDateYearMonth,
  ReqdDelivDateCalendarMonth,
  ReqdDelivDateYearWeek,
  PlndGIDateYear,
  PlndGIDateYearQuarter,
  PlndGIDateYearWeek,
  RatioUnit,
  cast(1 as nrof_dlvrd_as_reqd_so_items) AS NmbrOfDlvrdAsReqdOrderItems,
  cast(1 as nmbr_of_incg_sls_ord_items) AS NumberOfIncomingOrderItems,
  cast(1 as ord_itms_dlvrd_as_reqd_ratio) AS OrderItemsDlvrdAsReqdRatio,
  cast(1 as ord_itms_dlvrd_as_reqd_ratio_y) AS DlvrdAsReqdRatioCurYear,
  cast(1 as ord_itms_dlvrd_as_reqd_ratio_q) AS DlvrdAsReqdRatioCurQuarter,
  cast(1 as ord_itms_dlvrd_as_reqd_ratio_m) AS DlvrdAsReqdRatioCurMonth,
  cast(1 as ord_itms_dlvrd_as_reqd_ratio_w) AS DlvrdAsReqdRatioCurWeek
FROM I_DelivPerfAnlytsCardCube
;