P_Expirationdate

DDL: P_EXPIRATIONDATE SQL: P_EXPDATE_VH Type: view BASIC

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

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_ExpirationdateText _Text $projection.value = _Text.Value

Annotations (5)

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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY value
_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_Expirationdate.
-- 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_EXPDATE_VH

CREATE VIEW P_Expirationdate AS
SELECT
  cast(dd07l.domvalue_l as expirationdate) AS value
FROM dd07l
LEFT OUTER JOIN P_ExpirationdateText AS _Text ON value = _Text.Value  -- association [0..*]
;