C_GRIRClrgProcessPrioChange

DDL: C_GRIRCLRGPROCESSPRIOCHANGE SQL: CFIGRIRPRIOCHG Type: view CONSUMPTION

GRIR Clearing Process Priority Change

C_GRIRClrgProcessPrioChange is a Consumption CDS View that provides data about "GRIR Clearing Process Priority Change" in SAP S/4HANA. It reads from 1 data source (P_GRIRProcHistPrioChange3) and exposes 18 fields with key fields CompanyCode, PurchasingDocument, PurchasingDocumentItem, LastChangeDateTime. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_GRIRProcHistPrioChange3 P_GRIRProcHistPrioChange3 from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_GRIRProcessPriorityText _GRIRProcessPriorityText $projection.GRIRClearingProcessPriority = _GRIRProcessPriorityText.GRIRClearingProcessPriority
[0..*] I_GRIRProcessPriorityText _GRIRClearingProcPriorityText $projection.GRIRClearingProcNextPriority = _GRIRClearingProcPriorityText.GRIRClearingProcessPriority
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CFIGRIRPRIOCHG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
EndUserText.label GRIR Clearing Process Priority Change view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_GRIRProcHistPrioChange3 CompanyCode Receiver Company Code
KEY PurchasingDocument P_GRIRProcHistPrioChange3 PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem P_GRIRProcHistPrioChange3 PurchasingDocumentItem Purchasing Doc. Item
KEY LastChangeDateTime
GRIRClearingProcessPriority P_GRIRProcHistPrioChange3 GRIRClearingProcessPriority Priority
GRIRClrgProcNextChangeDateTime
GRIRClearingProcNextPriority P_GRIRProcHistPrioChange3 GRIRClearingProcNextPriority
Supplier P_GRIRProcHistPrioChange3 Supplier Supplier
Plant P_GRIRProcHistPrioChange3 Plant Valuation Area
MaterialGroup P_GRIRProcHistPrioChange3 MaterialGroup Product Group
PurchasingGroup P_GRIRProcHistPrioChange3 PurchasingGroup Purchasing Group
PurchasingOrganization P_GRIRProcHistPrioChange3 PurchasingOrganization Purchasing Organization
AccountAssignmentCategory P_GRIRProcHistPrioChange3 AccountAssignmentCategory Acct Assgmt Cat
NumberOfPurchaseOrderItems NumberOfPurchaseOrderItems Number of PO Items
GRIRClrgProcThroughputSeconds GRIRClrgProcThroughputSeconds
_GRIRProcessPriorityText _GRIRProcessPriorityText
_GRIRClearingProcPriorityText _GRIRClearingProcPriorityText
_Supplier _Supplier

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_GRIRClrgProcessPrioChange.
-- 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: CFIGRIRPRIOCHG

CREATE VIEW C_GRIRClrgProcessPrioChange AS
SELECT
  P_GRIRProcHistPrioChange3.CompanyCode AS CompanyCode,
  P_GRIRProcHistPrioChange3.PurchasingDocument AS PurchasingDocument,
  P_GRIRProcHistPrioChange3.PurchasingDocumentItem AS PurchasingDocumentItem,
  cast( P_GRIRProcHistPrioChange3.LastChangeDateTime as fis_grir_lastchangedatetime) AS LastChangeDateTime,
  P_GRIRProcHistPrioChange3.GRIRClearingProcessPriority AS GRIRClearingProcessPriority,
  cast( P_GRIRProcHistPrioChange3.GRIRClrgProcNextChangeDateTime as fis_grir_nextchangedatetime) AS GRIRClrgProcNextChangeDateTime,
  P_GRIRProcHistPrioChange3.GRIRClearingProcNextPriority AS GRIRClearingProcNextPriority,
  P_GRIRProcHistPrioChange3.Supplier AS Supplier,
  P_GRIRProcHistPrioChange3.Plant AS Plant,
  P_GRIRProcHistPrioChange3.MaterialGroup AS MaterialGroup,
  P_GRIRProcHistPrioChange3.PurchasingGroup AS PurchasingGroup,
  P_GRIRProcHistPrioChange3.PurchasingOrganization AS PurchasingOrganization,
  P_GRIRProcHistPrioChange3.AccountAssignmentCategory AS AccountAssignmentCategory,
  NumberOfPurchaseOrderItems,
  GRIRClrgProcThroughputSeconds
FROM P_GRIRProcHistPrioChange3
LEFT OUTER JOIN I_GRIRProcessPriorityText AS _GRIRProcessPriorityText ON GRIRClearingProcessPriority = _GRIRProcessPriorityText.GRIRClearingProcessPriority  -- association [0..*]
LEFT OUTER JOIN I_GRIRProcessPriorityText AS _GRIRClearingProcPriorityText ON GRIRClearingProcNextPriority = _GRIRClearingProcPriorityText.GRIRClearingProcessPriority  -- association [0..*]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;