P_ARunDmndGrpRuleARunRule

DDL: P_ARUNDMNDGRPRULEARUNRULE SQL: PARNRULEGRPRULE Type: view COMPOSITE

P_ARunDmndGrpRuleARunRule is a Composite CDS View in SAP S/4HANA.

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PARNRULEGRPRULE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ARunRuleUUID ARunRuleUUID ARun Rule UUID
ARunDemandGroupRuleUUID ARunDemandGroupRuleUUID ARun Group Rule UUID
char1endasARunIsRuleUsed

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_ARunDmndGrpRuleARunRule.
-- 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: PARNRULEGRPRULE

CREATE VIEW P_ARunDmndGrpRuleARunRule AS
SELECT
  ARunRuleUUID,
  ARunDemandGroupRuleUUID,
  case when ARunDemandGroupRuleUUID = hextobin( '00000000000000000000000000000000' ) or ARunDemandGroupRuleUUID is null then cast( ' ' as abap.char(1) ) else cast( 'X' as abap.char(1) ) end as ARunIsRuleUsed AS char1endasARunIsRuleUsed
;