P_Procmttype

DDL: P_PROCMTTYPE SQL: P_PROCMTYPE_VH Type: view BASIC

P_Procmttype is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ProcurementType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_Procmttypetext _Text $projection.ProcurementType = _Text.Value

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName P_PROCMTYPE_VH view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ProcurementType view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProcurementType
_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_Procmttype.
-- 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: P_PROCMTYPE_VH

CREATE VIEW P_Procmttype AS
SELECT
  cast(dd07l.domvalue_l as procurementtype) AS ProcurementType
FROM dd07l
LEFT OUTER JOIN P_Procmttypetext AS _Text ON ProcurementType = _Text.Value  -- association [0..*]
;