DHSQL_REPLICATION_PORTIONS
CDS View for replication portions
DHSQL_REPLICATION_PORTIONS is a CDS View that provides data about "CDS View for replication portions" in SAP S/4HANA. It reads from 2 data sources (DHRDB_API_PACKAGE, dhsql_replicatn) and exposes 34 fields with key fields producer_id, buffer_id, package_id, Objname, Objtype.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| DHRDB_API_PACKAGE | pack | inner |
| dhsql_replicatn | repln | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | CDS View for replication portions | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | producer_id | DHRDB_API_PACKAGE | producer_id | Registration ID |
| KEY | buffer_id | DHRDB_API_PACKAGE | buffer_id | Buffer Table ID |
| KEY | package_id | DHRDB_API_PACKAGE | package_id | Report Chain ID |
| KEY | Objname | DHRDB_API_PACKAGE | Objname | Table Name |
| KEY | Objtype | DHRDB_API_PACKAGE | Objtype | Translation OType |
| SqlServiceName | dhsql_replicatn | sql_service_name | SQL Service ID | |
| AliasName | dhsql_replicatn | alias_name | Short Description | |
| SqlServiceNameRaw | ||||
| AliasNameRaw | ||||
| CdsViewName | dhsql_replicatn | cds_view_name | STOB Name | |
| ProcessOption | dhsql_replicatn | process_option | ProcessOption | |
| Action | dhsql_replicatn | action | User action | |
| Status | dhsql_replicatn | status | Workflow Status | |
| PortionSize | dhsql_replicatn | portion_size | INT4 | |
| MaxParallelPortionLoad | dhsql_replicatn | max_parallel_portion_load | INT4 | |
| MaxParallelPortionDelta | dhsql_replicatn | max_parallel_portion_delta | INT4 | |
| Projection | dhsql_replicatn | projection | Projection Fields | |
| Filter | dhsql_replicatn | filter | KPI Filter | |
| Uname | dhsql_replicatn | uname | User Name | |
| Sappassport | dhsql_replicatn | sappassport | ||
| EppComponentType | dhsql_replicatn | epp_component_type | Component Type | |
| EppActionType | dhsql_replicatn | epp_action_type | Action Type | |
| EppAction | dhsql_replicatn | epp_action | Action | |
| CreatedAt | dhsql_replicatn | created_at | Uploaded On | |
| ChangedAt | dhsql_replicatn | changed_at | Timestamp | |
| PackageStatus | DHRDB_API_PACKAGE | Status | Workflow Status | |
| StatusTs | DHRDB_API_PACKAGE | StatusTs | Time Stamp | |
| NumberofRecords | DHRDB_API_PACKAGE | NumberofRecords | Value | |
| ProcessedRecords | DHRDB_API_PACKAGE | ProcessedRecords | ||
| ProcessedBytes | DHRDB_API_PACKAGE | ProcessedBytes | ||
| PrioReadEnabled | DHRDB_API_PACKAGE | PrioReadEnabled | Priority Read Enab | |
| PartitionId | DHRDB_API_PACKAGE | PartitionId | UUID | |
| ProducerType | DHRDB_API_PACKAGE | ProducerType | Producer Type Code | |
| ConsumerType | DHRDB_API_PACKAGE | ConsumerType | Consumer Type Code |
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 DHSQL_REPLICATION_PORTIONS.
-- 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 DHSQL_REPLICATION_PORTIONS AS
SELECT
pack.producer_id AS producer_id,
pack.buffer_id AS buffer_id,
pack.package_id AS package_id,
pack.Objname AS Objname,
pack.Objtype AS Objtype,
repln.sql_service_name AS SqlServiceName,
repln.alias_name AS AliasName,
coalesce( repls.sql_service_name_raw, repln.sql_service_name ) AS SqlServiceNameRaw,
coalesce( repls.external_entity_name_raw, repln.alias_name ) AS AliasNameRaw,
repln.cds_view_name AS CdsViewName,
repln.process_option AS ProcessOption,
repln.action AS Action,
repln.status AS Status,
repln.portion_size AS PortionSize,
repln.max_parallel_portion_load AS MaxParallelPortionLoad,
repln.max_parallel_portion_delta AS MaxParallelPortionDelta,
repln.projection AS Projection,
repln.filter AS Filter,
repln.uname AS Uname,
repln.sappassport AS Sappassport,
repln.epp_component_type AS EppComponentType,
repln.epp_action_type AS EppActionType,
repln.epp_action AS EppAction,
repln.created_at AS CreatedAt,
repln.changed_at AS ChangedAt,
pack.Status AS PackageStatus,
pack.StatusTs AS StatusTs,
pack.NumberofRecords AS NumberofRecords,
pack.ProcessedRecords AS ProcessedRecords,
pack.ProcessedBytes AS ProcessedBytes,
pack.PrioReadEnabled AS PrioReadEnabled,
pack.PartitionId AS PartitionId,
pack.ProducerType AS ProducerType,
pack.ConsumerType AS ConsumerType
FROM dhsql_replicatn AS repln
INNER JOIN DHRDB_API_PACKAGE AS pack ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA