P_PHRPRqItmSimlnLog

DDL: P_PHRPRQITMSIMLNLOG Type: view_entity CONSUMPTION

Log for procurement hub PR

P_PHRPRqItmSimlnLog is a Consumption CDS View that provides data about "Log for procurement hub PR" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocSimulationJob, I_PurchasingDocSimulationLog) and exposes 11 fields with key fields SimulationJobUUID, ProcurementHubSourceSystem.

Data Sources (2)

SourceAliasJoin Type
I_PurchasingDocSimulationJob SimlnJob inner
I_PurchasingDocSimulationLog SimlnLog from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Log for procurement hub PR view
VDM.private true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SimulationJobUUID I_PurchasingDocSimulationLog SimulationJobUUID WorklistID
KEY ProcurementHubSourceSystem I_PurchasingDocSimulationJob ProcurementHubSourceSystem Connected System ID
PurchasingDocument I_PurchasingDocSimulationLog PurchasingDocument Purchasing Document
PurchasingDocumentItem I_PurchasingDocSimulationLog PurchasingDocumentItem Purchasing Doc. Item
SystemMessageNumber I_PurchasingDocSimulationLog SystemMessageNumber Message Number
SystemMessageIdentification I_PurchasingDocSimulationLog SystemMessageIdentification Message ID
SystemMessageType I_PurchasingDocSimulationLog SystemMessageType Message type
SystemMessageVariable1 I_PurchasingDocSimulationLog SystemMessageVariable1 Variable 1
SystemMessageVariable2 I_PurchasingDocSimulationLog SystemMessageVariable2 Variable 2
SystemMessageVariable3 I_PurchasingDocSimulationLog SystemMessageVariable3 Variable 3
SystemMessageVariable4 I_PurchasingDocSimulationLog SystemMessageVariable4 Variable 4

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_PHRPRqItmSimlnLog.
-- 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_PHRPRqItmSimlnLog AS
SELECT
  SimlnLog.SimulationJobUUID AS SimulationJobUUID,
  SimlnJob.ProcurementHubSourceSystem AS ProcurementHubSourceSystem,
  SimlnLog.PurchasingDocument AS PurchasingDocument,
  SimlnLog.PurchasingDocumentItem AS PurchasingDocumentItem,
  SimlnLog.SystemMessageNumber AS SystemMessageNumber,
  SimlnLog.SystemMessageIdentification AS SystemMessageIdentification,
  SimlnLog.SystemMessageType AS SystemMessageType,
  SimlnLog.SystemMessageVariable1 AS SystemMessageVariable1,
  SimlnLog.SystemMessageVariable2 AS SystemMessageVariable2,
  SimlnLog.SystemMessageVariable3 AS SystemMessageVariable3,
  SimlnLog.SystemMessageVariable4 AS SystemMessageVariable4
FROM I_PurchasingDocSimulationLog AS SimlnLog
INNER JOIN I_PurchasingDocSimulationJob AS SimlnJob ON /* join condition not captured in parsed metadata */
;