P_PurContrVersionType

DDL: P_PURCONTRVERSIONTYPE SQL: PPURCTRVERSTYPE Type: view BASIC

Purchase Contract Version Type

P_PurContrVersionType is a Basic CDS View that provides data about "Purchase Contract Version Type" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key field PurgDocChangeRequestStatus. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPURCTRVERSTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ObjectModel.representativeKey PurgDocChangeRequestStatus view
EndUserText.label Purchase Contract Version Type view
ObjectModel.resultSet.sizeCategory #XS view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurgDocChangeRequestStatus Lower Value
Language ddlanguage Lang.
ChangeRequestNote ddtext Version Type
_Language _Language

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_PurContrVersionType.
-- 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: PPURCTRVERSTYPE

CREATE VIEW P_PurContrVersionType AS
SELECT
  cast( domvalue_l as cr_stat ) AS PurgDocChangeRequestStatus,
  ddlanguage AS Language,
  ddtext AS ChangeRequestNote
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;