I_ChgMgmtReqPurpose

DDL: I_CHGMGMTREQPURPOSE Type: view_entity BASIC Package: MOC_VDM

Change Management Request Purpose

I_ChgMgmtReqPurpose is a Basic CDS View that provides data about "Change Management Request Purpose" in SAP S/4HANA. It reads from 1 data source (/moc/d_i_purp) and exposes 4 fields with key field ChgMgmtReqPurposeUUID. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3406). Part of development package MOC_VDM.

Data Sources (1)

SourceAliasJoin Type
/moc/d_i_purp /moc/d_i_purp from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ChgMgmtRequest _ChgMgmtRequest $projection.ChgMgmtReqUUID = _ChgMgmtRequest.ChgMgmtReqUUID

Annotations (9)

NameValueLevelField
EndUserText.label Change Management Request Purpose view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey ChgMgmtReqPurposeUUID view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3406 ASQL_F3406 C2 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ChgMgmtReqPurposeUUID db_key UUID
ChgMgmtReqUUID parent_key UUID
PurposeOfUse Purpose
_ChgMgmtRequest _ChgMgmtRequest

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_ChgMgmtReqPurpose.
-- 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 I_ChgMgmtReqPurpose AS
SELECT
  db_key AS ChgMgmtReqPurposeUUID,
  parent_key AS ChgMgmtReqUUID,
  cast( purpose_code as ehfnd_purpose_code_nc preserving type ) AS PurposeOfUse
FROM /moc/d_i_purp
LEFT OUTER JOIN I_ChgMgmtRequest AS _ChgMgmtRequest ON ChgMgmtReqUUID = _ChgMgmtRequest.ChgMgmtReqUUID  -- association [1..1]
;