I_PurgDocVersionReasonValHelp

DDL: I_PURGDOCVERSIONREASONVALHELP SQL: IPURDOCVERRSNVH Type: view BASIC

Value help for Version Reason

I_PurgDocVersionReasonValHelp is a Basic CDS View that provides data about "Value help for Version Reason" in SAP S/4HANA. It reads from 1 data source (mmpur_vers_crsnc) and exposes 2 fields with key field PurchasingDocVersionReasonCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_vers_crsnc ReasonCode from

Associations (1)

CardinalityTargetAliasCondition
[0..1] mmpur_vers_crsnt _ReasonText $projection.PurchasingDocVersionReasonCode = _ReasonText.rsncode

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPURDOCVERRSNVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Value help for Version Reason view
ObjectModel.representativeKey PurchasingDocVersionReasonCode view
ObjectModel.sapObjectNodeType.name PurchasingDocVersionReasonCode view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocVersionReasonCode mmpur_vers_crsnc rsncode Reason Code
PurchasingDocVersionReasonText

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_PurgDocVersionReasonValHelp.
-- 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: IPURDOCVERRSNVH

CREATE VIEW I_PurgDocVersionReasonValHelp AS
SELECT
  ReasonCode.rsncode AS PurchasingDocVersionReasonCode,
  _ReasonText[1: spras = $session.system_language].rsntxt AS PurchasingDocVersionReasonText
FROM mmpur_vers_crsnc AS ReasonCode
LEFT OUTER JOIN mmpur_vers_crsnt AS _ReasonText ON PurchasingDocVersionReasonCode = _ReasonText.rsncode  -- association [0..1]
;