I_StRpPhaseDef

DDL: I_STRPPHASEDEF SQL: ISREPHASEDEF Type: view BASIC Package: GLO_GEN_SRF_AUTHORING

Report Category Phase

I_StRpPhaseDef is a Basic CDS View that provides data about "Report Category Phase" in SAP S/4HANA. It reads from 1 data source (srf_rep_cat_pha) and exposes 6 fields with key fields StatryRptCategory, StatryRptCatVersion, StatryRptCatPhase, StatryRptCatPhaseValidFromDate. It has 1 association to related views. Part of development package GLO_GEN_SRF_AUTHORING.

Data Sources (1)

SourceAliasJoin Type
srf_rep_cat_pha srf_rep_cat_pha from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_StRpPhaseDefText _Text $projection.StatryRptCategory = _Text.StatryRptCategory and $projection.StatryRptCatVersion = _Text.StatryRptCatVersion and $projection.StatryRptCatPhase = _Text.StatryRptCatPhase

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISREPHASEDEF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Report Category Phase view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #META view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY StatryRptCategory srf_rep_cat_pha rep_cat_id Report ID
KEY StatryRptCatVersion srf_rep_cat_pha rep_cat_version Category Version
KEY StatryRptCatPhase activity_phase Phase
KEY StatryRptCatPhaseValidFromDate valid_from Validity Start Time
StatryRptCatPhaseOccurrence phase_occurrence Phase Occurrence
_Text _Text

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 I_StRpPhaseDef.
-- 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: ISREPHASEDEF

CREATE VIEW I_StRpPhaseDef AS
SELECT
  srf_rep_cat_pha.rep_cat_id AS StatryRptCategory,
  srf_rep_cat_pha.rep_cat_version AS StatryRptCatVersion,
  activity_phase AS StatryRptCatPhase,
  valid_from AS StatryRptCatPhaseValidFromDate,
  phase_occurrence AS StatryRptCatPhaseOccurrence
FROM srf_rep_cat_pha
LEFT OUTER JOIN I_StRpPhaseDefText AS _Text ON StatryRptCategory = _Text.StatryRptCategory AND StatryRptCatVersion = _Text.StatryRptCatVersion AND StatryRptCatPhase = _Text.StatryRptCatPhase  -- association [0..*]
;