P_EvtBsdErrorOrderSituation

DDL: P_EVTBSDERRORORDERSITUATION Type: view_entity COMPOSITE Package: FINS_PCC_RTPC_SIT2

Event-Based Error Order Situation

P_EvtBsdErrorOrderSituation is a Composite CDS View that provides data about "Event-Based Error Order Situation" in SAP S/4HANA. It reads from 1 data source (I_EventBasedErrorLogSituation) and exposes 16 fields with key field EventbasedProdCostgErrOrderID. It has 1 association to related views. Part of development package FINS_PCC_RTPC_SIT2.

Data Sources (1)

SourceAliasJoin Type
I_EventBasedErrorLogSituation log from

Associations (1)

CardinalityTargetAliasCondition
[0..1] R_MfgOrdSettlmtTrggrType _TrggTypeText $projection.OrderSettlementTriggerType = _TrggTypeText.OrderSettlementTriggerType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY EventbasedProdCostgErrOrderID
OrderID I_EventBasedErrorLogSituation OrderID Order ID
OrderItem I_EventBasedErrorLogSituation OrderItem
Product I_EventBasedErrorLogSituation Product Product Sold
Plant I_EventBasedErrorLogSituation Plant Valuation Area
EventBasedProdnCostRefProcess I_EventBasedErrorLogSituation EventBasedProdnCostRefProcess
EvtBsdProdnCostRefProcessName I_EventBasedErrorLogSituation EvtBsdProdnCostRefProcessName
SalesOrder I_EventBasedErrorLogSituation SalesOrder SD Document
SalesOrderItem I_EventBasedErrorLogSituation SalesOrderItem Sales Order Item
OrderSettlementTriggerType I_EventBasedErrorLogSituation OrderSettlementTriggerType
DomainValue _TrggTypeText DomainValue Lower Value
WBSElementExternalID I_EventBasedErrorLogSituation WBSElementExternalID WBS Element External ID
EventbasedProductCostgErrorID I_EventBasedErrorLogSituation EventbasedProductCostgErrorID
BusinessTransactionCategory I_EventBasedErrorLogSituation BusinessTransactionCategory Business Transaction Category
CreatedByUser I_EventBasedErrorLogSituation CreatedByUser User Name
CreationDate I_EventBasedErrorLogSituation CreationDate Time Stamp

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 P_EvtBsdErrorOrderSituation.
-- 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 P_EvtBsdErrorOrderSituation AS
SELECT
  cast( concat( concat(log.OrderID ,log.OrderItem), log.EventbasedProductCostgErrorID ) as fcoevtbsdprodcostgerrorordid) AS EventbasedProdCostgErrOrderID,
  log.OrderID AS OrderID,
  log.OrderItem AS OrderItem,
  log.Product AS Product,
  log.Plant AS Plant,
  log.EventBasedProdnCostRefProcess AS EventBasedProdnCostRefProcess,
  log.EvtBsdProdnCostRefProcessName AS EvtBsdProdnCostRefProcessName,
  log.SalesOrder AS SalesOrder,
  log.SalesOrderItem AS SalesOrderItem,
  log.OrderSettlementTriggerType AS OrderSettlementTriggerType,
  _TrggTypeText.DomainValue AS DomainValue,
  log.WBSElementExternalID AS WBSElementExternalID,
  log.EventbasedProductCostgErrorID AS EventbasedProductCostgErrorID,
  log.BusinessTransactionCategory AS BusinessTransactionCategory,
  log.CreatedByUser AS CreatedByUser,
  log.CreationDate AS CreationDate
FROM I_EventBasedErrorLogSituation AS log
LEFT OUTER JOIN R_MfgOrdSettlmtTrggrType AS _TrggTypeText ON OrderSettlementTriggerType = _TrggTypeText.OrderSettlementTriggerType  -- association [0..1]
;