P_HP_UT_State

DDL: P_HP_UT_STATE SQL: PHPUTSTATE Type: view BASIC Package: HP_DATA

State (for Unit Tests only)

P_HP_UT_State is a Basic CDS View that provides data about "State (for Unit Tests only)" in SAP S/4HANA. It reads from 1 data source (hpnode) and exposes 3 fields with key field State. It has 1 association to related views. Part of development package HP_DATA.

Data Sources (1)

SourceAliasJoin Type
hpnode hpnode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_HP_UT_StateText _Text $projection.State = _Text.State

Annotations (6)

NameValueLevelField
VDM.viewType #BASIC view
VDM.private true view
AbapCatalog.sqlViewName PHPUTSTATE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY State node_id Workflow Step
AuthorizationGroup auth_group AuthorizGroup
_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 P_HP_UT_State.
-- 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: PHPUTSTATE

CREATE VIEW P_HP_UT_State AS
SELECT
  node_id AS State,
  auth_group AS AuthorizationGroup
FROM hpnode
LEFT OUTER JOIN P_HP_UT_StateText AS _Text ON State = _Text.State  -- association [0..*]
;