P_EventBasedWIPLogHeaderData

DDL: P_EVENTBASEDWIPLOGHEADERDATA SQL: PEBWORDLOGHD Type: view BASIC Package: FINS_PCC_RTPC

Event-Based WIP Order Appliation Log Header Data

P_EventBasedWIPLogHeaderData is a Basic CDS View that provides data about "Event-Based WIP Order Appliation Log Header Data" in SAP S/4HANA. It reads from 1 data source (balhdr) and exposes 11 fields with key field LogNumber. It has 1 association to related views. Part of development package FINS_PCC_RTPC.

Data Sources (1)

SourceAliasJoin Type
balhdr _log from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_DomainFixedValueText _DomainFixedValueText _DomainFixedValueText.SAPDataDictionaryDomain = 'FCO_EBW_REFERENCE_TRANSACTION' and _DomainFixedValueText.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PEBWORDLOGHD view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.representativeKey LogNumber view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY LogNumber lognumber UUID
LogHandle log_handle Migration Log Handle
LogMessageText
ApplicationLogObject object TRFM Object
ApplicationLogSubobject subobject Triggering obj.
EvtBsdOrdRefTransText _DomainFixedValueText DomainText Short Description
CreatedByUser aluser User
CreationDate aldate Date
CreationTime altime Time
OrderID
ControllingObject Standard text

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_EventBasedWIPLogHeaderData.
-- 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: PEBWORDLOGHD

CREATE VIEW P_EventBasedWIPLogHeaderData AS
SELECT
  LogNumber,
  log_handle AS LogHandle,
  cast( '' as fco_ebw_log_text) AS LogMessageText,
  object AS ApplicationLogObject,
  subobject AS ApplicationLogSubobject,
  _DomainFixedValueText.DomainText AS EvtBsdOrdRefTransText,
  aluser AS CreatedByUser,
  aldate AS CreationDate,
  altime AS CreationTime,
  cast(SUBSTRING(altext,3, 12 ) as aufnr ) AS OrderID,
  cast(altext as j_objnr ) AS ControllingObject
FROM balhdr AS _log
LEFT OUTER JOIN I_DomainFixedValueText AS _DomainFixedValueText ON _DomainFixedValueText.SAPDataDictionaryDomain = 'FCO_EBW_REFERENCE_TRANSACTION' AND _DomainFixedValueText.Language = $session.system_language  -- association [1..1]
;