P_ProdnProcgIsFlexible

DDL: P_PRODNPROCGISFLEXIBLE Type: view_entity COMPOSITE Package: ODATA_MPE_MFGORDER

Private View for Flexible Flag

P_ProdnProcgIsFlexible is a Composite CDS View that provides data about "Private View for Flexible Flag" in SAP S/4HANA. It reads from 1 data source (I_ManufacturingOrder) and exposes 3 fields with key field MfgOrderInternalID. It has 1 association to related views. Part of development package ODATA_MPE_MFGORDER.

Data Sources (1)

SourceAliasJoin Type
I_ManufacturingOrder I_ManufacturingOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ProdnProcgFlexibilityIndTxt _ProdnProcgFlexibilityIndTxt $projection.ProdnProcgIsFlexible = _ProdnProcgFlexibilityIndTxt.ProdnProcgIsFlexible and _ProdnProcgFlexibilityIndTxt.Language=$session.system_language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Private View for Flexible Flag view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderInternalID MfgOrderInternalID
ProdnProcgIsFlexible
_ProdnProcgFlexibilityIndTxt _ProdnProcgFlexibilityIndTxt

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_ProdnProcgIsFlexible.
-- 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.

CREATE VIEW P_ProdnProcgIsFlexible AS
SELECT
  MfgOrderInternalID,
  cast(ProdnProcgIsFlexible as mpe_procg_flexibility_ind preserving type) AS ProdnProcgIsFlexible
FROM I_ManufacturingOrder
LEFT OUTER JOIN I_ProdnProcgFlexibilityIndTxt AS _ProdnProcgFlexibilityIndTxt ON ProdnProcgIsFlexible = _ProdnProcgFlexibilityIndTxt.ProdnProcgIsFlexible AND _ProdnProcgFlexibilityIndTxt.Language=$session.system_language  -- association [0..1]
;