P_GRIRProcHistRespUserChange3

DDL: P_GRIRPROCHISTRESPUSERCHANGE3 SQL: PGRIRHISTRPUSCH3 Type: view CONSUMPTION

GR/IR Process History resp user change

P_GRIRProcHistRespUserChange3 is a Consumption CDS View that provides data about "GR/IR Process History resp user change" in SAP S/4HANA. It reads from 2 data sources (P_GRIRProcessHistoryLastChange, P_GRIRProcHistRespUserChange2) and exposes 29 fields with key fields CompanyCode, PurchasingDocument, PurchasingDocumentItem, LastChangeDateTime, PurchasingDocument.

Data Sources (2)

SourceAliasJoin Type
P_GRIRProcessHistoryLastChange P_GRIRProcessHistoryLastChange union
P_GRIRProcHistRespUserChange2 P_GRIRProcHistRespUserChange2 from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PGRIRHISTRPUSCH3 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 resp user change view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_GRIRProcHistRespUserChange2 CompanyCode Receiver Company Code
KEY PurchasingDocument P_GRIRProcHistRespUserChange2 PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem P_GRIRProcHistRespUserChange2 PurchasingDocumentItem Purchasing Doc. Item
KEY LastChangeDateTime P_GRIRProcHistRespUserChange2 LastChangeDateTime Timestamp
GRIRClrgProcessResponsibleUser P_GRIRProcHistRespUserChange2 GRIRClrgProcessResponsibleUser Processor
GRIRClrgProcNextChangeDateTime P_GRIRProcHistRespUserChange2 GRIRClrgProcNextChangeDateTime
GRIRClrgProcNextResponsibleUsr P_GRIRProcHistRespUserChange2 GRIRClrgProcNextResponsibleUsr Processor
Supplier P_GRIRProcHistRespUserChange2 Supplier Supplier
Plant P_GRIRProcHistRespUserChange2 Plant Valuation Area
MaterialGroup P_GRIRProcHistRespUserChange2 MaterialGroup Product Group
PurchasingGroup P_GRIRProcHistRespUserChange2 PurchasingGroup Purchasing Group
PurchasingOrganization P_GRIRProcHistRespUserChange2 PurchasingOrganization Purchasing Organization
AccountAssignmentCategory P_GRIRProcHistRespUserChange2 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
GRIRClrgProcessResponsibleUser P_GRIRProcessHistoryLastChange ResponsiblePerson Processor
GRIRClrgProcNextChangeDateTime 99991231
GRIRClrgProcNextResponsibleUsr Processor
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_GRIRProcHistRespUserChange3.
-- 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: PGRIRHISTRPUSCH3

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