P_GRIRProcHistPrioChange3

DDL: P_GRIRPROCHISTPRIOCHANGE3 SQL: PGRIRHISTPRIOCH3 Type: view CONSUMPTION Package: FINS_FIS_FICO

GR/IR Process History prio change

P_GRIRProcHistPrioChange3 is a Consumption CDS View that provides data about "GR/IR Process History prio change" in SAP S/4HANA. It reads from 2 data sources (P_GRIRProcessHistoryLastChange, P_GRIRProcHistPrioChange2) and exposes 29 fields with key fields CompanyCode, PurchasingDocument, PurchasingDocumentItem, LastChangeDateTime, PurchasingDocument. Part of development package FINS_FIS_FICO.

Data Sources (2)

SourceAliasJoin Type
P_GRIRProcessHistoryLastChange P_GRIRProcessHistoryLastChange union
P_GRIRProcHistPrioChange2 P_GRIRProcHistPrioChange2 from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PGRIRHISTPRIOCH3 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label GR/IR Process History prio change view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_GRIRProcHistPrioChange2 CompanyCode Receiver Company Code
KEY PurchasingDocument P_GRIRProcHistPrioChange2 PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem P_GRIRProcHistPrioChange2 PurchasingDocumentItem Purchasing Doc. Item
KEY LastChangeDateTime P_GRIRProcHistPrioChange2 LastChangeDateTime Timestamp
GRIRClearingProcessPriority P_GRIRProcHistPrioChange2 GRIRClearingProcessPriority Priority
GRIRClrgProcNextChangeDateTime P_GRIRProcHistPrioChange2 GRIRClrgProcNextChangeDateTime
GRIRClearingProcNextPriority P_GRIRProcHistPrioChange2 GRIRClearingProcNextPriority Priority
Supplier P_GRIRProcHistPrioChange2 Supplier Supplier
Plant P_GRIRProcHistPrioChange2 Plant Valuation Area
MaterialGroup P_GRIRProcHistPrioChange2 MaterialGroup Product Group
PurchasingGroup P_GRIRProcHistPrioChange2 PurchasingGroup Purchasing Group
PurchasingOrganization P_GRIRProcHistPrioChange2 PurchasingOrganization Purchasing Organization
AccountAssignmentCategory P_GRIRProcHistPrioChange2 AccountAssignmentCategory Acct Assgmt Cat
NumberOfPurchaseOrderItems
CompanyCode Receiver Company Code
KEY PurchasingDocument P_GRIRProcessHistoryLastChange PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem P_GRIRProcessHistoryLastChange PurchasingDocumentItem Purchasing Doc. Item
KEY LastChangeDateTime P_GRIRProcessHistoryLastChange LastChangeDateTime Timestamp
GRIRClearingProcessPriority P_GRIRProcessHistoryLastChange GRIRClearingProcessPriority Priority
GRIRClrgProcNextChangeDateTime 99991231
GRIRClearingProcNextPriority Priority
Supplier P_GRIRProcessHistoryLastChange Supplier Supplier
Plant P_GRIRProcessHistoryLastChange Plant Valuation Area
MaterialGroup P_GRIRProcessHistoryLastChange MaterialGroup Product Group
PurchasingGroup P_GRIRProcessHistoryLastChange PurchasingGroup Purchasing Group
PurchasingOrganization P_GRIRProcessHistoryLastChange PurchasingOrganization Purchasing Organization
AccountAssignmentCategory P_GRIRProcessHistoryLastChange AccountAssignmentCategory Acct Assgmt Cat
NumberOfPurchaseOrderItems
GRIRClrgProcThroughputSeconds

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_GRIRProcHistPrioChange3.
-- 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: PGRIRHISTPRIOCH3

CREATE VIEW P_GRIRProcHistPrioChange3 AS
SELECT
  P_GRIRProcHistPrioChange2.CompanyCode AS CompanyCode,
  P_GRIRProcHistPrioChange2.PurchasingDocument AS PurchasingDocument,
  P_GRIRProcHistPrioChange2.PurchasingDocumentItem AS PurchasingDocumentItem,
  P_GRIRProcHistPrioChange2.LastChangeDateTime AS LastChangeDateTime,
  P_GRIRProcHistPrioChange2.GRIRClearingProcessPriority AS GRIRClearingProcessPriority,
  P_GRIRProcHistPrioChange2.GRIRClrgProcNextChangeDateTime AS GRIRClrgProcNextChangeDateTime,
  P_GRIRProcHistPrioChange2.GRIRClearingProcNextPriority AS GRIRClearingProcNextPriority,
  P_GRIRProcHistPrioChange2.Supplier AS Supplier,
  P_GRIRProcHistPrioChange2.Plant AS Plant,
  P_GRIRProcHistPrioChange2.MaterialGroup AS MaterialGroup,
  P_GRIRProcHistPrioChange2.PurchasingGroup AS PurchasingGroup,
  P_GRIRProcHistPrioChange2.PurchasingOrganization AS PurchasingOrganization,
  P_GRIRProcHistPrioChange2.AccountAssignmentCategory AS AccountAssignmentCategory,
  cast( 1 as fis_grir_no_po_items ) AS NumberOfPurchaseOrderItems,
  cast (0 as fis_grir_throughput_time) AS GRIRClrgProcThroughputSeconds
FROM P_GRIRProcHistPrioChange2
-- UNION with additional select branch(es): P_GRIRProcessHistoryLastChange
;