P_CrMaxHorizonGen

DDL: P_CRMAXHORIZONGEN SQL: PCRMAXHORGEN Type: view COMPOSITE

P_CrMaxHorizonGen is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CreditRuleCheckStep) and exposes 2 fields with key field CreditCheckRule.

Data Sources (1)

SourceAliasJoin Type
I_CreditRuleCheckStep I_CreditRuleCheckStep from

Annotations (7)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PCRMAXHORGEN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CreditCheckRule CreditCheckRule Check Rule
MaxHorizonDays

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_CrMaxHorizonGen.
-- 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: PCRMAXHORGEN

CREATE VIEW P_CrMaxHorizonGen AS
SELECT
  CreditCheckRule,
  max( CreditHorizonDays ) AS MaxHorizonDays
FROM I_CreditRuleCheckStep
;