SRFD_ReportCategoryActivity
Report Category Activity with Extension
SRFD_ReportCategoryActivity is a CDS View that provides data about "Report Category Activity with Extension" in SAP S/4HANA. It reads from 4 data sources (srf_rep_cat_aatr, srf_rep_cat_aatr, srf_rep_cat, srf_rep_cat) and exposes 35 fields with key fields ReportCategoryId, ReportCategoryVersion, ActivityId, ReportCategoryVersion, ActivityId. Part of development package GLO_GEN_SRF_AUTHORING.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| srf_rep_cat_aatr | _continuousSubmission | left_outer |
| srf_rep_cat_aatr | _continuousSubmission | left_outer |
| srf_rep_cat | cat | from |
| srf_rep_cat | cat | union_all |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Report Category Activity with Extension | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ReportCategoryId | srf_rep_cat | rep_cat_id | Report ID |
| KEY | ReportCategoryVersion | srf_rep_cat | rep_cat_version | Category Version |
| KEY | ActivityId | act | activity_id | IMG Activity |
| InternalReportCategoryId | srf_rep_cat | rep_cat_id | Report ID | |
| InheritedActivity | ||||
| ActivityType | act | activity_type | Inward/Outward Acty | |
| ActivityPhase | act | activity_phase | Phase | |
| ValidFrom | act | valid_from | Validity Start Time | |
| ValidFromEarliest | act | valid_from_earliest | Earliest Date | |
| ValidTo | act | valid_to | Validity End Time | |
| ReportId | act | report_id | Report ID | |
| SubmissionMode | act | submission_mode | Submission Mode | |
| ActivityPredecessor | act | activity_predecessor | Activity ID | |
| CanBeReopened | act | can_be_reopened | Reopen | |
| ApplicationId | act | application_id | Universal Unique ID | |
| ActivityGroup | act | activity_group | Activity Group | |
| TemplateType | srf_rep_cat | template_type | Template Type | |
| extended_rep_cat_idasReportCategoryId | ||||
| KEY | ReportCategoryVersion | srf_rep_cat | rep_cat_version | Category Version |
| KEY | ActivityId | act | activity_id | IMG Activity |
| InternalReportCategoryId | srf_rep_cat | rep_cat_id | Report ID | |
| InheritedActivity | ||||
| ActivityType | act | activity_type | Inward/Outward Acty | |
| ActivityPhase | act | activity_phase | Phase | |
| ValidFrom | act | valid_from | Validity Start Time | |
| ValidFromEarliest | act | valid_from_earliest | Earliest Date | |
| ValidTo | act | valid_to | Validity End Time | |
| ReportId | act | report_id | Report ID | |
| SubmissionMode | act | submission_mode | Submission Mode | |
| ActivityPredecessor | act | activity_predecessor | Activity ID | |
| CanBeReopened | act | can_be_reopened | Reopen | |
| ApplicationId | act | application_id | Universal Unique ID | |
| ActivityGroup | act | activity_group | Activity Group | |
| TemplateType | srf_rep_cat | template_type | Template Type | |
| ContinuousSubmissionActive | srf_rep_cat_aatr | attribute_value | Rnd.Attr. Value |
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 SRFD_ReportCategoryActivity.
-- 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 SRFD_ReportCategoryActivity AS
SELECT
cat.rep_cat_id AS ReportCategoryId,
cat.rep_cat_version AS ReportCategoryVersion,
act.activity_id AS ActivityId,
cat.rep_cat_id AS InternalReportCategoryId,
' ' AS InheritedActivity,
act.activity_type AS ActivityType,
act.activity_phase AS ActivityPhase,
act.valid_from AS ValidFrom,
act.valid_from_earliest AS ValidFromEarliest,
act.valid_to AS ValidTo,
act.report_id AS ReportId,
act.submission_mode AS SubmissionMode,
act.activity_predecessor AS ActivityPredecessor,
act.can_be_reopened AS CanBeReopened,
act.application_id AS ApplicationId,
act.activity_group AS ActivityGroup,
cat.template_type AS TemplateType,
_continuousSubmission.attribute_value as ContinuousSubmissionActive AS extended_rep_cat_idasReportCategoryId,
_continuousSubmission.attribute_value AS ContinuousSubmissionActive
FROM srf_rep_cat AS cat
LEFT OUTER JOIN srf_rep_cat_aatr AS _continuousSubmission ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): srf_rep_cat
;
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