/APE/C_PROC_HDR_WITH_CONFIG

DDL: /APE/C_PROC_HDR_WITH_CONFIG SQL: /APE/C_PROCHDRCG Type: view CONSUMPTION

Process Header

/APE/C_PROC_HDR_WITH_CONFIG is a Consumption CDS View that provides data about "Process Header" in SAP S/4HANA. It reads from 1 data source (/APE/C_ProcDataHeader) and exposes 24 fields with key field proc_uuid. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/APE/C_ProcDataHeader /APE/C_ProcDataHeader from

Associations (1)

CardinalityTargetAliasCondition
[1..1] /APE/C_Process _proc $projection.proc_config_uuid = _proc.config_key

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName /APE/C_PROCHDRCG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Process Header view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY proc_uuid proc_uuid UUID
proc_doc_no proc_doc_no
proc_status proc_status Work Item ID
proc_date
status_date
blocked blocked Complaint Locked
test test Test
bo_type bo_type SOT Name
bo_uuid bo_uuid
auth_grp auth_grp AuthorizGroup
client_uuid client_uuid
com_acc_uuid com_acc_uuid
owner_uuid owner_uuid
doc_tags doc_tags
archived archived Indicators
create_date
change_date
proc_id proc_id Processing
proc_cluster proc_cluster
version version XML Vers.
locked _proc locked TRUE
compressed compressed Compressed father
log_level log_level Problem Class
_proc _proc

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 /APE/C_PROC_HDR_WITH_CONFIG.
-- 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: /APE/C_PROCHDRCG

CREATE VIEW /APE/C_PROC_HDR_WITH_CONFIG AS
SELECT
  proc_uuid,
  proc_doc_no,
  proc_status,
  tstmp_to_dats(proc_date, 'UTC', $session.client, 'NULL' ) AS proc_date,
  tstmp_to_dats(status_timestmp, 'UTC', $session.client, 'NULL' ) AS status_date,
  blocked,
  test,
  bo_type,
  bo_uuid,
  auth_grp,
  client_uuid,
  com_acc_uuid,
  owner_uuid,
  doc_tags,
  archived,
  tstmp_to_dats(created_at, 'UTC', $session.client, 'NULL' ) AS create_date,
  tstmp_to_dats(changed_at, 'UTC', $session.client, 'NULL' ) AS change_date,
  proc_id,
  proc_cluster,
  version,
  _proc.locked AS locked,
  compressed,
  log_level
FROM /APE/C_ProcDataHeader
LEFT OUTER JOIN /APE/C_Process AS _proc ON proc_config_uuid = _proc.config_key  -- association [1..1]
;