I_ProductionHoldStatus

DDL: I_PRODUCTIONHOLDSTATUS SQL: IMPEPRODNHLDSTS Type: view BASIC

Production Hold Status

I_ProductionHoldStatus is a Basic CDS View that provides data about "Production Hold Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ProductionHoldStatus. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l typ from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProductionHoldStatusText _Text $projection.ProductionHoldStatus = _Text.ProductionHoldStatus

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMPEPRODNHLDSTS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ProductionHoldStatus view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #BASIC view
EndUserText.label Production Hold Status view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProductionHoldStatus
_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_ProductionHoldStatus.
-- 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: IMPEPRODNHLDSTS

CREATE VIEW I_ProductionHoldStatus AS
SELECT
  cast( cast(substring(typ.domvalue_l, 1, 1) as abap.char(1) ) as mpe_hold_status) AS ProductionHoldStatus
FROM dd07l AS typ
LEFT OUTER JOIN I_ProductionHoldStatusText AS _Text ON ProductionHoldStatus = _Text.ProductionHoldStatus  -- association [0..*]
;