I_PurchaseOrderDeletionCode

DDL: I_PURCHASEORDERDELETIONCODE SQL: IMMPODELCODE Type: view BASIC

Purchase Order Deletion Code

I_PurchaseOrderDeletionCode is a Basic CDS View (Dimension) that provides data about "Purchase Order Deletion Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field PurchaseOrderDeletionCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PurchaseOrderDeletionCodeT _Text $projection.PurchaseOrderDeletionCode = _Text.PurchaseOrderDeletionCode

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IMMPODELCODE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey PurchaseOrderDeletionCode view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Purchase Order Deletion Code view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrderDeletionCode
_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 I_PurchaseOrderDeletionCode.
-- 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: IMMPODELCODE

CREATE VIEW I_PurchaseOrderDeletionCode AS
SELECT
  cast ( substring( domvalue_l, 1, 2 ) as mmpur_po_del_code ) AS PurchaseOrderDeletionCode
FROM dd07l
LEFT OUTER JOIN I_PurchaseOrderDeletionCodeT AS _Text ON PurchaseOrderDeletionCode = _Text.PurchaseOrderDeletionCode  -- association [0..*]
;