/trp/Cds_Ppe_Queue

DDL: /TRP/CDS_PPE_QUEUE SQL: /TRP/CDS_PPE_Q Type: view

CDS view to fetch the TRP Log.upd Staging Records

/trp/Cds_Ppe_Queue is a CDS View that provides data about "CDS view to fetch the TRP Log.upd Staging Records" in SAP S/4HANA. It reads from 1 data source (/trp/tu_staging) and exposes 23 fields with key fields RunId, TransportationUnit. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/trp/tu_staging TU1 from

Associations (2)

CardinalityTargetAliasCondition
[1] /trp/Cds_Ppe_Queue_Recent _TU2 TU1.tu_id = _TU2.tu_id and TU1.rule_id = _TU2.rule_id and TU1.start_time = _TU2.start_time
[1] /trp/Cds_Ppe_Res_Staging _Resource TU1.run_id = _Resource.run_id and TU1.tu_id = _Resource.tu_id

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName /TRP/CDS_PPE_Q view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality B view
ObjectModel.usageType.sizeCategory XL view
ObjectModel.usageType.dataClass TRANSACTIONAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS view to fetch the TRP Log.upd Staging Records view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY RunId /trp/tu_staging run_id UUID
KEY TransportationUnit /trp/tu_staging tu_id TU identifier
client mandt Editing Client
RuleId /trp/tu_staging rule_id Rule ID
starttime /trp/tu_staging start_time Time Stamp
createdon created_on Variant created on
createdby created_by Version Created By
status status Workflow Status
GroupExecutionID grp_exec_id
RuleName rule_name Symbol.Name
userId user_id User Scope
BeforeLoc before_loc_no
NewLoc new_loc_no
TRQID trq_id Document
RP rp
BeforeTime before_time Time Stamp
NewTime new_time Time Stamp
TU_UUID tu_uuid
TR_TU_UUID tr_tu_uuid
UPDATEDON updated_on Last Updated On
UPDATEDby updated_by Version Updated By
_TU2 _TU2
_Resource _Resource

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 /trp/Cds_Ppe_Queue.
-- 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: /TRP/CDS_PPE_Q

CREATE VIEW /trp/Cds_Ppe_Queue AS
SELECT
  TU1.run_id AS RunId,
  TU1.tu_id AS TransportationUnit,
  mandt AS client,
  TU1.rule_id AS RuleId,
  TU1.start_time AS starttime,
  created_on AS createdon,
  created_by AS createdby,
  status,
  grp_exec_id AS GroupExecutionID,
  rule_name AS RuleName,
  user_id AS userId,
  before_loc_no AS BeforeLoc,
  new_loc_no AS NewLoc,
  trq_id AS TRQID,
  RP,
  before_time AS BeforeTime,
  new_time AS NewTime,
  TU_UUID,
  TR_TU_UUID,
  updated_on AS UPDATEDON,
  updated_by AS UPDATEDby
FROM /trp/tu_staging AS TU1
LEFT OUTER JOIN /trp/Cds_Ppe_Queue_Recent AS _TU2 ON TU1.tu_id = _TU2.tu_id AND TU1.rule_id = _TU2.rule_id AND TU1.start_time = _TU2.start_time  -- association [1]
LEFT OUTER JOIN /trp/Cds_Ppe_Res_Staging AS _Resource ON TU1.run_id = _Resource.run_id AND TU1.tu_id = _Resource.tu_id  -- association [1]
;