DHADM_MON_PortionOverview

DDL: DHADM_MON_PORTIONOVERVIEW Type: view_entity

Portion overview

DHADM_MON_PortionOverview is a CDS View that provides data about "Portion overview" in SAP S/4HANA. It reads from 3 data sources (DHADM_MON_PortionStatusText, DHADM_MON_ObjStoragePointer, DHADM_MON_ObjStorageStatistics) and exposes 15 fields with key fields AcpId, SubscriberId, ObjectType, ObjectName, StoragePointer.

Data Sources (3)

SourceAliasJoin Type
DHADM_MON_PortionStatusText p_text left_outer
DHADM_MON_ObjStoragePointer t1 from
DHADM_MON_ObjStorageStatistics t2 left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Portion overview view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY AcpId DHADM_MON_ObjStoragePointer acp_id Access Plan ID
KEY SubscriberId DHADM_MON_ObjStoragePointer subscriber_id Subscriber ID
KEY ObjectType DHADM_MON_ObjStoragePointer objtype Translation OType
KEY ObjectName DHADM_MON_ObjStoragePointer objname Table Name
KEY StoragePointer DHADM_MON_ObjStoragePointer storage_ptr RT Storage Pointer
KEY StorageId DHADM_MON_ObjStorageStatistics storage_id Storage ID
PortionId
TotalRecords DHADM_MON_ObjStorageStatistics total_records Total count
TotalBytes DHADM_MON_ObjStorageStatistics total_bytes INT4
Status DHADM_MON_ObjStorageStatistics status Workflow Status
StatusText DHADM_MON_PortionStatusText Text User Group
StatusTimestamp DHADM_MON_ObjStorageStatistics status_timestamp Time Stamp
TransferTime
TransferStart DHADM_MON_ObjStorageStatistics transfer_start
TransferEnd DHADM_MON_ObjStorageStatistics transfer_end

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 DHADM_MON_PortionOverview.
-- 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.

CREATE VIEW DHADM_MON_PortionOverview AS
SELECT
  t1.acp_id AS AcpId,
  t1.subscriber_id AS SubscriberId,
  t1.objtype AS ObjectType,
  t1.objname AS ObjectName,
  t1.storage_ptr AS StoragePointer,
  t2.storage_id AS StorageId,
  cast(right(t2.storage_id, 6) as dhcdc_rt_acp_portion_id) AS PortionId,
  t2.total_records AS TotalRecords,
  t2.total_bytes AS TotalBytes,
  t2.status AS Status,
  p_text.Text AS StatusText,
  t2.status_timestamp AS StatusTimestamp,
  utcl_seconds_between(t2.transfer_start, t2.transfer_end) AS TransferTime,
  t2.transfer_start AS TransferStart,
  t2.transfer_end AS TransferEnd
FROM DHADM_MON_ObjStoragePointer AS t1
LEFT OUTER JOIN DHADM_MON_ObjStorageStatistics AS t2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN DHADM_MON_PortionStatusText AS p_text ON /* join condition not captured in parsed metadata */
;